Page 1 of 1

transcode MJPEG to FLV?

Posted: 10 Mar 2009 16:33
by lamacq
Hi everybody,

I've got a webcam that "streams" mjpeg over http, and I'd like t use VLC to transcode/stream this to FLV so I can embed the FLV on a web page. I am using VLC 0.9.8 (which I believe is the latest version) on Mac OS 10.5.6. I can open the mjpeg stream and watch it in VLC so I know that it is able to read the stream; the problem I have is in figuring out the right arguments to pass to VLC on the command line to get it to transcode to FLV. I don't see any sort of libflv1_plugin.dylib or anything like that in the modules directory, so I'm not sure if I even have the capability to transcode to FLV? Do I need to build it from source or something?

In any case, here is the command line I used:

Code: Select all

./VLC --sout "#transcode{vcodec=FLV1,scale=1,vb=400}:standard{mux=ps,dst=,access=http}:sout-transcode-soverlay=0" http://mywebcam/mjpeg.cgi -vvv --color -I dummy
Where obviously "mywebcam" is the URL of my webcam, which works fine if I go to it directly in the VLC player. Anyway here is the error I get (amid a whole bunch of debug info):
[00000710] main input error: open of `#transcode{vcodec=FLV1,scale=1,vb=400}:standard{mux=ps,dst=,access=http}:sout-transcode-soverlay=0' failed: could not create access: no suitable access module

What am I doing wrong? I also tried going through the wizard and there was no FLV option.

Thanks!!

Matthew