Opened 5 years ago

Last modified 5 years ago

#2105 new defect

rtmp streams fail to play

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

Description

The attached script is supposed to play iheart radio station.
It first gets url for it, then plays it.
Except it doesn't play now. It either hangs in "Sending play command" state, or immediately deletes the stream.

rtmp @ 0xcaa4f0]Creating stream...
[rtmp @ 0xcaa4f0]Sending play command for 'Hou_TX_KTRH-AM...'
[rtmp @ 0xcaa4f0]Deleting stream...
Failed to open rtmp://cp20100.live.edgefcs.net/live/Hou_TX_KTRH-...

I know for sure this script used to work few months ago. Probably until some update.

SVN-r35040-snapshot-4.2.1
FreeBSD 9.1 amd64

Attachments (2)

run-iheart-x (655 bytes) - added by yuri@… 5 years ago.
Script reproducing the problem
trace.txt (7.8 KB) - added by yuri@… 5 years ago.
Trace of all network operations leading to stream deletion

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by yuri@…

Script reproducing the problem

Changed 5 years ago by yuri@…

Trace of all network operations leading to stream deletion

comment:1 Changed 5 years ago by yuri@…

comment:2 Changed 5 years ago by reimar

RTMP is handled via FFmpeg. I'd suggest trying with ffplay, if that fails as well the problem is not actually in MPlayer code.

comment:3 Changed 5 years ago by reimar

I forgot: the most likely cause is that you used/linked against librtmp before but now use FFmpeg's internal RTMP implementation, so you should check that.

comment:4 Changed 5 years ago by yuri@…

I am switching between --disable-librtmp and --enable-librtmp configure options.
But I am not seeing any difference in behavior. All logs look the same. And it hangs the same way.

Is there any way mplayer could be ignoring --enable-librtmp/--disable-librtmp setting and still doing the same thing?

ffmpeg "rtmp://..." for this stream says: Invalid data found when processing input

Note: See TracTickets for help on using tickets.