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