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