Having Problems with streaming/H264 RTP/UDP VLC-1.2.0
Posted: 02 Nov 2011 05:56
Hi, (MOD: I hope this is the correct forum, please move if it belongs in the Beta section)
I'm using a Decklink capture card for input, encoding with h264. I'm outputting an RTP multicast stream.
I'm running 64bit Linux and built 1.2.0-git Twoflower (revision a2e0062) with Decklink 8.6.0 (Have to use the vlc 1.2.x for Decklink support)
The machine is an Intel i7 930 @ 2.80GHz (8 cores) 3Gb Ram
I'm capturing 1080i/50 from the Decklink SDI (Both audio and video), outputting 3000 bitrate at 960x540/25fps via this commadline.
All seems to work well for some time even though I get a constant stream of this warning message
After several minutes (10-20) vlc continues to run but stops encoding/streaming for a while (again a random number of minutes) and then resumes without any intervention.
During encoding, load average is up around 1.00 but cpu usage is only around 30% overall.
It appears that encoding stops during the pauses (although all threads still appear to be running) and cpu usage drops to next to nothing.
I have a couple of pastebin logs here to show what is happening.
The first is starting vlc and the stream beginning normally here:
http://pastebin.com/MyhYpkxh
The second is during the period with no output and shows it recovering here:
http://pastebin.com/ETsusYzT
Please let me know if any further info would be helpful.
Thank you
I'm using a Decklink capture card for input, encoding with h264. I'm outputting an RTP multicast stream.
I'm running 64bit Linux and built 1.2.0-git Twoflower (revision a2e0062) with Decklink 8.6.0 (Have to use the vlc 1.2.x for Decklink support)
The machine is an Intel i7 930 @ 2.80GHz (8 cores) 3Gb Ram
I'm capturing 1080i/50 from the Decklink SDI (Both audio and video), outputting 3000 bitrate at 960x540/25fps via this commadline.
Code: Select all
cvlc decklink:// --decklink-card-index="0" --decklink-mode="Hi50" --decklink-video-connection="sdi" --decklink-aspect-ratio="16:9" --decklink-audio-channels=2 --clock-synchro=0 --sout '#transcode{vcodec=h264,vb=3000,fps=25,scale=1,width=960, height=540, acodec=a52,ab=128,channels=2,samplerate=44100}:rtp{mux=ts,dst=224.1.1.1,port=5004}' :no-sout-rtp-sap :no-sout-standard-sap :sout-all :ttl=1 :sout-keep --rt-priority -vvv
All seems to work well for some time even though I get a constant stream of this warning message
Code: Select all
[0x6f1c68] main mux warning: late buffer for mux input (1958129)
During encoding, load average is up around 1.00 but cpu usage is only around 30% overall.
It appears that encoding stops during the pauses (although all threads still appear to be running) and cpu usage drops to next to nothing.
I have a couple of pastebin logs here to show what is happening.
The first is starting vlc and the stream beginning normally here:
http://pastebin.com/MyhYpkxh
The second is during the period with no output and shows it recovering here:
http://pastebin.com/ETsusYzT
Please let me know if any further info would be helpful.
Thank you