commandline vs. GUI "creation of command line options"
Posted: 07 Dec 2010 08:45
While composing a command line stream via GUI, I get proper operation. However, when I try to make the equivalent directly as a command line, it gets stuck. An example: I select /dev/video0 as the input, and compose the appropriate output ensemble that looks exactly like this in the "generated stream output string":
This works fine.
Then I copy&paste this info into a command line as follows:
... it does not work:
I also tried copying other failing options, gathered from the -vvv verbose output:
I'd wish an option in vlc that shows the complete command line after having composed one via GUI... (I have spent hours to try to get it right, quite frustrating)
Code: Select all
:sout=#transcode{vcodec=h264,vb=500,fps=15,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:udp{dst=239.255.1.1:1234} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
Then I copy&paste this info into a command line as follows:
Code: Select all
vlc v4l2:///dev/video0 <copied from quote above>
- [0x8fb8824] main stream output error: stream chain failed for `transcodesamplerate=44100:udp{dst=239.255.1.1:1234}'
[0x8dc6bfc] main input error: cannot start stream output instance, aborting
I also tried copying other failing options, gathered from the -vvv verbose output:
The command line looks like this:[0x9f8252c] qt4 interface debug: MRL passed to the Sout: v4l2:///dev/video0
[0x9f8252c] qt4 interface debug: Adding option: input-slave=alsa://
[0x9f8252c] qt4 interface debug: Adding option: v4l2-standard=0
[0x9f8252c] qt4 interface debug: Adding option: file-caching=300
[0x9f8252c] qt4 interface debug: Adding option: :sout=#transcode{vcodec=h264,vb=500,fps=15,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:udp{dst=239.255.1.1:1234}
[0x9f8252c] qt4 interface debug: Adding option: no-sout-rtp-sap
[0x9f8252c] qt4 interface debug: Adding option: no-sout-standard-sap
[0x9f8252c] qt4 interface debug: Adding option: sout-keep
[0x9f83534] main playlist debug: adding item `Streaming' ( v4l2:///dev/video0 )
Code: Select all
cvlc v4l2:///dev/video0 :input-slave=alsa:// :v4l2-standard=0 :file-caching=300 :sout=#transcode{vcodec=h264,vb=500,fps=15,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:udp{dst=239.255.1.1:1234} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep