[MPlayer-users] RTMP streaming seems to be problematic...

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Dec 10 15:04:58 CET 2011


Ingo Brückl <ib <at> wupperonline.de> writes:

> Carl Eugen Hoyos wrote on Sat, 10 Dec 2011 01:43:57 +0000 (UTC):
> 
> > Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> 
> >> It seems your mistake is that you try to use FFmpeg's native RTMP.
> >> You should make sure to compile against librtmp, which should be
> >> working fine.
> 
> > The given sample works here without librtmp...
> 
> It does not for me.

I am not saying it does (for you), but below is my output.

Carl Eugen

$ grep -i rmtp config.h
#define CONFIG_LIBRTMP 0
#define CONFIG_RTMP_PROTOCOL 1
#define CONFIG_RTMPT_PROTOCOL 1
#define CONFIG_RTMPE_PROTOCOL 1
#define CONFIG_RTMPTE_PROTOCOL 1
#define CONFIG_RTMPS_PROTOCOL 1

$ mplayer 
rtmp://85.239.122.162/vod/1316011807-6924a56f54048d0e28c28539368dfe57.mp4
MPlayer SVN-r34422-4.5.3 (C) 2000-2011 MPlayer Team

Playing 
rtmp://85.239.122.162/vod/1316011807-6924a56f54048d0e28c28539368dfe57.mp4.
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.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0
VIDEO:  [H264]  512x288  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 moovPosition: 23766261
 avcprofile: 77
 avclevel: 21
 aacaot: 2
 audiochannels: 2
 videoframerate: 25
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
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: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 512x288 => 512x288 Planar YV12
A:   1.9 V:   1.9 A-V:  0.000 ct:  0.000   0/  0  7%  1%  0.6% 0 0

Exiting... (Quit)



More information about the MPlayer-users mailing list