x264 streaming problem with VLC 1.1.5
Posted: 19 Nov 2010 20:57
Running VLC 1.1.5 on Ubuntu 10.04 LTS on a Core2 Duo 6400 2.13Ghz machine with 2GB RAM and a 160GB HD.
I am attempting to setup a streaming server to distribute cable TV signals,captured with a PVR-150, over the local LAN via RTP multicast. My initial attempts with VLC 1.0.6 and 1.1.2 were very successful except for an intermittent crash due to an outdated x264 packaged with Ubuntu 10.04. Here is the command:
Verbosity 2 log on 1.1.2: http://pastebin.com/hq6mter7
I did some research and found that the error I was experiencing was due to a know bug with the upstream x264 implementation. I enabled the lucid-bleed ppa and upgraded to 1.1.5 to address the problem. I am now unable to get any output to the stream using x264 and there aren't any errors pointing to the culprit. I am sure it's something to do with x264 because changing my vcodec to div3 works like a champ. I will eventually want to scale to 4 streams and based on feedback, h264 is the way to go.
Verbosity 2 log on 1.1.5: http://pastebin.com/J7NxCes8
I have tried enabling rtp caching to clear the main mux warning: late buffer for mux input errors but don't think this is the problem since they were the same in vlc 1.1.2 and the stream looked great. I also joined the videolan channel on IRC and it was suggested I try to tune the x264 encoder settings
I am attempting to setup a streaming server to distribute cable TV signals,captured with a PVR-150, over the local LAN via RTP multicast. My initial attempts with VLC 1.0.6 and 1.1.2 were very successful except for an intermittent crash due to an outdated x264 packaged with Ubuntu 10.04. Here is the command:
Code: Select all
cvlc pvr:// :pvr-device=/dev/video0 :pvr-channel=2 --sout '#transcode{vcodec=h264,vb=768,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100,deinterlace}:rtp{dst=239.192.0.1,port=5004,mux=ts,sdp=sap://,name="DCHS Channel 1"}' -vv
I did some research and found that the error I was experiencing was due to a know bug with the upstream x264 implementation. I enabled the lucid-bleed ppa and upgraded to 1.1.5 to address the problem. I am now unable to get any output to the stream using x264 and there aren't any errors pointing to the culprit. I am sure it's something to do with x264 because changing my vcodec to div3 works like a champ. I will eventually want to scale to 4 streams and based on feedback, h264 is the way to go.
Verbosity 2 log on 1.1.5: http://pastebin.com/J7NxCes8
I have tried enabling rtp caching to clear the main mux warning: late buffer for mux input errors but don't think this is the problem since they were the same in vlc 1.1.2 and the stream looked great. I also joined the videolan channel on IRC and it was suggested I try to tune the x264 encoder settings
I attempted that today with no better result. The odd thing is that when I ctrl-c the server to cancel the stream, I get about 5 seconds of audio on the client and then it stops, I never see the video. I am using my own test lab setup and don't see much activity on the LAN port when using 1.1.5 but was seeing about 1MB stream when using 1.1.2.[16:23] <ILEoo> or just set transcode{venc=x264{subme=3}...} for starters