[rtmpdump] corrupt dumped file

pnixte at gmail.com pnixte at gmail.com
Fri Oct 8 08:44:08 CEST 2010


On 10/8/10, Soroush Hassani <soroush124 at yahoo.com> wrote:
> Thanks for your reply, here is the full command and its output:
> here is the created file: http://simplewebcode.com/output_file.flv
> there is not difference if I end the filename with .flv or .mp4

The above file may report some warnings but plays perfectly
(start/pause/rewind/fastforward) on my mplayer (which uses FFMPEG)
and can be transcoded into other formats by FFMPEG.

$ ffmpeg -i output_file.flv -sameq output.avi

FFmpeg version SVN-r25107-Sherpya, Copyright (c) 2000-2010 the FFmpeg developers
  built on Sep 12 2010 15:54:45 with gcc 4.2.5 20090330 (prerelease) [Sherpya]
  libavutil     50.26. 0 / 50.26. 0
  libavcore      0. 9. 0 /  0. 9. 0
  libavcodec    52.88. 0 / 52.88. 0
  libavformat   52.78. 5 / 52.78. 5
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.38. 3 /  1.38. 3
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[flv @ 01a6d110] negative cts, previous timestamps might be wrong
    Last message repeated 67 times
[flv @ 01a6d110] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate:
50.00 (50/1) -> 25.25 (101/4)
Input #0, flv, from 'output_file.flv':
  Duration: 00:00:59.99, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: h264, yuv420p, 720x576 [PAR 16:15 DAR 4:3],
25.25 tbr, 1k tbn, 50 tbc
    Stream #0.1: Audio: aac, 48000 Hz, mono, s16
[buffer @ 01e4b300] w:720 h:576 pixfmt:yuv420p
Output #0, avi, to 'output.avi':
  Metadata:
    ISFT            : Lavf52.78.5
    Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR 4:3],
q=2-31, 200 kb/s, 25.25 tbn, 25.25 tbc
    Stream #0.1: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[flv @ 01a6d110] negative cts, previous timestamps might be
wrong1kbits/s dup=0 drop=96
frame= 1499 fps= 14 q=0.0 Lsize=   21729kB time=60.00
bitrate=2966.7kbits/s dup=0 drop=108
video:21155kB audio:469kB global headers:0kB muxing overhead 0.483944%


The resulting output.avi does not give out any warnings at all.


More information about the rtmpdump mailing list