Opened 8 years ago

Last modified 8 years ago

#2021 reopened defect

MPLayer hangs playing particular rtmp radio stream: Input buffer exhausted before END element found

Reported by: yuri@… Owned by: reimar
Priority: normal Component: core
Version: unspecified Severity: normal
Keywords: Cc: cehoyos
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

I get the log, see below.
To reproduce, run the attached Python script.

--log--
MPlayer SVN-r33137-snapshot-4.2.2 (C) 2000-2011 MPlayer Team

Playing rtmp://cp20100.live.edgefcs.net/live/Hou_TX_KTRH-AM_OR@s7890?auth=daEcddsaHbcabapdSaKbGdqcHdfb9cWbqd0-bo1CoP-4q-OO5V3_3nmDFqq1IBpmBtzs&aifp=1234&CHANNELID=2285&CPROG=_&MARKET=HOUSTON-TX&REQUESTOR=KTRH-AM&SERVER_NAME=p2.ktrh-am.ccomrcdn.com&SITE_ID=700&STATION_ID=KTRH-AM&MNM=1&TYPEOFPLAY=0.
libavformat file format detected.
[flv @ 0x809292010] max_analyze_duration reached
[flv @ 0x809292010] Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (unknown), -vid 0
[lavf] stream 1: audio (aac), -aid 0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
[aac @ 0xc109e0]Input buffer exhausted before END element found

Attachments (1)

run-houston-ktrh (886 bytes) - added by yuri@… 8 years ago.
Python script playing KTRH radio

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by yuri@…

Python script playing KTRH radio

comment:1 Changed 8 years ago by yuri@…

It hangs after some time (5-20 minutes).

comment:2 Changed 8 years ago by cehoyos

  • Resolution set to worksforme
  • Status changed from new to closed, cehoyos@ag.or.at

Works fine with current svn head.

comment:3 Changed 8 years ago by yuri@…

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Got the same with the 2011/11/30 snapshot.

Problem is intermittent. It doesn't happen every time, sometimes it works for few hours without a problem.

--log begin--
MPlayer SVN-r34368-snapshot-4.6.1 (C) 2000-2011 MPlayer Team
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 rtmp://cp20100.live.edgefcs.net/live/Hou_TX_KTRH-AM_OR@s7890?auth=daEbldBdWbzcZcgd6bcbrdad8cHdWcddDb9-bo1R1i-4q-MO4Y8_6pmFGqu2EBumvuwr&aifp=1234&CHANNELID=2285&CPROG=_&MARKET=HOUSTON-TX&REQUESTOR=KTRH-AM&SERVER_NAME=p2.ktrh-am.ccomrcdn.com&SITE_ID=700&STATION_ID=KTRH-AM&MNM=1&TYPEOFPLAY=0.
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
libavformat file format detected.
[flv @ 0xd6c340]max_analyze_duration 5000000 reached at 5014000
[flv @ 0xd6c340]Estimating duration from bitrate, this may be inaccurate
[lavf] stream 0: video (unknown), -vid 0
[lavf] stream 1: audio (aac), -aid 0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
[flv @ 0xd6c340]Stream discovered after head already parsed
[aac @ 0xde2be0]Input buffer exhausted before END element found

MPlayer interrupted by signal 13 in module: uninit_stream

MPlayer interrupted by signal 13 in module: uninit_stream
--log end--

comment:4 Changed 8 years ago by reimar

Please try with ffmpeg/ffplay and rtmpdump.
MPlayer does not implement rtmp itself but goes through these.

Note: See TracTickets for help on using tickets.