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

About encoding, codec settings, muxers and filter usage
plalonde
New Cone
New Cone
Posts: 6
Joined: 11 Apr 2011 20:22

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

Postby plalonde » 11 Apr 2011 20:35

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

Greg
Cone that earned his stripes
Cone that earned his stripes
Posts: 316
Joined: 24 Feb 2009 00:37

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

Postby Greg » 12 Apr 2011 00:04

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?

plalonde
New Cone
New Cone
Posts: 6
Joined: 11 Apr 2011 20:22

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

Postby plalonde » 12 Apr 2011 01:09

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests