capture, transcode to H.264 and live stream

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.
ramprasad85
Blank Cone
Blank Cone
Posts: 22
Joined: 30 Sep 2008 12:34

capture, transcode to H.264 and live stream

Postby ramprasad85 » 15 Oct 2008 14:56

Hi all
I need to capture from a video card and stream it live over LAN using H.264. i am on windows. I am able to do it using vlc.
i came to know that vlc is using ffmpeg, live555 and x264 to do this internally.
i wish i can use them directly in my application.
i have ffmpeg.exe x264.exe and live555MediaServer.exe.
please brief me about how VLC is actually capturing, transcoding to h.264 and streaming it live.
I am very eagerly awaiting reply to this topic
thank you

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

Re: capture, transcode to H.264 and live stream

Postby VLC_help » 16 Oct 2008 16:20

So you want start streaming VLC from command-line?

ramprasad85
Blank Cone
Blank Cone
Posts: 22
Joined: 30 Sep 2008 12:34

Re: capture, transcode to H.264 and live stream

Postby ramprasad85 » 21 Oct 2008 11:41

yeah,
the ultimeate aim is to use my (modified x264) codec instead of the built in H.264
Thank you

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

Re: capture, transcode to H.264 and live stream

Postby VLC_help » 21 Oct 2008 15:15

You have to build new encoding plugin or modify existing ones if you want to add new encoder to VLC. There isn't any support for external executables in VLC.

ramprasad85
Blank Cone
Blank Cone
Posts: 22
Joined: 30 Sep 2008 12:34

Re: capture, transcode to H.264 and live stream

Postby ramprasad85 » 21 Oct 2008 15:51

i have modified the open source x264, to serve my needs (basically a filter in the preprocessing phase).
I wish to use that to encoding and stream. i need VLC to handle the capturing and streaming part.
compiling the whole VLC on windows (Cygwin) turned out to be a herculean task. so i am thinking of just using the components i am interested.
Please help me understand the components of VLC that captures and streams H.264..
Thank you very much

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

Re: capture, transcode to H.264 and live stream

Postby VLC_help » 22 Oct 2008 13:48

You have to compile the new dll if you want to use it in VLC. So you have to get Cygwin running to make new libx264_plugin.dll and you also have to modify and build new x264 (libx264.a and related stuff).

ramprasad85
Blank Cone
Blank Cone
Posts: 22
Joined: 30 Sep 2008 12:34

Re: capture, transcode to H.264 and live stream

Postby ramprasad85 » 23 Oct 2008 08:03

Hi
i have modified x264-snapshot-20080101-2245
i was able to compile it and genereate libx264.a and x264.exe
how do i generate libx264_plugin.dll
is enough to replace the existing libx264_plugin.dll with the genereted dll
Thank you

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

Re: capture, transcode to H.264 and live stream

Postby VLC_help » 23 Oct 2008 16:37

http://wiki.videolan.org/Win32CompileCygwinNew
has compile guide (no need to build whole VLC, just modules/codec). You can build and use the DLL in different VLC if it is built for same version number (so VLC 0.9.x plugins for 0.9.x VLC).


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 44 guests