Hi jankarlitos,
I have actually tried on both mobile & desktop players. The logs I posted in my previous message was written when I was trying to play the stream with VLC Player on my computer.
I really think the problem is related to RTSP. I've tried to remove the transcoding step :
Code: Select all
vlc /home/movies/test_avi2.avi --sout '#rtp{ttl=30,sdp=rtsp://server_ip:8485/stream.sdp}' -vvv -I dummy --interact
And VLC (computer version) can't find any stream to play.
I can see some errors on VLC (server version) :
[00000308] main http server debug: Connection from *my_ip*
[00000352] main private debug: looking for sout access module: 1 candidate
[00000352] main private debug: set sout option: sout-udp-raw to (null)
[00000352] main private debug: set sout option: sout-udp-ttl to 30
[00000352] main private debug: net: connecting to *my_ip* port 1230
[00000354] main private debug: thread 1149401424 (sout write thread) created at priority 0 (udp.c:268)
[00000352] access_output_udp private debug: udp access output opened(*my_ip*:1230)
[00000352] main private debug: using sout access module "access_output_udp"
[00000355] main private debug: looking for sout access module: 1 candidate
[00000355] main private debug: set sout option: sout-udp-raw to (null)
[00000355] main private debug: set sout option: sout-udp-ttl to 30
[00000355] main private debug: net: connecting to *my_ip* port 1232
[00000356] main private debug: thread 1157794128 (sout write thread) created at priority 0 (udp.c:268)
[00000355] access_output_udp private debug: udp access output opened(*my_ip*:1232)
[00000355] main private debug: using sout access module "access_output_udp"
[00000354] main private debug: thread 1149401424 joined (udp.c:316)
[00000352] access_output_udp private debug: udp access output closed
[00000352] main private debug: removing module "access_output_udp"
[00000356] main private debug: thread 1157794128 joined (udp.c:316)
[00000355] access_output_udp private debug: udp access output closed
[00000355] main private debug: removing module "access_output_udp"
[00000308] main http server debug: Connection from *my_ip*
[00000357] main private debug: looking for sout access module: 1 candidate
[00000357] main private debug: set sout option: sout-udp-raw to (null)
[00000357] main private debug: set sout option: sout-udp-ttl to 30
[00000357] main private debug: net: connecting to *my_ip* port 1230
[00000358] main private debug: thread 1157794128 (sout write thread) created at priority 0 (udp.c:268)
[00000357] access_output_udp private debug: udp access output opened(*my_ip*:1230)
[00000357] main private debug: using sout access module "access_output_udp"
[00000359] main private debug: looking for sout access module: 1 candidate
[00000359] main private debug: set sout option: sout-udp-raw to (null)
[00000359] main private debug: set sout option: sout-udp-ttl to 30
[00000359] main private debug: net: connecting to *my_ip* port 1232
[00000360] main private debug: thread 1149401424 (sout write thread) created at priority 0 (udp.c:268)
The italic part loops indefinitely.
I really cannot figure out what happens ..
Thanks,
Nicolas.
Update @ 15:09 : Okay, the problem is definitely weird
. Here is my command line (the full one, with transcoding options) :
Code: Select all
/home/movies/HU_117_750k.flv --sout '#transcode{vcodec=h264,vb=24,acodec=libmp3lame,ab=12,channels=1,samplerate=11000,width=176,height=144,fps=10,keyint=20,deinterlace}:rtp{ttl=30,sdp=rtsp://server_ip:554/stream.sdp}' -vvv -I dummy --interact
This stream is perfectly working on VLC (desktop version) : I can watch it without any problems. However, when I try to reach the stream on my mobile device (Nokia E61i), I have a "connection timeout" error message. Then I've checked my phone's settings and they're perfectly set (plus I can watch videos from other servers).