Page 1 of 1

transcode stream to play on cell phone?

Posted: 19 Jul 2009 08:06
by neutronscott
I using vlc 1.0.0 trying to mimic the output of a stream that does play on my nokia 6301.

went to media/streaming... selected input and came up with these options --

Code: Select all

:sout=#transcode{vcodec=none,acodec=mp4a,ab=32,channels=1,samplerate=44100}:rtp{dst=192.168.0.102,port=8234,sdp=rtsp://0.0.0.0:8080/test,mp4a-latm}
can someone tell me if the output of rtsp://64.202.98.91:554/illst.sdp seems any different to them than the output of mine? rtsp://75.182.16.254:8080/test

maybe i need to sniff the network packets with etherreal and see what sort stuff the server is telling my phone, cos i don't see it in the verbose messages window...

Re: transcode stream to play on cell phone?

Posted: 19 Jul 2009 08:41
by neutronscott
okay, guess some messing around i found it out. i want it to call listen() on 192.168.0.102 (or 0.0.0.0 even) BUT send the URLs as my external IP. guess there is no option for this at the moment. should reply with rtsp URL with same host as client requests, no matter what, really :P maybe the phones listening to that URL vs the IP sent in 'c='

Code: Select all

DESCRIBE rtsp://0.0.0.0:8080/test RTSP/1.0 RTSP/1.0 200 OK Server: vlc 1.0.0 Date: Sun, 19 Jul 2009 06:33:40 GMT Content-Type: application/sdp Content-Base: rtsp://192.168.0.102:8080/test Content-Length: 418 Cache-Control: no-cache v=0 o=- 14847590360833589248 14847590360833589248 IN IP4 eeepc s=Unnamed i=N/A c=IN IP4 75.182.16.254 t=0 0 a=tool:vlc 1.0.0 a=recvonly a=type:broadcast a=charset:UTF-8 a=control:rtsp://192.168.0.102:8080/test m=audio 8234 RTP/AVP 96 b=AS:32 b=RR:0 a=rtpmap:96 MP4A-LATM/44100 a=fmtp:96 profile-level-id=15; object=2; cpresent=0; config=400024103fc0 a=control:rtsp://192.168.0.102:8080/test/trackID=0 Connection closed by foreign host.