Re: [streaming] Video Streaming over GPRS

Emmanuel CHANSON <[email protected]> Sun, 10 Jan 2010 17:16:33 +1100
Newsgroups gmane.comp.video.videolan.vls.general
Message-ID <[email protected]>
--===============2388103176421751024==
Content-Type: multipart/alternative; boundary=001636e0ba2fca4a49047cc95c99

--001636e0ba2fca4a49047cc95c99
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I come again on this thread to explain my project.

I was able to compile the last version of VLC 1.0.4 under Fedora Core 9 wit=
h
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 am using this command:

*# cvlc media/video-1.flv
--sout=3D'#transcode{fps=3D8,vcodec=3Dh264,vb=3D8,width=3D20,height=3D15,ac=
odec=3Dmp4a,ab=3D2}:rtp{mux=3Dts,ttl=3D10,name=3D"Video",description=3D"Vid=
eo",port=3D1234,sdp=3Drtsp://
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 youtub=
e
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 one?

Best regards,

Emmanuel

2009/12/28 Emmanuel CHANSON <[email protected]>

> No handset support more than GPRS (3G of course) but here the network wil=
l
> upgrade in 3G in 2 years only...
>
> BR
>
> Emmanuel
>
> 2009/12/28 Mait Mandel <[email protected]>
>
> Hey,
>>
>> i have been using h263 + amr_nb with 50kbps (176x144 px, 10fps).
>> if you have a mobile handset that only supports GPRS, then i doubt it
>> supports any newer codecs either.
>>
>> Mait
>>
>> > -----Original Message-----
>> > From: [email protected] [mailto:streaming-
>> > [email protected]] On Behalf Of Marshall Eubanks
>> > Sent: Saturday, December 26, 2009 10:24 PM
>> > To: Emmanuel CHANSON
>> > Cc: [email protected]; matt
>> > Subject: Re: [streaming] Video Streaming over GPRS
>> >
>> > We (AmericaFree.TV) stream 3GPPx video at 96 and 160 Kbps using QTSS.
>> > This is MPEG-4 + AAC.
>> >
>> > The quality is pretty decent at 160 Kbps.
>> >
>> > Marshall
>> >
>> > On Dec 26, 2009, at 3:05 PM, Emmanuel CHANSON wrote:
>> >
>> > > Even h264 codec ?
>> > >
>> > > Emmanuel
>> > >
>> > > 2009/12/27 matt <[email protected]>
>> > > Emmanuel,
>> > >
>> > > You want video over a variable (20 - 50) kilo bit link ?
>> > >
>> > > That's as slow, or slower, than dial up.
>> > >
>> > > I may be wrong, but there is no codec that I am aware of that
>> > > provides any kind of quality over such a narrow link.
>> > >
>> > > Best Regards
>> > >
>> > > Matt
>> > >
>> > >
>> > > Emmanuel CHANSON wrote:
>> > > No ideas?
>> > >
>> > > Regards,
>> > >
>> > > Emmanuel
>> > >
>> > > 2009/12/20, Emmanuel CHANSON <[email protected]>:
>> > >
>> > > Hello,
>> > >
>> > > I would like to ask you about the possibility to stream video over
>> > > GPRS.
>> > > I made some test and the bandwidth I have can reach 50 kbit/sec,
>> > > let's say
>> > > 20 kbit/sec (average).
>> > >
>> > > Do you know if it is possible to stream video encoded with VLC using
>> > > this
>> > > bandwidth (GPRS connection on mobile)?
>> > >
>> > > If yes what do you advise to use?
>> > > - last VLC version 1.0.4 ?
>> > > - codec video: X264 ?
>> > > - codec audio: AAC ?
>> > >   - fps ? , audio bitrate & video bitrate
>> > > - encapsulation: ?
>> > > - protocole: HTTP ? (slow) maybe UDP is better or RTP/RTSP?
>> > >
>> > > If some of you has ever experimented this and can give me some clues=
?
>> > >
>> > > Regards,
>> > >
>> > > --
>> > > Emmanuel
>> > > @email : [email protected]
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > --
>> > > Emmanuel
>> > >
>> > > CHANSON Emmanuel
>> > > Mobile Nouvelle-Cal=E9donie: +687.77.35.02
>> > > Mobile France: +33 (0) 6.68.03.89.56
>> > > @email : [email protected]
>> > > _______________________________________________
>> > > streaming mailing list
>> > > To unsubscribe or modify your subscription options:
>> > > http://mailman.videolan.org/listinfo/streaming
>> >
>> > _______________________________________________
>> > streaming mailing list
>> > To unsubscribe or modify your subscription options:
>> > http://mailman.videolan.org/listinfo/streaming
>>
>
>
>
> --
> Emmanuel
>
> CHANSON Emmanuel
> Mobile Nouvelle-Cal=E9donie: +687.77.35.02
> Mobile France: +33 (0) 6.68.03.89.56
> @email : [email protected]
>



--=20
Emmanuel

CHANSON Emmanuel
Mobile Nouvelle-Cal=E9donie: +687.77.35.02
Mobile France: +33 (0) 6.68.03.89.56
@email : [email protected]

--001636e0ba2fca4a49047cc95c99
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I come again on this thread to explain my project.<br><br>I was able to com=
pile the last version of VLC 1.0.4 under Fedora Core 9 with x264 and live55=
5 libraries (and others).<br><br>I am now able to stream a movie over inter=
net using RTSP (and read it with a VLC client on my computer) but I don&#39=
;t succeed to stream under 50 kbit/sec.<br>
I have tested many different parameters like reducing fps, audio bitrate, v=
ideo bitrate, size of the movie without success, I got always this speed.<b=
r><br>The flow I am sending is always stream at a bandwidth higher than 50 =
kbit/sec.<br>
I would like to reduce it to reach 30 kbit/sec even 20-25.<br><br>As anyone=
 of you any idea to tune my VLC command, or any other tips to achieve this?=
<br>Maybe I hae to use another codec? container? stream protocol method?<br=
>
<br>I am using this command:<br><br><b><i># cvlc media/video-1.flv --sout=
=3D&#39;#transcode{fps=3D8,vcodec=3Dh264,vb=3D8,width=3D20,height=3D15,acod=
ec=3Dmp4a,ab=3D2}:rtp{mux=3Dts,ttl=3D10,name=3D&quot;Video&quot;,descriptio=
n=3D&quot;Video&quot;,port=3D1234,sdp=3Drtsp://<a href=3D"http://192.168.1.=
2:3130/str/test.sdp">192.168.1.2:3130/str/test.sdp</a>}&#39;</i></b><br>
<br>If I make a test where I try to stream only audio, I reach the same ban=
dwidth of 50 kbit/sec, that makes me thinking that RTSP protocol may not go=
 under this bandwidth?<br><br>The aim is to read movies from GPRS handset.<=
br>
<br>Youtube for example use RTSP and 3GP container and I am able to play yo=
utube movies from my mobile using GPRS connection although movies are locat=
ed far from where I live (south pacific).<br>I can not play my own movies f=
rom a local server (on internet) using this config although it works with t=
ests done in LAN (player on the mobile is coreplayer).<br>
<br>So what is the difference between youtube solution and this one?<br><br=
>Best regards,<br><br>Emmanuel<br><br><div class=3D"gmail_quote">2009/12/28=
 Emmanuel CHANSON <span dir=3D"ltr">&lt;<a href=3D"mailto:emmanuelchanson@g=
mail.com">[email protected]</a>&gt;</span><br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">No handset suppor=
t more than GPRS (3G of course) but here the network will upgrade in 3G in =
2 years only...<br>
<br>BR<br><br>Emmanuel<br><br><div class=3D"gmail_quote">2009/12/28 Mait Ma=
ndel <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a>&gt;</span><div><div></div><div class=3D"h5">=
<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hey,<br>
<br>
i have been using h263 + amr_nb with 50kbps (176x144 px, 10fps).<br>
if you have a mobile handset that only supports GPRS, then i doubt it suppo=
rts any newer codecs either.<br>
<font color=3D"#888888"><br>
Mait<br>
</font><div><div></div><div><br>
&gt; -----Original Message-----<br>
&gt; From: <a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a> [mailto:<a href=3D"mailto:streaming-=
" target=3D"_blank">streaming-</a><br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank">bounces@vide=
olan.org</a>] On Behalf Of Marshall Eubanks<br>
&gt; Sent: Saturday, December 26, 2009 10:24 PM<br>
&gt; To: Emmanuel CHANSON<br>
&gt; Cc: <a href=3D"mailto:[email protected]" target=3D"_blank">stream=
[email protected]</a>; matt<br>
&gt; Subject: Re: [streaming] Video Streaming over GPRS<br>
&gt;<br>
&gt; We (AmericaFree.TV) stream 3GPPx video at 96 and 160 Kbps using QTSS.<=
br>
&gt; This is MPEG-4 + AAC.<br>
&gt;<br>
&gt; The quality is pretty decent at 160 Kbps.<br>
&gt;<br>
&gt; Marshall<br>
&gt;<br>
&gt; On Dec 26, 2009, at 3:05 PM, Emmanuel CHANSON wrote:<br>
&gt;<br>
&gt; &gt; Even h264 codec ?<br>
&gt; &gt;<br>
&gt; &gt; Emmanuel<br>
&gt; &gt;<br>
&gt; &gt; 2009/12/27 matt &lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt;<br>
&gt; &gt; Emmanuel,<br>
&gt; &gt;<br>
&gt; &gt; You want video over a variable (20 - 50) kilo bit link ?<br>
&gt; &gt;<br>
&gt; &gt; That&#39;s as slow, or slower, than dial up.<br>
&gt; &gt;<br>
&gt; &gt; I may be wrong, but there is no codec that I am aware of that<br>
&gt; &gt; provides any kind of quality over such a narrow link.<br>
&gt; &gt;<br>
&gt; &gt; Best Regards<br>
&gt; &gt;<br>
&gt; &gt; Matt<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Emmanuel CHANSON wrote:<br>
&gt; &gt; No ideas?<br>
&gt; &gt;<br>
&gt; &gt; Regards,<br>
&gt; &gt;<br>
&gt; &gt; Emmanuel<br>
&gt; &gt;<br>
&gt; &gt; 2009/12/20, Emmanuel CHANSON &lt;<a href=3D"mailto:emmanuelchanso=
[email protected]" target=3D"_blank">[email protected]</a>&gt;:<br>
&gt; &gt;<br>
&gt; &gt; Hello,<br>
&gt; &gt;<br>
&gt; &gt; I would like to ask you about the possibility to stream video ove=
r<br>
&gt; &gt; GPRS.<br>
&gt; &gt; I made some test and the bandwidth I have can reach 50 kbit/sec,<=
br>
&gt; &gt; let&#39;s say<br>
&gt; &gt; 20 kbit/sec (average).<br>
&gt; &gt;<br>
&gt; &gt; Do you know if it is possible to stream video encoded with VLC us=
ing<br>
&gt; &gt; this<br>
&gt; &gt; bandwidth (GPRS connection on mobile)?<br>
&gt; &gt;<br>
&gt; &gt; If yes what do you advise to use?<br>
&gt; &gt; - last VLC version 1.0.4 ?<br>
&gt; &gt; - codec video: X264 ?<br>
&gt; &gt; - codec audio: AAC ?<br>
&gt; &gt; =A0 - fps ? , audio bitrate &amp; video bitrate<br>
&gt; &gt; - encapsulation: ?<br>
&gt; &gt; - protocole: HTTP ? (slow) maybe UDP is better or RTP/RTSP?<br>
&gt; &gt;<br>
&gt; &gt; If some of you has ever experimented this and can give me some cl=
ues?<br>
&gt; &gt;<br>
&gt; &gt; Regards,<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Emmanuel<br>
&gt; &gt; @email : <a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Emmanuel<br>
&gt; &gt;<br>
&gt; &gt; CHANSON Emmanuel<br>
&gt; &gt; Mobile Nouvelle-Cal=E9donie: +687.77.35.02<br>
&gt; &gt; Mobile France: +33 (0) 6.68.03.89.56<br>
&gt; &gt; @email : <a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a><br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; streaming mailing list<br>
&gt; &gt; To unsubscribe or modify your subscription options:<br>
&gt; &gt; <a href=3D"http://mailman.videolan.org/listinfo/streaming" target=
=3D"_blank">http://mailman.videolan.org/listinfo/streaming</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; streaming mailing list<br>
&gt; To unsubscribe or modify your subscription options:<br>
&gt; <a href=3D"http://mailman.videolan.org/listinfo/streaming" target=3D"_=
blank">http://mailman.videolan.org/listinfo/streaming</a><br>
</div></div></blockquote></div></div></div><br><br clear=3D"all"><br>-- <br=
><div><div></div><div class=3D"h5">Emmanuel<br><br>CHANSON Emmanuel<br>Mobi=
le Nouvelle-Cal=E9donie: +687.77.35.02<br>Mobile France: +33 (0) 6.68.03.89=
.56<br>
@email : <a href=3D"mailto:[email protected]" target=3D"_blank">emm=
[email protected]</a><br>

</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>Emmanuel<br=
><br>CHANSON Emmanuel<br>Mobile Nouvelle-Cal=E9donie: +687.77.35.02<br>Mobi=
le France: +33 (0) 6.68.03.89.56<br>@email : <a href=3D"mailto:emmanuelchan=
[email protected]">[email protected]</a><br>


--001636e0ba2fca4a49047cc95c99--

--===============2388103176421751024==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
streaming mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/streaming

--===============2388103176421751024==--