[MPlayer-dev-eng] RTMP playback with optional space-separated parameters broken... :´-(

Manuel Reimer Manuel.Spam at nurfuerspam.de
Mon Jul 9 17:10:46 CEST 2012


Hello,

copying this one over to the devel list. Maybe at least someone can point me to 
the right code line, where the parameters used to be parsed. I searched through 
the librtmp code, the ffmpeg code and the mplayer code and didn't find the 
place, where the space separated parameters are detected and separated...

It used to be possible, that optional RTMP parameters could just be added by 
separating them by a "space" character. I usually need this to separate host 
from playpath, as the auto detection fails pretty often.

Now, with latest MPlayer SVN version and letest librtmp (both checked out today 
and compiled just a few minutes ago), this command fails:


~$ mplayer 'rtmp://62.113.210.170/markly-vod/ 
playpath=2010-06/mp4:2010-06_sarrasin_harmonie-der-schoepfung_360p.mp4'
MPlayer 20120707-4.5.2 (C) 2000-2012 MPlayer Team

Playing rtmp://62.113.210.170/markly-vod/ 
playpath=2010-06/mp4:2010-06_sarrasin_harmonie-der-schoepfung_360p.mp4.
libavformat version 54.15.100 (internal)
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.
[rtmp @ 0x8aa2960]Server error: Failed to play 
2010-06_sarrasin_harmonie-der-schoepfung_360p.mp4; stream not found.
Failed to open rtmp://62.113.210.170/markly-vod/ 
playpath=2010-06/mp4:2010-06_sarrasin_harmonie-der-schoepfung_360p.mp4.


Exiting... (End of file)



But with rtmpdump, the two parts "host" and "playpath" can be verified as being 
correct:

rtmpdump -r 'rtmp://62.113.210.170/markly-vod/' -y 
'2010-06/mp4:2010-06_sarrasin_harmonie-der-schoepfung_360p.mp4'

--> returns video data to STDOUT


Can someone *please* have a look at this? I would be *very* happy for a 
solution, as I used this feature pretty often to be able to place RTMP streams 
into playlist files...

Thank you very much in advance

Yours

Manuel



More information about the MPlayer-dev-eng mailing list