Freezing On Internet Stream From Ubuntu

About encoding, codec settings, muxers and filter usage
algorhythm
New Cone
New Cone
Posts: 1
Joined: 15 Apr 2012 17:40

Freezing On Internet Stream From Ubuntu

Postby algorhythm » 15 Apr 2012 17:55

Hi everyone,

I have been trying to stream over the Internet from my home server Ubuntu Server 10.04 (Lucid). I use http streaming through port 8080 and I have tried a few codec combinations with no luck. When I use H.264 + AAC (TS), I have great picture quality but it freezes every 10 seconds. If I use something else, like MPEG-2 + MPGA (TS) or WMV + WMA (ASF), it is watchable, but the video is severely pixelated. Yesterday, I was able to stream "H.264 + AAC (TS)" with a little bit of freezing at first but after that it was just fine. I did a speed test of both internet connections, on the server-side it is 1.46 Mb/s for upload and on the client side it is 16.04 Mb/s for download.

Does anyone know anything that I can change so I can get the videos to stream a least decent quality without lots of freezing?

Also, I did try to change the buffer for the http in preferences on the server to 0 and 10000 at different times, but no luck. :(

Thanks

jahanzeb
Blank Cone
Blank Cone
Posts: 12
Joined: 16 Sep 2010 09:08
VLC version: 2.0.1
Operating System: Linux

Re: Freezing On Internet Stream From Ubuntu

Postby jahanzeb » 16 Apr 2012 09:46

Try the following. This will give you acceptable quality with a bitrate of around 500-700Kbps. Also try to playback on your local system as to make sure that your system is performing proper transcoding.

Code: Select all

cvlc INPUT --sout='#transcode{venc=x264{keyint=30,profile=baseline},vcodec=x264,width=512,height=384,vb=500,acodec=mp4a,ab=64,channels=1}:std{access=http,mux=ts,dst=0.0.0.0:8080}'


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests