Vlc transcode to h264

About encoding, codec settings, muxers and filter usage
lockev3.0
Blank Cone
Blank Cone
Posts: 18
Joined: 04 Jan 2010 15:43

Vlc transcode to h264

Postby lockev3.0 » 08 Jan 2010 13:25

Hello, i've been nearly a week trying to transcode whatever (webcam or video file) to h264 and still stucked, do not know why...
My system is a debian testing with next features:

1 .- vlc (took from unstable)

Code: Select all

vlc -l | grep -i h264 VLC media player 1.0.4 Goldeneye packetizer_h264 Empaquetador de vídeo H.264 h264 Demuxor de vídeo H264
2.- 264 libs

Code: Select all

dpkg -l | grep 264 ii h264enc 9.1.1-0.0 ii libx264-79 1:0.svn20091125-0.1 x264 video coding library ii libx264-dev 1:0.svn20091125-0.1 development files for libx264 ii x264
3.- The sout i use to transcode to h264 is:

Code: Select all

--sout='#transcode{venc=h264{keyint=30},vb=800,scale=1,acodec=none}:rtp{dst=127.0.0.1,port=1666,mux=ts,sap,name="webcam-stream",sdp=file:///usr/local/movies/mycam.dsp}'
If I use mpeg4 (mp4v) it all goes fine, but whenever i use h264 or x264 vlc crashes saying "cannot open encoder ....."

Code: Select all

[0x17a4c28] main encoder error: no encoder module matched "h264" [0x16c8778] stream_out_transcode stream out error: cannot find video encoder (module:h264 fourcc: ) [0x16c8778] stream_out_transcode stream out error: cannot create video chain [0x16d7d98] main packetizer error: cannot create packetizer output (I420)
A bit desperate at eht moment.
Thanks in advance.

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Vlc transcode to h264

Postby Rémi Denis-Courmont » 09 Jan 2010 11:42

As you can see, your VLC build has h264 packetization and depacketization, but no encoder (the VLC x264 plugin).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

lockev3.0
Blank Cone
Blank Cone
Posts: 18
Joined: 04 Jan 2010 15:43

Re: Vlc transcode to h264

Postby lockev3.0 » 11 Jan 2010 10:17

I see just demux and packetizer h264 at GUI tools->plugins. So how can i add plugins to vlc ? is it building from sources actually the only way ?

My version is 1.0.4 taken from debian unstable.

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Vlc transcode to h264

Postby Rémi Denis-Courmont » 11 Jan 2010 17:28

I guess your only option is recompilation. It's clear Debian won't include x264 for the foreseeable future.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

erotavlas_turbo
Blank Cone
Blank Cone
Posts: 75
Joined: 26 Nov 2009 10:52

Re: Vlc transcode to h264

Postby erotavlas_turbo » 01 Feb 2010 14:53

Hi,

Have you solved the problem of h264 transcoding?

Thank

I have found the solution viewtopic.php?f=13&t=71221&p=236637#p236637

lockev3.0
Blank Cone
Blank Cone
Posts: 18
Joined: 04 Jan 2010 15:43

Re: Vlc transcode to h264

Postby lockev3.0 » 05 Feb 2010 10:33

Not yet, indeed, i am playing with alternative ffmpeg as this seems to work perfectly with h264.
I would like to use vlc as it is best flawlessly streamer I know but as long as i do not solve the h264 question I won't be able.
I tried compiling from latest and even nightly-builds repos but then I got lots of other errors and so i left awhile. :(

erotavlas_turbo
Blank Cone
Blank Cone
Posts: 75
Joined: 26 Nov 2009 10:52

Re: Vlc transcode to h264

Postby erotavlas_turbo » 05 Feb 2010 10:47

What version of linux are you using?
With Ubuntu you just type apt-get install vlc

vlc -l | grep h264

and

vcodec=h264 (h lowercase )

lockev3.0
Blank Cone
Blank Cone
Posts: 18
Joined: 04 Jan 2010 15:43

Re: Vlc transcode to h264

Postby lockev3.0 » 07 Feb 2010 13:56

Right. Indeed I started with 1.0.3, then moved to unstable repositories to get 1.0.4 and right now I am trying my last, building 1.0.5 from sources, which I expect works fine as configure went all right and compilation too. I'll tell u.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 22 guests