Projects

Ticket #56 (new defect report)

Opened 2 years ago

Streaming problem over intenet.

Reported by: ferranxx@… Owned by:
Priority: blocker Version: Linux
Keywords: ubuntu streaming Cc:

Description

I have installed DSS versions 5.5.5 and 6.0.3 on a Ubuntu 9.04 Server and Desktop editions.

The streaming works's fine with this clients on a local lan:

Quicktime ( Windows ) Mplayer ( Linux 1.0rc2-4.3.3 ) Vlc ( Linux 0.9.9a) MP4Player ( Linux 1.6 )

But DSS only works fine with VLC client over internet ( with artifacts), all other clients fail.

Is not a ports problem.

Mplayer log when fail.


mplayer  rtsp://94.75.232.225/sample_h264_100kbit.mp4 MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team CPU: Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz (Family: 6, Model: 23, Stepping: 6) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control.

Playing  rtsp://94.75.232.225/sample_h264_100kbit.mp4. Resolving 94.75.232.225 for AF_INET6... Couldn't resolve name for AF_INET6: 94.75.232.225 Connecting to server 94.75.232.225[94.75.232.225]: 554... A single media stream only is supported atm. rtsp_session: unsupported RTSP server. Server type is 'DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; )'. STREAM_LIVE555, URL:  rtsp://94.75.232.225/sample_h264_100kbit.mp4 Stream not seekable!

file format detected.

Initiated "video/H264" RTP subsession on port 50260 Initiated "audio/MPEG4-GENERIC" RTP subsession on port 34514 demux_rtp: Failed to guess the video frame rate VIDEO: [H264] 0x0 0bpp 0.000 fps 0.0 kbps ( 0.0 kbyte/s) FPS not specified in the header or invalid, use the -fps option. ========================================================================== Forced audio codec: mad Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) FAAD: compressed input bitrate missing, assuming 128kbit/s! AUDIO: 16000 Hz, 2 ch, s16le, 128.0 kbit/25.00% (ratio: 16000->64000) Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder) ========================================================================== AO: [pulse] 16000Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 0.0 (unknown) of 70.0 (01:10.0) ??,?%

Exiting... (End of file)


Mp4player log when fail

