New submission from John Van Sickle <[email protected]>:

My sample video causes mplayer, vlc, and ffmpeg/ffplay to exit early around the 
1:54 mark, but with gom 
player it plays normally. I showed the sample to Dark_Shikari and he said it 
was a flv demuxer bug. 

I have other samples I suspect that trigger this bug. Let me know if there's 
anymore info needed.

Sample: 
http://johnvansickle.com/misc/PoltPrimeWE%20vs%20NSPJoon%20Set%201-sample.flv


Command:
------------------------------------------------------------------------------------------------------
ffmpeg -loglevel debug -v 10 -i "PoltPrimeWE vs NSPJoon Set 1-sample.flv" 
-vcodec copy -acodec copy -y 
out.flv 

FFmpeg version SVN-r25833, Copyright (c) 2000-2010 the FFmpeg developers
  built on Nov 27 2010 11:14:03 with gcc 4.4.5
  configuration: 
--extra-cflags=-I/home/john/.custom.software/builds/ffmpeg-2010.11.27-11.04/include
 --
extra-ldflags=-L/home/john/.custom.software/builds/ffmpeg-2010.11.27-11.04/lib 
--
prefix=/home/john/.custom.software/builds/ffmpeg-2010.11.27-11.04 
--disable-ffserver --enable-nonfree --
enable-x11grab --enable-libmp3lame --enable-pthreads --disable-debug 
--enable-gpl --enable-libx264 --
enable-postproc --enable-libfaac --enable-libvorbis --enable-avfilter 
--enable-libvpx
  libavutil     50.33. 0 / 50.33. 0
  libavcore      0.14. 0 /  0.14. 0
  libavcodec    52.97. 2 / 52.97. 2
  libavformat   52.87. 0 / 52.87. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.65. 0 /  1.65. 0
  libswscale     0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[NULL @ 0x331d510] Probed with size=2048 and score=100
[mp3 @ 0x3321c20] mdb:381, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0x3321c20] mdb:381, lastbuf:0 skipping granule 1
    Last message repeated 1 times
[flv @ 0x331d510] All info found
[flv @ 0x331d510] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'PoltPrimeWE vs NSPJoon Set 1-sample.flv':
  Metadata:
    hasAudio        : true
    hasVideo        : true
    hasmetadata     : true
    duration        : 1056
    filesize        : 150633708
    datasize        : 10110
    lasttimestamp   : 1056
    metadatacreator : GOM ENCODER (GFlv4Writer 1.0)
    stereo          : true
    audiocodecid    : 2
    audiodatarate   : 128
    audiosamplerate : 44100
    audiosamplesize : 16
    audiosize       : 16890985
    audiodelay      : 0
    hasCuePoints    : true
    canSeekToEnd    : false
    haskeyframes    : true
    videocodecid    : 7
    width           : 1280
    height          : 720
    framerate       : 30
    videodatarate   : 1004
    videosize       : 132452464
    lastkeyframetimestamp: 1054
  Duration: 00:17:35.69, start: 0.000000, bitrate: 1158 kb/s
    Stream #0.0, 21, 1/1000: Video: h264, yuv420p, 1280x720, 1/60, 1027 kb/s, 
30 tbr, 1k tbn, 60 tbc
    Stream #0.1, 26, 1/1000: Audio: mp3, 44100 Hz, 2 channels, s16, 131 kb/s
Output #0, flv, to 'out.flv':
  Metadata:
    hasAudio        : true
    hasVideo        : true
    hasmetadata     : true
    duration        : 1056
    filesize        : 150633708
    datasize        : 10110
    lasttimestamp   : 1056
    metadatacreator : GOM ENCODER (GFlv4Writer 1.0)
    stereo          : true
    audiocodecid    : 2
    audiodatarate   : 128
    audiosamplerate : 44100
    audiosamplesize : 16
    audiosize       : 16890985
    audiodelay      : 0
    hasCuePoints    : true
    canSeekToEnd    : false
    haskeyframes    : true
    videocodecid    : 7
    width           : 1280
    height          : 720
    framerate       : 30
    videodatarate   : 1004
    videosize       : 132452464
    lastkeyframetimestamp: 1054
    encoder         : Lavf52.87.0
    Stream #0.0, 0, 1/1000: Video: libx264, yuv420p, 1280x720, 1/1000, q=2-31, 
1027 kb/s, 1k tbn, 1k tbc
    Stream #0.1, 0, 1/1000: Audio: libmp3lame, 44100 Hz, 2 channels, 131 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[flv @ 0x331d510] skipping flv packet: type 190, size 2473508, flags 0
