[Libav-user] Avi (DX50) video getting stuck on replay
Alexander Müller
alemue7 at hotmail.com
Sun Jul 31 00:28:40 CEST 2011
Hello,
since VLC media player 1.0.5, a newer libavcodec version is used which
has problems decoding some avi (DX50) videos: at certain frames, the
video gets stuck for a few seconds, while the audio is still running.
The same problem also appears with FFmpeg.
All the videos where I noticed these errors have been downloaded from
onlineTVrecorder and cut by VirtualDub 1.8.8.
It seems that there are some errors within the video file. However,
using the older version of libavcodec, these were not even noticable.
Had the old version a better error correction? Can this be corrected
somehow?
I have uploaded a small sample file showing this error
http://uploading.com/files/33mccf3m/getting_stuck.avi/ (1.2 MB)
Thank you in advance,
Alex
PS: Using FFmpeg, I get the following output:
D:\ProgrammeC\FFmpeg>ffmpeg -i "C:\Users\AM\Videos\getting_stuck.avi" -f
mp4 -vc
odec mpeg4 -b 300k -qmin 3 -qmax 5 -bufsize 15000 -g 300 -acodec
libmp3lame -ar
44100 -ab 128k -s 320x200 -aspect 4:3 "E:\ipodvideos\test.mp4"
ffmpeg version N-31572-g5a16515-Sherpya, Copyright (c) 2000-2011 the
FFmpeg deve
lopers
built on Jul 20 2011 02:35:30 with gcc 4.2.5 20090330 (prerelease)
[Sherpya]
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 27. 0 / 2. 27. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpeg4 @ 018b7100] Invalid and inefficient vfw-avi packed B frames detected
Seems stream 0 codec frame rate differs from container frame rate:
30000.00 (300
00/1) -> 25.00 (25/1)
Input #0, avi, from 'C:\Users\AM\Videos\getting_stuck.avi':
Duration: 00:00:15.00, start: 0.000000, bitrate: 689 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x360 [PAR 1:1 DAR 16:9], 25
fps, 25 t
br, 25 tbn, 30k tbc
Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
[buffer @ 018c0da0] w:640 h:360 pixfmt:yuv420p tb:1/1000000 sar:1/1
sws_param:
[scale @ 018ccb80] w:640 h:360 fmt:yuv420p -> w:320 h:200 fmt:yuv420p
flags:0x4
Output #0, mp4, to 'E:\ipodvideos\test.mp4':
Metadata:
encoder : Lavf53.6.0
Stream #0.0: Video: mpeg4, yuv420p, 320x200 [PAR 5:6 DAR 4:3],
q=3-5, 300 kb
/s, 25 tbn, 25 tbc
Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, s16, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
[mpeg4 @ 018b7100] Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 003fbcc0] rc buffer underflow
frame= 26 fps= 0 q=34.1 size= 24kB time=00:00:01.04 bitrate=
191.3kbits/
frame= 52 fps= 51 q=34.1 size= 49kB time=00:00:02.08 bitrate=
192.6kbits/
frame= 82 fps= 53 q=34.1 size= 72kB time=00:00:03.28 bitrate=
180.5kbits/
Last message repeated 94 times
[mpeg4 @ 018b7100] ac-tex damaged at 6 5
[mpeg4 @ 018b7100] Error at MB: 211
[mpeg4 @ 018b7100] concealing 818 DC, 818 AC, 818 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
frame= 112 fps= 53 q=34.1 size= 94kB time=00:00:04.48 bitrate=
172.0kbits/
Last message repeated 16 times
[mpeg4 @ 018b7100] 1. marker bit missing in 3. esc
[mpeg4 @ 018b7100] Error at MB: 276
[mpeg4 @ 018b7100] concealing 750 DC, 750 AC, 750 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
[mpeg4 @ 018b7100] ac-tex damaged at 38 1
[mpeg4 @ 018b7100] Error at MB: 79
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
[mpeg4 @ 018b7100] 2. marker bit missing in 3. esc
[mpeg4 @ 018b7100] Error at MB: 277
[mpeg4 @ 018b7100] concealing 830 DC, 830 AC, 830 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
[mpeg4 @ 018b7100] ac-tex damaged at 4 5
[mpeg4 @ 018b7100] Error at MB: 209
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
[mpeg4 @ 018b7100] 1. marker bit missing in 3. esc
[mpeg4 @ 018b7100] Error at MB: 90
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
frame= 117 fps= 45 q=34.1 size= 100kB time=00:00:04.68 bitrate=
175.2kbits/
[mpeg4 @ 018b7100] ac-tex damaged at 18 2
[mpeg4 @ 018b7100] Error at MB: 100
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
Last message repeated 5 times
[mpeg4 @ 018b7100] 2. marker bit missing in 3. esc
[mpeg4 @ 018b7100] Error at MB: 401
[mpeg4 @ 018b7100] concealing 617 DC, 617 AC, 617 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
frame= 219 fps= 54 q=34.1 size= 168kB time=00:00:08.76 bitrate=
156.9kbits/
Last message repeated 95 times
[mpeg4 @ 018b7100] ac-tex damaged at 14 2
[mpeg4 @ 018b7100] Error at MB: 96
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
Last message repeated 21 times
[mpeg4 @ 018b7100] ac-tex damaged at 5 5
[mpeg4 @ 018b7100] Error at MB: 210
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
Last message repeated 1 times
[mpeg4 @ 018b7100] ac-tex damaged at 24 6
[mpeg4 @ 018b7100] Error at MB: 270
[mpeg4 @ 018b7100] concealing 820 DC, 820 AC, 820 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
[mpeg4 @ 018b7100] ac-tex damaged at 0 6
[mpeg4 @ 018b7100] Error at MB: 246
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
[mpeg4 @ 018b7100] ac-tex damaged at 31 2
[mpeg4 @ 018b7100] Error at MB: 113
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
frame= 250 fps= 54 q=34.1 size= 191kB time=00:00:10.00 bitrate=
156.7kbits/
Last message repeated 4 times
[mpeg4 @ 018b7100] ac-tex damaged at 15 3
[mpeg4 @ 018b7100] Error at MB: 138
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
Last message repeated 1 times
[mpeg4 @ 018b7100] I cbpy damaged at 22 6
[mpeg4 @ 018b7100] Error at MB: 268
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
Last message repeated 6 times
[mpeg4 @ 018b7100] ac-tex damaged at 1 6
[mpeg4 @ 018b7100] Error at MB: 247
[mpeg4 @ 018b7100] concealing 774 DC, 774 AC, 774 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
[mpeg4 @ 018b7100] ac-tex damaged at 12 2
[mpeg4 @ 018b7100] Error at MB: 94
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
[mpeg4 @ 018b7100] ac-tex damaged at 16 2
[mpeg4 @ 018b7100] Error at MB: 98
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
[mpeg4 @ 018b7100] 1. marker bit missing in 3. esc
[mpeg4 @ 018b7100] Error at MB: 131
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
Last message repeated 6 times
[mpeg4 @ 018b7100] ac-tex damaged at 30 2
[mpeg4 @ 018b7100] Error at MB: 112
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
frame= 276 fps= 53 q=34.1 size= 210kB time=00:00:11.04 bitrate=
156.0kbits/
Last message repeated 6 times
[mpeg4 @ 018b7100] Error at MB: 71
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
Last message repeated 10 times
[mpeg4 @ 018b7100] ac-tex damaged at 15 3
[mpeg4 @ 018b7100] Error at MB: 138
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
[mpeg4 @ 018b7100] ac-tex damaged at 23 2
[mpeg4 @ 018b7100] Error at MB: 105
[mpeg4 @ 018b7100] concealing 920 DC, 920 AC, 920 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
[mpeg4 @ 018b7100] 2. marker bit missing in 3. esc
[mpeg4 @ 018b7100] Error at MB: 262
[mpeg4 @ 018b7100] concealing 825 DC, 825 AC, 825 MV errors
[mpeg4 @ 003fbcc0] rc buffer underflow
frame= 305 fps= 54 q=34.1 size= 242kB time=00:00:12.20 bitrate=
162.4kbits/
frame= 325 fps= 52 q=34.1 size= 305kB time=00:00:13.00 bitrate=
192.1kbits/
frame= 344 fps= 51 q=34.1 size= 387kB time=00:00:13.76 bitrate=
230.5kbits/
frame= 361 fps= 50 q=34.1 size= 491kB time=00:00:14.44 bitrate=
278.6kbits/
Last message repeated 84 times
frame= 374 fps= 49 q=34.1 Lsize= 578kB time=00:00:14.96 bitrate=
316.3kbits
/s dup=176 drop=0
video:334kB audio:235kB global headers:0kB muxing overhead 1.513573%
More information about the Libav-user
mailing list