16:59:05.320-plugin-6: Adding video plugin rawv /usr/local/lib/mp4player_plugin/raw_video_plugin.so 16:59:05.321-plugin-6: Adding RTP plugin enc-mpeg4-generic:audio /usr/local/lib/mp4player_plugin/isma_enc_rtp_plugin.so 16:59:05.321-plugin-6: Adding video plugin xvid-10 /usr/local/lib/mp4player_plugin/xvid10_plugin.so 16:59:05.321-plugin-6: Adding audio plugin rawa /usr/local/lib/mp4player_plugin/raw_audio_plugin.so 16:59:05.322-plugin-6: Adding RTP plugin mpeg4-generic /usr/local/lib/mp4player_plugin/isma_rtp_plugin.so 16:59:05.322-plugin-6: Adding RTP plugin h264 /usr/local/lib/mp4player_plugin/h264_rtp_plugin.so 16:59:05.322-plugin-6: Adding audio plugin a52dec /usr/local/lib/mp4player_plugin/a52_audio_plugin.so 16:59:05.323-plugin-6: Adding RTP plugin isma-href /usr/local/lib/mp4player_plugin/href_rtp_plugin.so 16:59:05.323-plugin-6: Adding audio plugin g711 /usr/local/lib/mp4player_plugin/g711_audio_plugin.so 16:59:05.323-plugin-6: Adding RTP plugin rfc3267 /usr/local/lib/mp4player_plugin/rfc3267_plugin.so 16:59:05.324-plugin-6: Adding audio plugin celp /usr/local/lib/mp4player_plugin/celp_plugin.so 16:59:05.326-plugin-6: Adding audio plugin mp3 /usr/local/lib/mp4player_plugin/mp3_plugin.so 16:59:05.331-plugin-6: Adding video plugin MPEG4 ISO /usr/local/lib/mp4player_plugin/mpeg4_iso_plugin.so 16:59:05.335-plugin-6: Adding audio plugin ffmpeg audio /usr/local/lib/mp4player_plugin/ffmpeg_audio_plugin.so 16:59:05.335-plugin-6: Adding audio plugin aac /usr/local/lib/mp4player_plugin/aac_plugin.so 16:59:05.336-plugin-6: Adding video plugin ffmpeg /usr/local/lib/mp4player_plugin/ffmpeg_video_plugin.so 16:59:05.336-plugin-6: Adding video plugin h261 /usr/local/lib/mp4player_plugin/h261_plugin.so 16:59:05.337-plugin-6: Adding RTP plugin enc-mpeg4-generic:video /usr/local/lib/mp4player_plugin/isma_enc_video_rtp_plugin.so 16:59:05.337-plugin-6: Adding RTP plugin rfc-2429 /usr/local/lib/mp4player_plugin/rfc2429_rtp_plugin.so 16:59:05.337-plugin-6: Adding RTP plugin h261 /usr/local/lib/mp4player_plugin/h261_rtp_plugin.so 16:59:05.337-plugin-6: Adding text plugin plaintext /usr/local/lib/mp4player_plugin/plaintext_text_plugin.so 16:59:05.338-plugin-6: Adding text plugin href /usr/local/lib/mp4player_plugin/href_text_plugin.so 16:59:05.338-plugin-6: Adding audio plugin wav /usr/local/lib/mp4player_plugin/wav_plugin.so 16:59:05.338-plugin-6: Adding RTP plugin mpeg4-latm /usr/local/lib/mp4player_plugin/latm_rtp_plugin.so 16:59:05.459-videosync-6: Max Window resolution 1680x1050 16:59:05.459-videosync-7: Setting video mode 176 144 1 1 16:59:05.642-my_player-7: Creating streaming  rtsp://94.75.232.225/sample_h264_100kbit.mp4 16:59:05.814-my_player-7: setting control url to  rtsp://94.75.232.225/sample_h264_100kbit.mp4/ 16:59:05.869-ffmpeg-7: codec value 0x7f42eb726420 16:59:05.869-plugin-7: Found matching video plugin ffmpeg 16:59:05.870-plugin-7: Found matching audio plugin aac 16:59:05.870-videosync-7: persistence is 0x2373790 16:59:05.870-my_player-7: First port is 1024 16:59:05.870-my_player-7: Ip ports are 1024 1025 16:59:05.957-media-6: Transport returned is RTP/AVP;unicast;source=94.75.232.225;client_port=1024-1025;server_port=6970-6971;ssrc=11C9A3CA 16:59:05.957-media-6: setting default source address from rtsp 94.75.232.225 16:59:06.021-my_player-7: First port is 1026 16:59:06.021-my_player-7: Ip ports are 1026 1027 16:59:06.107-media-6: Transport returned is RTP/AVP;unicast;source=94.75.232.225;client_port=1026-1027;server_port=6970-6971;ssrc=4BA978DF 16:59:06.107-media-6: setting default source address from rtsp 94.75.232.225 16:59:06.204-my_player-7: rtp info is 'url= rtsp://94.75.232.225/sample_h264_100kbit.mp4/trackID=3;seq=53704;rtptime=739307306,url=rtsp://94.75.232.225/sample_h264_100kbit.mp4/trackID=4;seq=19711;rtptime=977869175' 16:59:36.206-avsync-2: No media has been initialized or received 16:59:36.207-avsync-2: Fatal error while initializing hardware 16:59:36.207-avsync-6: sync changed state Init to Done 16:59:36.208-avsync-6: sync changed state Done to Exit 16:59:36.293-media-7: closing down media 0 16:59:36.332-media-5: Video decoder skipped 0 frames 16:59:36.332-media-7: closing down media 1 16:59:36.829-video-5: video Sync Stats: 16:59:36.829-video-5: Displayed-behind frames 0 16:59:36.829-video-5: Total frames displayed 0 16:59:36.829-video-5: Max behind time 0 16:59:36.829-video-5: Skipped rendering 0 16:59:36.829-video-5: Filled frames 0 16:59:36.829-avsync-7: grabbed persist 16:59:36.829-audiobuf-6: total samples played: 0 16:59:36.829-audiobuf-6: sync samples added : 0 16:59:36.829-audiobuf-6: sync samples removed: 0

Note: See TracTickets for help on using tickets.