It is possible.
Look at the image video output module
Hi,
I am encoding from a tuner card into 2 mms streams. I have this working (high and low bandwidth)
I can also capture frames from a tuner card (say, 1 frame per second) - but if I want to do all of this in one command line I am completely losing it. I can't figure out the syntax.
Here is what I am using to get the 2 mms streams:
vlc --no-osd pvr:/dev/video0:norm=ntsc:size=640x480:frequency=18725000:bitrate=3000000:maxbitrate=4000000 --cr-average 1000 --sout '#duplicate{dst="transcode{vcodec=WMV2,vb=384,scale=1,acodec=mp3,ab=32,channels=2}:standard{access=mmsh,mux=asfh,url=:8182}",dst="transcode{vcodec=WMV2,vb=128,scale=.5,acodec=mp3,ab=16,channels=2}:standard{access=mmsh,mux=asfh,url=:8183}"}'
I tried this monster to serve up the images as a temporary solution but it seems to crash out fairly regularly:
vlc --no-osd mmsh://10.1.1.193:8182 --sout-transcode-fps -V image --image-out-ratio 30 '#transcode{vcodec=mp4v,venc=ffmpeg{keyint=28,hurry-up},vb=128,scale=1,acodec=mpga,ab=8,channels=2}:std{access=file,mux=ts,url=/dev/null}'
So how can I combine these into one solid vlc command ? Am I right that I have to use ffmpeg to encode the image stream ? I don't know how much extra overhead I'm creating as well.
Thanks.