Live Streaming

About encoding, codec settings, muxers and filter usage
nicole

Live Streaming

Postby nicole » 05 Nov 2004 17:48

Hi everybody,

what's the easiest way to serve mpeg4-coded live content to a client(umts mobile phone)?

I can connect with the mobile's media player to prerecorded videos using the darwin streaming server... I know that it's possible to make live streaming using the qt broadcaster, but it is only runable with Mac OS X. Can I use the VLC to solve my problem? :roll:

Thanks a lot and sorry my broken english!

nicole

Postby nicole » 09 Nov 2004 09:39

Hello!?

I really need help! :( Is my question so difficult?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 09 Nov 2004 20:04

correct me if i'm wrong but i think this hasn't yet been implemented into vlc (streaming to mobile phones in mpeg4, which isn't really standard btw). Two developers are currently working on it and are near completion of their solution.

nicole

Postby nicole » 10 Nov 2004 18:26

Well according to the vlc documentation it is generally possible to stream mpeg4-coded media. The media players on mobile phones can decode mpeg4 and h263 - videos, described by a .sdp-file. So it should work actually.

I tried to stream pictures from a webcam in mpeg4 and connect to the stream with the quicktime player(installed on the same host), but it did not work.

this is the vlc-command I used:

vlc –vvv dshow:// :dshow-vdev=“Logitech Quickcam Pro 3000“ :dshow-adev=“none“ :dshow-size=“176x144“ :no-dshow-tuner –sout=#rtp{dst=localhost,port=1234,sdp=rtsp://localhost:8080/test.sdp}:transcode{vcodec=mp4v,vb=96,scale=1}

the error message on the qt player was:

"Invalid Data"

Do you have an idea, what I did wrong? I'm not sure if the syntax of the vlc command is correct. But if it was wrong, the vlc would not have started to stream. :?:

PS: What exactly are the two developers working on? did you mean streaming on demand for mobile phones(= streaming .3gp files)?

Kiran

Postby Kiran » 07 Mar 2005 09:22

Hai Nicole,

Did you find a reply for this post. I am working on a project which is based on the Question raised by you. If you/anybody can help me, then it would be great. Thanx in advance.
Well according to the vlc documentation it is generally possible to stream mpeg4-coded media. The media players on mobile phones can decode mpeg4 and h263 - videos, described by a .sdp-file. So it should work actually.

I tried to stream pictures from a webcam in mpeg4 and connect to the stream with the quicktime player(installed on the same host), but it did not work.

this is the vlc-command I used:

vlc –vvv dshow:// :dshow-vdev=“Logitech Quickcam Pro 3000“ :dshow-adev=“none“ :dshow-size=“176x144“ :no-dshow-tuner –sout=#rtp{dst=localhost,port=1234,sdp=rtsp://localhost:8080/test.sdp}:transcode{vcodec=mp4v,vb=96,scale=1}

the error message on the qt player was:

"Invalid Data"

Do you have an idea, what I did wrong? I'm not sure if the syntax of the vlc command is correct. But if it was wrong, the vlc would not have started to stream. :?:

PS: What exactly are the two developers working on? did you mean streaming on demand for mobile phones(= streaming .3gp files)?

perica
Blank Cone
Blank Cone
Posts: 15
Joined: 02 Nov 2004 13:27

Postby perica » 10 Mar 2005 10:50

Hi!

I don't know on which OS you are running the VLC but my from experience on the Linux the following is possible:

• open the mjpeg video stream over the http, transcode it to mpeg4 and stream

./vlc -vvv http://xxx.xxx.226.99/axis-cgi/mjpg/vid ... on=320x240 :sout='#transcode{vcodec=mp4v,vb=768,scale=1}:duplicate{dst=std{access=http,mux=ts,url=xxx.168.0.220:8080}}' --sout-keep –repeat

I have used AXIS 211 Network Camera opening the stream over the http and transcode the mjpeg to mp4v. Try to use the IP address instead of localhost.

Best regards!

Peric@

Marsianin76

vlc - 3gp - how?

Postby Marsianin76 » 05 May 2005 15:33

Hi folks,

Windows2000:

Ok, that is not a problem to play 3gp files in QTPlayer using VLC+Darwin, or VLC like rtsp server.

vlc -vvv sample.3gp --sout=#rtp{dst=127.0.0.1,port=1234,sdp=rtsp://127.0.0.1:8080/test.sdp}:transcode{vcodec=mp4v,vb=96,scale=1,acodec=mp3,ab=32,channels=2}

rem vlc.exe -vvv --reset-config sample.3gp --sout "#rtp" --sout-rtp-dst="127.0.0.1" --sout-rtp-ttl="1" --sout-rtp-sdp="file://C:/Program Files/Darwin Streaming Server/Movies/vlc.sdp"

I hope this contents could be played by 3gp mobiles (place rtsp link into the wml file and open this wml from 3gp mobile). Anyway it plays well in QuickTime , RealTime players.

I wonder whether it's possible to create 3gp LIVE content ? I tried

vlc -vvv dshow:// :dshow-vdev="" :dshow-adev="Realtek AC97 Audio" :dshow-size="" :no-dshow-config :no-dshow-tuner--sout=#rtp{dst=127.0.0.1,port=1234,sdp=rtsp://127.0.0.1:8080/test.sdp}:transcode{vcodec=h263,vb=96,scale=1,acodec=samr,ab=16,channels=1}

I can't get it to work both in QT, VLC. I'm not sure this will work in 3GP mobiles...

So, the question here is how to create live 3gp compatible content..

Thank you

VLC 3gp streaming radio

Postby VLC 3gp streaming radio » 12 Oct 2005 22:24

Hi,

I am trying to grab an internet radio stream say:

http://69.28.128.148:80/stream/vruk_vr_lo

and convert it into 3gp stream on-the-fly . I have had no success yet.

currently, I tried doing this:

vlc.exe -vvv http://69.28.128.148:80/stream/vruk_vr_lo --sout=#rtp{dst=127.0.0.1,port=1234,sdp=rtsp://127.0.0.1:8080/test.sdp}:tra
nscode{vcodec=mp4v,vb=96,scale=1,acod1 secec=mp3,ab=32,channels=2}
I then connect from another machine's realplayer/quicktime and the URL is rtsp://host:8080/test.sdp. Is this correct???


What my aim is to to get the internet radio stream and on the fly convert it into 3gp using the transcode options and be able to play it on real or quicktime player. What should my command be then? Please advice.

Can someone give me details of how I can stream this content to Darwin Streaming Server and then access this radio stream from there from any machine?

thanks,

Gaurav

bXn
Blank Cone
Blank Cone
Posts: 46
Joined: 08 Jun 2005 09:14

Postby bXn » 17 Oct 2005 13:16

Usually MPEG4 mobile phones should
receive only a specific MPEG4 profile.

If you stream in MPEG4, try to stick to the

simple profile lvl 0 :
max resolution 176x144
15 fps@ 176x144 or 23 fps@128x96
max bitrate : 64 kbps

or

simple profile lvl 0b :
max resolution 176x144
15 fps@ 176x144 or 23 fps@128x96
max bitrate : 128 kbps


Note also that in France some mobile operators may filter some streaming port on their gateway.
I do not have any pb with Orange but some with SFR.

laurent_michel

Postby laurent_michel » 18 Dec 2005 17:59

Hi all,

Indeed SFR (French mobile operator) does not allow "wild" streaming ... i therefore use a bluetooth connexion between my server (vlc > dss) and my Nokia phone (see http://gnubox.dnsalias.org/gnubox/).

I guess my video stream complies with MPEG4 Visual / Simple Profile Level 0 : it uses QCIF size and 15 fps ...

... but the Helix Player (Symbian v1.0) installed on my phone receives packets and nothing happens (the screen remains black).

I would like to understand why this mpeg4 stream is not displayed :

- bug in the Helix Player ?
- is it enough to tell vlc's transcode module to use mp4v code ? Sould I pass to ffmpeg other parameters ? (in order to explicitly specify the Simple Profile Level 0)
- i've read in this forum, that profile-level-id should be set specifically ... to which value ?

Thanks for your help,
below the vlc-generated sdp file :


v=0
o=- 6654863373 1 IN IP4 127.0.0.1
s=demo
t=0 0
a=tool:vlc 0.8.4
c=IN IP4 192.168.1.100
m=video 31202 RTP/AVP 96
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3; config=000001b001000001b58913000001000000012000c4f8807d88007d0584121463000001b24c61766335302e312e30;


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 15 guests