[MPlayer-users] dumpstream of rtmp stream

Dominique Michel dominique.michel at vtxnet.ch
Thu Feb 27 13:02:37 CET 2014


Le Wed, 26 Feb 2014 21:42:38 +0100,
Reimar Döffinger <Reimar.Doeffinger at gmx.de> a écrit :

> On Wed, Feb 26, 2014 at 09:43:35PM +0100, Dominique Michel wrote:
> > 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.
> 
> streamdump will only record exactly the data received.
> rtmp is a format that in contrast to e.g. MPEG-TS has information
> about the codecs used etc. only at the very start.

That's for that.

> So if you do not have dumpstream enabled from the very start it
> will not work.
> You should see the exact same effect if you play a .avi,
> .mkv, .flv, .mov, .mp4 or ... file (basically almost everything
> that is not MPEG-*), the C key will not work with them.

I see it work fine with -dumpstream.
With the resulting stream, if I want that other players can read it, do
you know if it is just to rename it to something like stream.flv,
or if it is better to convert it?

Playing stream.dump.
libavformat version 55.28.101 (internal)
libavformat file format detected.
[flv @ 0x7f0eff391a20]Stream discovered after head already parsed
[flv @ 0x7f0eff391a20]Estimating duration from bitrate, this may be
inaccurate [lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (mp3), -aid 0
VIDEO:  [H264]  320x240  0bpp  25.000 fps  665.6 kbps (81.2 kbyte/s)
Clip info:
 author: 
 copyright: 
 description: 
 keywords: 
 rating: 
 title: 
 presetname: High Bandwidth (800 Kbps) - H.264
 creationdate: Wed Feb 26 17:26:57 2014

 videodevice: Pinnacle PCTV 110i BDA Analog Capture
 avclevel: 31
 avcprofile: 77
 videokeyframe_frequency: 5
 audiodevice: Pinnacle PCTV 110i BDA Analog A
 audiochannels: 2
 audioinputvolume: 82
Load subtitles in ./
 ==========================================================================
 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
 libavcodec version 55.49.101 (internal) Selected video codec: [ffh264]
 vfm: ffmpeg (FFmpeg H.264)
 ==========================================================================
 ==========================================================================
 Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
 AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
 Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I,
 II, III)
 ==========================================================================


More information about the MPlayer-users mailing list