Android VLC can't play mms:// stream media
Posted: 22 Aug 2011 13:34
I try to play mms stream media on my android phone. I compiled android vlc. I run this code:
It doesn't work! I get these debug information from logcat. Anybody know how to deal with it?
Code: Select all
intent = new Intent(this, VideoPlayerActivity.class);
intent.putExtra("filePath", "mms://192.168.2.11/cnn");
startActivity(intent);
Code: Select all
08-22 19:18:05.476: VERBOSE/VLC/LibVLC(20753): Reading mms://192.168.2.11/cnn
08-22 19:18:05.480: INFO/VLC/JNI/main(20753): Got version: 10
08-22 19:18:05.480: DEBUG/vlc(20753): [0x1ddbb4] main input debug: Creating an input for 'mms://192.168.2.11/cnn'
08-22 19:18:05.507: DEBUG/vlc(20753): [0x1ddbb4] main input debug: thread started
08-22 19:18:05.507: DEBUG/vlc(20753): [0x1ddbb4] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
08-22 19:18:05.511: DEBUG/vlc(20753): [0x1ddbb4] main input debug: `mms://192.168.2.11/cnn' gives access `mms' demux `' path `192.168.2.11/cnn'
08-22 19:18:05.511: DEBUG/vlc(20753): [0x1ddbb4] main input debug: creating demux: access='mms' demux='' location='192.168.2.11/cnn' file='(null)'
08-22 19:18:05.511: DEBUG/vlc(20753): [0x2adcbc] main demux debug: looking for access_demux module: 0 candidates
08-22 19:18:05.511: DEBUG/vlc(20753): [0x2adcbc] main demux debug: no access_demux module matched "mms"
08-22 19:18:05.511: DEBUG/vlc(20753): [0x2adcbc] main demux debug: TIMER module_need() : 0.562 ms - Total 0.562 ms / 1 intvls (Avg 0.562 ms)
08-22 19:18:05.511: DEBUG/vlc(20753): [0x1ddbb4] main input debug: creating access 'mms' location='192.168.2.11/cnn', path='(null)'
08-22 19:18:05.511: DEBUG/vlc(20753): [0x2adcbc] main access debug: looking for access module: 1 candidate
08-22 19:18:05.511: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: waiting for connection...
08-22 19:18:05.511: DEBUG/vlc(20753): [0x2adcbc] main access debug: net: connecting to 192.168.2.11 port 1755
08-22 19:18:05.539: DEBUG/vlc(20753): [0x2adcbc] main access debug: connection succeeded (socket = 43)
08-22 19:18:05.539: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: connection(tcp) with "192.168.2.11:1755" successful
08-22 19:18:05.539: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: generated guid: babac001-4cf3-0262-fa5fe185745e3ee5
08-22 19:18:05.542: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: recv command start_sequence:0x00000001 command_id:0xb00bface length:128 len8:16 sequence 0x00000000 len8_II:14 dir_comm:0x00040001
08-22 19:18:05.542: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: 0x01 --> server_version:"9.01.01.3841" tool_version:"" update_player_url:"" encryption_type:"NTLM"
08-22 19:18:05.546: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: recv command start_sequence:0x00000001 command_id:0xb00bface length:32 len8:4 sequence 0x00000001 len8_II:2 dir_comm:0x00040003
08-22 19:18:05.546: ERROR/vlc(20753): [0x2adcbc] access_mms access error: TCP protocol selection failed
08-22 19:18:05.546: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: Connection closed
08-22 19:18:05.546: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: waiting for connection...
08-22 19:18:05.546: DEBUG/vlc(20753): [0x2adcbc] main access debug: net: connecting to 192.168.2.11 port 1755
08-22 19:18:05.562: DEBUG/vlc(20753): [0x2adcbc] main access debug: connection succeeded (socket = 43)
08-22 19:18:05.562: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: connection(tcp) with "192.168.2.11:1755" successful
08-22 19:18:05.562: DEBUG/vlc(20753): [0x2adcbc] main access debug: net: opening 172.31.22.118 datagram port 7000
08-22 19:18:05.562: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: connection(udp) at "172.31.22.118:7000" successful
08-22 19:18:05.566: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: generated guid: babac001-5999-22bf-24140566c5bc6f9e
08-22 19:18:05.570: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: recv command start_sequence:0x00000001 command_id:0xb00bface length:128 len8:16 sequence 0x00000000 len8_II:14 dir_comm:0x00040001
08-22 19:18:05.570: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: 0x01 --> server_version:"9.01.01.3841" tool_version:"" update_player_url:"" encryption_type:"NTLM"
08-22 19:18:05.578: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: recv command start_sequence:0x00000001 command_id:0xb00bface length:32 len8:4 sequence 0x00000001 len8_II:2 dir_comm:0x00040003
08-22 19:18:05.578: ERROR/vlc(20753): [0x2adcbc] access_mms access error: UDP protocol selection failed
08-22 19:18:05.578: DEBUG/vlc(20753): [0x2adcbc] access_mms access debug: Connection closed
08-22 19:18:05.578: ERROR/vlc(20753): [0x2adcbc] access_mms access error: cannot connect to server
08-22 19:18:05.578: DEBUG/vlc(20753): [0x2adcbc] main access debug: net: connecting to 192.168.2.11 port 80
08-22 19:18:05.582: ERROR/vlc(20753): [0x2adcbc] main access error: connection failed: Connection refused
08-22 19:18:05.582: ERROR/vlc(20753): [0x2adcbc] access_mms access error: cannot connect to 192.168.2.11:80
08-22 19:18:05.582: DEBUG/vlc(20753): [0x2adcbc] main access debug: no access module matching "mms" could be loaded
08-22 19:18:05.582: DEBUG/vlc(20753): [0x2adcbc] main access debug: TIMER module_need() : 71.796 ms - Total 71.796 ms / 1 intvls (Avg 71.796 ms)
08-22 19:18:05.582: DEBUG/vlc(20753): [0x2adcbc] main access debug: waitpipe: object killed
08-22 19:18:05.582: ERROR/vlc(20753): [0x1ddbb4] main input error: open of `mms://192.168.2.11/cnn' failed
08-22 19:18:05.582: ERROR/vlc(20753): [0x1ddbb4] main input error: Your input can't be opened
08-22 19:18:05.582: ERROR/vlc(20753): [0x1ddbb4] main input error: VLC is unable to open the MRL 'mms://192.168.2.11/cnn'. Check the log for details.
08-22 19:18:05.582: DEBUG/vlc(20753): [0x1ddbb4] main input debug: thread ended