x264 build with VLC on windows for streaming

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
rishe
New Cone
New Cone
Posts: 6
Joined: 08 Mar 2010 18:01

x264 build with VLC on windows for streaming

Postby rishe » 04 Apr 2010 11:47

hi everyone,

I compile x264 source using
./configure --prefix=/usr/compiled --enable-shared --enable-pic
make
make install

It created libx264.a, libx264.dll, libx264-76.dll, x264.exe -> pasted them in /usr/win32/ bin, include and lib

Compiled VLC 1.0.5. Tried Streaming http but gives an error:
It seems your FFMPEG (libavcodec) installation lacks the following encoder:
H264/MPEG AVC PART 10

but i do have x264 encoder in vlc source code. What is wrong? how to correctly build x264 with vlc?

please help.. thanks..

rishe

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: x264 build with VLC on windows for streaming

Postby VLC_help » 04 Apr 2010 14:16

What encoding option you used? You have libx264_plugin.dll in plugins folder?

rishe
New Cone
New Cone
Posts: 6
Joined: 08 Mar 2010 18:01

Re: x264 build with VLC on windows for streaming

Postby rishe » 05 Apr 2010 01:52

when you say encoding option do you mean this one? -> :sout=#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=169.254:88:52:1024}

And yes i do have libx264_plugin.dll on vlc 1.0.5\plugins.

Actually before I only used vlc source code and contrib and it works fine in streaming. But when i compiled x264 snapshot to contrib, then compile vlc again, the video encoder doesnt work, but audio streams fine.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: x264 build with VLC on windows for streaming

Postby VLC_help » 05 Apr 2010 17:28

It is just that
It seems your FFMPEG (libavcodec) installation lacks the following encoder:
H264/MPEG AVC PART 10
means that VLC cannot find the encoder (and VLC shouldn't try libavcodecs one).

If you use

Code: Select all

:sout=#transcode{vcodec=h264,venc=x264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=169.254:88:52:1024}
does it work any better?

rishe
New Cone
New Cone
Posts: 6
Joined: 08 Mar 2010 18:01

Re: x264 build with VLC on windows for streaming

Postby rishe » 05 Apr 2010 18:07

i changed on how i compiled the x264 snapshot. compiled x264 on its own folder with options

Code: Select all

./configure --prefix=/usr/win32/x264 --enable-shared --enable-pic make make install then added to configure --with-x264-tree=usr/win32/x264 then compiled vlc
though no error was found when i run vlc but i think the x264 encoder used was not that of the snapshot.
I did it also using it as you suggested w/ venc=x264.
Still it uses the x264 encoder of vlc. Is there a way to call the x264 snapshot? edit any makefile?

By the way thank you for all the replies :D


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Rubén and 58 guests