Page 1 of 1

Can't play RTMP streams named a certain way

Posted: 29 Jun 2010 09:52
by fnemo
Hi all

I'm using VLC on command line to monitor several streams (using different protocol : MMS, RTSP, HTTP LiveStreaming...).
Since the 1.1.0, I implemented the RTMP monitoring in my app.
The isse is that, if the application or the stream name has several level, VLC won't open it. I did check on Gentoo (command line), Ubuntu (deb package with GUI), Windows (XP/Seven) and Mac OS X (10.5 and 10.6)

The problem is that it hangs on :

Code: Select all

[0x1e5bf30] access_avio access debug: Opening 'rtmp://stream2.france24.yacast.net/france24_live/fr/f24_livefr' [0x1e5bf30] access_avio access debug: is_streamed=1 size=-38 [0x1e5bf30] main access debug: using access module "access_avio" [0x1e5bf30] main access debug: TIMER module_need() : 3595.602 ms - Total 3595.602 ms / 1 intvls (Avg 3595.602 ms) [0x1e54480] main stream debug: Using AStream*Stream [0x1e54480] main stream debug: pre buffering
Here is a few streams.

rtmp://stream2.france24.yacast.net/france24_live/en/f24_liveen
It does not work
several level in application name => france24_live/en
one level in stream name => f24_liveen

rtmp://stream2.jmm.yacast.net/jmm_snrt/jt/lundi/laayoune/jt
It does not work
one level in application name => jmm_snrt
several level in stream name => jt/lundi/laayoune/jt
(this one is not a permanent stream so I'm not sure you will be able to use it to test)

rtmp://stream2.lcp.yacast.net/lcp_live/lcp24
It works
one level in application name => lcp_live
one level in stream name => lcp24

You can compare using this embedded player : http://viphttpplayers.yacast.net/V4/tes ... CS3_e.html

Regards,
Francois

Re: Can't play RTMP streams named a certain way

Posted: 01 Jul 2010 00:53
by Jean-Baptiste Kempf
RTMP is very bad in VLC anyway. We will change the support in 1.2

Re: Can't play RTMP streams named a certain way

Posted: 02 Jul 2010 02:39
by hyc
The problem is there is no way to determine for any arbitrary RTMP URL which portion is the app name and which is the stream name. You have to provide that information yourself. With librtmp you append options to the URL to make it explicit:
  • "rtmp://stream2.france24.yacast.net app=france24_live/en playpath=f24_liveen"
  • "rtmp://stream2.jmm.yacast.net/jmm_snrt playpath=jt/lundi/laayoune/jt"

Re: Can't play RTMP streams named a certain way

Posted: 02 Jul 2010 11:56
by fnemo
It seems I'm stuck with the use of libavformat ... whenever I recompiled ffmpeg with librtmp support ... weird ... I'll dig on this.

Thanks for the tip

Re: Can't play RTMP streams named a certain way

Posted: 02 Jul 2010 12:18
by fnemo
nevermind. I missed some arguments (tcUrl and live). Now it's fine.

Thank you !

Re: Can't play RTMP streams named a certain way

Posted: 25 Jul 2011 20:36
by streampunk
Could you post the exact command line you used to get France24 to work?

Thanks!