[Live-devel] Some stupid questions

Riccardo Rosapepe rkrsp at hotmail.com
Fri May 7 10:12:28 PDT 2004


Dear Mr. Finlayson,

Thank you for the excellent job that you did with live.com streaming libraries.

I implemented a streaming application on the top of testMPEG4VideoStreamer test program.
My app grabs video from an usb device then encodes the grabbed frame in mpeg4 format ( using ffmpeg 0.4.8 codec ) and streams it over the network.
I wrote "VideoDeviceSource" a "FramedSource" subclass that delivers video frames to the RTPSink, following your suggestions in the faq and after a little debugging everything went ok.

Now, there are 2 different scenarios:

1) When the streaming server ( my application ) is on a LAN i can stream multicast and play stream on a client machine on the same LAN using VLC or Quicktime and the url in the format rtsp://url_of_the_machine:7070/testStream ...the players can play the stream very well and everything is fine!

2) When the streaming server ( my application ) is NOT a LAN but on a machine that has a gprsmodem with a SIM card that, connecting via ppp bridge obtains an url from an internet provider , VLC or Quicktime are not able to play the url in the format rtsp://url_given_from_provider:7070/testStream .
Why?

Consider that the machine with gprs modem is a linux box and, after obtained an url from a provider ( e.g.: 217.40.15.218) i can open an ssh tunnel from a machine on the LAN ( 192.168.1.55 ) to this machine just typing ssh root at url_given_from_provider and the command succeeds. Maybe because ssh services uses simple tcp? 

Should i stream using unicast? 
If yes.. how? How can i quickly change my program? Your suggestions in the faq 

--------"In "test*Streamer.cpp", change "destinationAddressStr" to the (unicast) IP address of the intended destination. In the corresponding "test*Receiver.cpp", change "sessionAddressStr" to "0.0.0.0". ------

don't seem to work. Should i open url in vlc like rtsp://0.0.0.0 ?

Please help me, i'm stuck with it and in my company we desperately need to stream using a wireless box.

p.S.: When i'll find a solution there is another question. GPRS bandwidth is very low ( 12 kbits/s )
My actual settings are: size: 176x144, fps :5, qmin = 3; qmax = 31; bitrate = 4. Is there any other improvement that i can apply to achieve better performance?

p.p.s: Why realPlayer( version 10 ) doesn't read streams from testMPEG1or2VideoStreamer ? 

Thanks in advice for your help.

Riccardo Rosapepe




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live.com/pipermail/live-devel/attachments/20040507/abbe95c5/attachment.html


More information about the live-devel mailing list