Video streaming on low bandwidth optimization

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
manunc
Blank Cone
Blank Cone
Posts: 34
Joined: 06 Dec 2009 06:10

Video streaming on low bandwidth optimization

Postby manunc » 12 Jan 2010 13:03

I was able to compile the last version of VLC 1.0.4 under Fedora Core 9 with x264 and live555 libraries (and others).

I am now able to stream a movie over internet using RTSP (and read it with a VLC client on my computer) but I don't succeed to stream under 50 kbit/sec.
I have tested many different parameters like reducing fps, audio bitrate, video bitrate, size of the movie without success, I got always this speed.

The flow I am sending is always stream at a bandwidth higher than 50 kbit/sec.
I would like to reduce it to reach 30 kbit/sec even 20-25.

As anyone of you any idea to tune my VLC command, or any other tips to achieve this?
Maybe I hae to use another codec? container? stream protocol method?

I think MPEG-TS encapsulation is maybe the reason why I can not go under this bandwidth.
Do you know if we can use another muxer for h264, mp4a codecs and RTSP our unicast UDP protocol on VLC ?

I am using this command:

# cvlc media/video-1.flv --sout='#transcode{fps=8,vcodec=h264,vb=8,width=20,height=15,acodec=mp4a,ab=2}:rtp{mux=ts,ttl=10,name="Video",description="Video",port=1234,sdp=rtsp://192.168.1.2:3130/str/test.sdp}'

If I make a test where I try to stream only audio, I reach the same bandwidth of 50 kbit/sec, that makes me thinking that RTSP protocol may not go under this bandwidth?

The aim is to read movies from GPRS handset.

Youtube for example use RTSP and 3GP container and I am able to play youtube movies from my mobile using GPRS connection although movies are located far from where I live (south pacific).
I can not play my own movies from a local server (on internet) using this config although it works with tests done in LAN (player on the mobile is coreplayer).

So what is the difference between youtube solution and this?

Best regards,

Emmanuel

Rémi Denis-Courmont
Developer
Developer
Posts: 15328
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Video streaming on low bandwidth optimization

Postby Rémi Denis-Courmont » 12 Jan 2010 17:23

MPEG-TS has a rather high overhead. But it's probably also a codec issue and/or too high video quality.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

manunc
Blank Cone
Blank Cone
Posts: 34
Joined: 06 Dec 2009 06:10

Re: Video streaming on low bandwidth optimization

Postby manunc » 13 Jan 2010 11:40

Thanks Rémy for your reply,

I also think that MPEG-TS is the reason of this but unfortunately VLC only allow MPEG-TS when using UDP or RTSP.

Can you develop when you said it can be a too high quality or codec issue ?
Do you mean I shouldn't use h264 for low bandwidth? On the contrary, because H264 is the best codec I have chosen it in order to reduce the video bitrate and keep a good quality...
Any other idea?
BR

Rémi Denis-Courmont
Developer
Developer
Posts: 15328
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Video streaming on low bandwidth optimization

Postby Rémi Denis-Courmont » 13 Jan 2010 16:38

h264 may be one of the best codec to this day, it's still shows better quality with higher bandwidth.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

manunc
Blank Cone
Blank Cone
Posts: 34
Joined: 06 Dec 2009 06:10

Re: Video streaming on low bandwidth optimization

Postby manunc » 14 Jan 2010 07:47

So what do you advise to use in low bandwidth case?
Do you think I should choose another muxer as well i.e not use VLC in this case because VLC can only offer MPEG-TS when using UDP or RTSP?

manunc
Blank Cone
Blank Cone
Posts: 34
Joined: 06 Dec 2009 06:10

Re: Video streaming on low bandwidth optimization

Postby manunc » 16 Jan 2010 00:23

No any others ideas ?

:?

EZboy
New Cone
New Cone
Posts: 3
Joined: 03 Feb 2010 05:15

Re: Video streaming on low bandwidth optimization

Postby EZboy » 03 Feb 2010 05:22

It looks like a codec limitation, i dont think it was designed to support such low bandwidth. Why do you need to go so low anyways?

Also, i am trying to compile vlc with x264 for fedora core 10, but no luck yet. Can you provide any instructions you used or some type of howto? Any help would be greatly appreciated.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests