[MPlayer-users] dumpstream of rtmp stream

Dominique Michel dominique.michel at vtxnet.ch
Wed Feb 26 21:43:35 CET 2014


Hi,

I run mplayer in slave mode with

mplayer -ao jack, -fs -fixed-vo -slave -idle -capture -input
file=/home/dom/.mplayer/pipe &

If I play a video file, the capture work fine when I press the C key,
and I get a ~/stream.dump file which play just fine later.

With the following rtmp stream (I didn't try other at that time), I can
play it live, create the stream.dump file, but just get garbage when I
try to play it later.

To play it, I put the following into a .m3u file:

  rtmp://88.191.88.244/alfa/cubavision

and load it with:

  echo "loadlist Cubavision.m3u 1" > /home/dom/.mplayer/pipe

The garbage I get when I try to play the stream.dump file is:

MPlayer SVN-r36775 (Gentoo)-4.8.2 (C) 2000-2014 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 6
CPU: AMD E-450 APU with Radeon(tm) HD Graphics (Family: 20, Model: 2,
Stepping: 0) extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1
SSSE3: 1 SSE4: 0 SSE4.2: 0 AVX: 0 Compiled for x86 CPU with extensions:
MMX MMX2 SSE SSE2 SSE3 SSSE3 CMOV get_path('codecs.conf') ->
'/home/dom/.mplayer/codecs.conf' Reading optional codecs config
file /home/dom/.mplayer/codecs.conf: No such file or directory Reading
optional codecs config file /etc/mplayer/codecs.conf: No such file or
directory Using built-in default codecs.conf. init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/dom/.mplayer/fonts'
Configuration: --cc=x86_64-pc-linux-gnu-gcc
--host-cc=x86_64-pc-linux-gnu-gcc --prefix=/usr --bindir=/usr/bin
--libdir=/usr/lib64 --confdir=/etc/mplayer --datadir=/usr/share/mplayer
--mandir=/usr/share/man --disable-svga --disable-svgalib_helper
--disable-ass-internal --disable-arts --disable-kai --enable-networking
--disable-joystick --disable-nemesi --disable-bl --disable-bluray
--disable-fribidi --disable-lirc --disable-lircc --disable-apple-ir
--disable-cdparanoia --disable-dvdread-internal
--disable-libdvdcss-internal --charset=UTF-8 --disable-tv-bsdbt848
--disable-ivtv --disable-tv-v4l1 --disable-dvb --disable-radio-v4l2
--disable-radio-bsdbt848 --disable-musepack --disable-libmpeg2-internal
--disable-libbs2b --disable-libmpeg2 --disable-tga --disable-faac
--codecsdir=/usr/lib64/codecs --disable-win32dll --disable-directfb
--disable-md5sum --disable-aa --disable-fbdev --disable-caca
--disable-zr --disable-mga --disable-xmga --disable-3dfx
--disable-tdfxvid --disable-tdfxfb --disable-xvr100 --disable-esd
--disable-openal --disable-pulse --disable-ossaudio --disable-3dnow
--disable-3dnowext --disable-altivec --enable-mmx --enable-mmxext
--enable-shm --enable-sse --enable-sse2 --enable-ssse3 --enable-gui
--disable-vesa --disable-dxr3 --disable-ggi --enable-menu
--disable-vidix --disable-vidix-pcidb --enable-xvmc
--with-xvmclib=XvMCW CommandLine: '-v' 'stream.dump' Using nanosleep()
timing get_path('input.conf') -> '/home/dom/.mplayer/input.conf'
Parsing input config file /home/dom/.mplayer/input.conf Input config
file /home/dom/.mplayer/input.conf parsed: 93 binds
get_path('stream.dump.conf') -> '/home/dom/.mplayer/stream.dump.conf'

Playing stream.dump.
get_path('sub/') -> '/home/dom/.mplayer/sub/'
[file] File size is 13299712 bytes
STREAM: [file] stream.dump
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 55.28.101 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: no clue about this gibberish!
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename stream.dump ext: .dump
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 47
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 69879, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=6703 size=3936708923
LMLM4 Stream Format not found
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG packet stats: p100: 0  p101: 1 p1B6: 0 p12x: 56 sli: 1 a: 0 b: 0
c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 101, synced: 0 Not MPEG System
Stream format... (maybe Transport Stream?) sync_mpeg_ps: seems to be
MP3 stream... MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG packet stats: p100: 0  p101: 1 p1B6: 0 p12x: 56 sli: 1 a: 0 b: 0
c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 101, synced: 0 Not MPEG System
Stream format... (maybe Transport Stream?) ==> Found video stream: 0
ds_fill_buffer: EOF reached (stream: video)  
LAVF_check: no clue about this gibberish!
Checking for DV
demux_aac_probe, failed to detect an AAC stream

vo: x11 uninit called but X11 not initialized..

Exiting... (End of file)


Is it something I can do in order to be able to play this dump, or to
get a playable dump file?

Regards,
Dominique


More information about the MPlayer-users mailing list