Page 1 of 1

Command-line v4l2->sout behaviour differs from GUI?

Posted: 11 Apr 2011 20:35
by plalonde
When streaming my v42l:// to sout with -sout command line, I get only my first frame of video on my display; it "samples" a new frame if I move the video slider.

In the GUI I set it up, and get this string, and it works - I can connect remotely, and see my local display: :sout=#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=rtp{sdp=rtsp://:5544/},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep

I then toss it onto my command-line, like so:
vlc v4l2:// --sout '#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=rtp{sdp=rtsp://:5544/},dst=display}' :no-sout-rtp-sap :no-sout-standard-sap :sout-keep

This fails. I see the first frame on my display, and if I click on the slider, it updates once per click (and spills an expected INPUT_CONTROL_SET_POSITION(_OFFSET) failed message).

Edit: Ubuntu 10.10; VLC 1.1.4-1ubuntu1.4

Any idea what's hooped?

Thanks,
Paul

Re: Command-line v4l2->sout behaviour differs from GUI?

Posted: 12 Apr 2011 00:04
by Greg
The input section looks incomplete, perhaps

Code: Select all

vlc v4l2:// :input-slave=alsa:// :v4l2-standard=0
The --sout outputs you posted, don't compare, but i guess may be a posting text error?

Re: Command-line v4l2->sout behaviour differs from GUI?

Posted: 12 Apr 2011 01:09
by plalonde
I updated to 1.1.8 and the command line now does the right thing.
It appears my audio works correctly now, as well, with that extra input stuff.

Thanks,
Paul