Page 1 of 1
capture, transcode to H.264 and live stream
Posted: 15 Oct 2008 14:56
by ramprasad85
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
Re: capture, transcode to H.264 and live stream
Posted: 16 Oct 2008 16:20
by VLC_help
So you want start streaming VLC from command-line?
Re: capture, transcode to H.264 and live stream
Posted: 21 Oct 2008 11:41
by ramprasad85
yeah,
the ultimeate aim is to use my (modified x264) codec instead of the built in H.264
Thank you
Re: capture, transcode to H.264 and live stream
Posted: 21 Oct 2008 15:15
by VLC_help
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.
Re: capture, transcode to H.264 and live stream
Posted: 21 Oct 2008 15:51
by ramprasad85
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
Re: capture, transcode to H.264 and live stream
Posted: 22 Oct 2008 13:48
by VLC_help
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).
Re: capture, transcode to H.264 and live stream
Posted: 23 Oct 2008 08:03
by ramprasad85
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
Re: capture, transcode to H.264 and live stream
Posted: 23 Oct 2008 16:37
by VLC_help
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).