[flv @ 0x331d510] skipping flv packet: type 31, size 148006, flags 0
[flv @ 0x331d510] skipping flv packet: type 28, size 5662515, flags 0
[flv @ 0x331d510] skipping flv packet: type 229, size 9381127, flags 0
[flv @ 0x331d510] skipping flv packet: type 96, size 5093094, flags 0
[flv @ 0x331d510] skipping flv packet: type 169, size 7698728, flags 0
[flv @ 0x331d510] skipping flv packet: type 156, size 7925342, flags 0
[flv @ 0x331d510] skipping flv packet: type 65, size 14089, flags 0
[flv @ 0x331d510] skipping flv packet: type 74, size 3520306, flags 0
[flv @ 0x331d510] skipping flv packet: type 89, size 13937894, flags 0
[flv @ 0x331d510] skipping flv packet: type 134, size 1363262, flags 0
[flv @ 0x331d510] skipping flv packet: type 173, size 5702779, flags 0
[flv @ 0x331d510] skipping flv packet: type 237, size 7173609, flags 0
frame= 3461 fps=  0 q=-1.0 Lsize=   16821kB time=115.33 bitrate=1194.8kbits/s   
 
video:14881kB audio:1802kB global headers:0kB muxing overhead 0.824303%

------------------------------------------------------------------------------------------------------

Not sure if this is helpful but mplayer (-v -v) exits at (around) 1:54 with:

[flv @ 0xc625c0]skipping flv packet: type 65, size 3343526, flags 0
mp_seek(0x1e9fc70, 87073967, 0) 
s->pos=4FE2000  newpos=530A000  new_bufpos=530A4AF  buflen=0
stream_seek: WARNING! Can't seek to 0x530A4AF !
s->pos=0  newpos=4FE1800  new_bufpos=4FE1F91  buflen=0
[flv @ 0xc625c0]skipping flv packet: type 6, size 2262133, flags 0
mp_seek(0x1e9fc70, 85992589, 0) 
s->pos=4FE2000  newpos=5202000  new_bufpos=520248D  buflen=0
stream_seek: WARNING! Can't seek to 0x520248D !
s->pos=0  newpos=4FE1800  new_bufpos=4FE1F91  buflen=0
122991=mp_read(0x1e9fc70, 0x7fb87df68f79, 11023118), pos: 83886080, eof:1
0=mp_read(0x1e9fc70, 0x7fb87df86fe8, 10900127), pos: 83886080, eof:1
demux_lavf_fill_buffer()     } \
<snip>                       }  --repeated many times
demux_lavf_fill_buffer()     } /
ds_fill_buffer: EOF reached (stream: audio)
vd_ffmpeg data: b7010000, 85159a41, 10ff4a69, d4a8b415
A:-455427.3 V: 115.2 A-V:-455542.562 ct:  0.102   0/  0 22%  3%  2.0% 0 0
demux_lavf_fill_buffer()
ds_fill_buffer: EOF reached (stream: audio)
vd_ffmpeg data: a5010000, 5169a41, 10ff4a89, 159c0603
A:-455427.3 V: 115.3 A-V:-455542.562 ct:  0.099   0/  0 22%  3%  2.0% 0 0
demux_lavf_fill_buffer()
ds_fill_buffer: EOF reached (stream: audio)
vd_ffmpeg data: 78010000, 85169a41, ff4aa9, 4c1bfd1d
A:-455427.2 V: 115.3 A-V:-455542.562 ct:  0.095   0/  0 22%  3%  2.0% 0 0
demux_lavf_fill_buffer()
ds_fill_buffer: EOF reached (stream: audio)
vd_ffmpeg data: d2010000, 5179a41, 11ff4ac9, c3deb884
[h264 @ 0xccf320]AVC: Consumed only 47 bytes instead of 63
[h264 @ 0xccf320]error while decoding MB 5 40, bytestream (-8)
[h264 @ 0xccf320]concealing 444 DC, 444 AC, 444 MV errors
A:-455427.2 V: 115.3 A-V:-455542.562 ct:  0.092   0/  0 22%  3%  2.0% 0 0
demux_lavf_fill_buffer()
ds_fill_buffer: EOF reached (stream: audio)
demux_lavf_fill_buffer()
ds_fill_buffer: EOF reached (stream: video)
A:-455427.2 V: 115.3 A-V:-455542.562 ct:  0.089   0/  0 22%  3%  2.0% 0 0
EOF code: 1

----------------------------------------------------------------------------------------------------

----------
messages: 12704
priority: normal
status: new
substatus: new
title: flv demuxer bug
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2391>
________________________________________________

Reply via email to