[x264-devel] x264 :: overflow problem, resulting in artifacts
Rui Campos
rcampos at fusemail.com
Mon Jun 19 04:57:24 CEST 2006
Hi,
I was hoping someone could help me out with x264, ffmpeg and getting it
working 100% with Blender 3D.
Right now Peter Schaile has integrated ffmpeg into Blender 3D and added
an option for x264 export.
Everything seems to work fine, but I get an overflow error after around
130+ frames are processed. And after that the error starts to appear
more often. The main problem is that the encoded frames have artifacts.
The output looks like : OVERFLOW levelcode=xxxx
Strange thing is that if I re-render just those frames which gave the
error, it won't give that error again, having to render another 130+
frames to have the error show up again.
I provide the log of my Blender Session here and a link to a file with
the error.
I'm using Linux, Ubuntu 6.06 Dapper Drake stock, on a Centrino Dothan
1.5 Ghz with 1GB of RAM.
I'm using latest x264 from SVN and also latest ffmpeg from SVN.
Blender is latest CVS version too.
If anyone needs anything else, just say so.
Thanks for any help on this.
-- Rui --
FILE 1, arraydemo0001_0737.avi, contains 161 frames, with the error
frames in it, 136, 141 and 146, it is noticeable right near the end of
the movie, the image goes brighter and then it gets darker again.
www.ruicampos.com/fl_tmp/movies/arraydemo0001_0737.avi
FILE 2, arraydemo0135_0737.avi, contains frames 135 to 148
www.ruicampos.com/fl_tmp/movies/arraydemo0135_0737.avi
###################### SESSION LOG #################################
rcampos at rcampos-laptop:~/my/dev/blender$ bl
Looking for installed Python version 2.4
Got it!
Starting output
to /home/rcampos/my/downloadz/arrdemo2/arraydemo0001_0737.avi(ffmpeg)...
Using type=6, codec=2, audio_codec=86016,
video_bitrate=9000, audio_bitrate=128,
gop_size=5, multiplex=0, autosplit=0
render width=720, render height=576
[h264 @ 0x8b576e8]using SAR=1/1
[h264 @ 0x8b576e8]using cpu capabilities MMX MMXEXT SSE SSE2
Output #0, avi, to
'/home/rcampos/my/downloadz/arrdemo2/arraydemo0001_0737.avi':
Stream #0.0: Video: h264, yuv420p, 720x576, q=2-31, 9000 kb/s, 25.00
fps(c)
Writing frame 1, render width=720, render height=576
Append frame 1 Time: 00:10.37
Writing frame 2, render width=720, render height=576
Append frame 2 Time: 00:08.50
Writing frame 3, render width=720, render height=576
Append frame 3 Time: 00:08.66
Writing frame 4, render width=720, render height=576
Append frame 4 Time: 00:08.60
Writing frame 5, render width=720, render height=576
Append frame 5 Time: 00:08.63
Closing ffmpeg...
[h264 @ 0x8b576e8]slice I:1 Avg QP:22.00 size: 6246
[h264 @ 0x8b576e8]slice P:4 Avg QP:17.00 size: 10389
[h264 @ 0x8b576e8]mb I I16..4: 94.7% 0.0% 5.3%
[h264 @ 0x8b576e8]mb P I16..4: 6.3% 0.0% 0.0% P16..4: 32.4% 0.0%
0.0% 0.0% 0.0% skip:61.3%
[h264 @ 0x8b576e8]kb/s:1912.0
Starting output
to /home/rcampos/my/downloadz/arrdemo2/arraydemo0001_0737.avi(ffmpeg)...
Using type=6, codec=2, audio_codec=86016,
video_bitrate=9000, audio_bitrate=128,
gop_size=5, multiplex=0, autosplit=0
render width=720, render height=576
[h264 @ 0x8b576e8]using SAR=1/1
[h264 @ 0x8b576e8]using cpu capabilities MMX MMXEXT SSE SSE2
Output #0, avi, to
'/home/rcampos/my/downloadz/arrdemo2/arraydemo0001_0737.avi':
Stream #0.0: Video: h264, yuv420p, 720x576, q=2-31, 9000 kb/s, 25.00
fps(c)
Writing frame 1, render width=720, render height=576
Append frame 1 Time: 00:09.22
Writing frame 2, render width=720, render height=576
Append frame 2 Time: 00:07.45
Writing frame 3, render width=720, render height=576
Append frame 3 Time: 00:07.46
Writing frame 4, render width=720, render height=576
Append frame 4 Time: 00:07.44
Writing frame 5, render width=720, render height=576
Append frame 5 Time: 00:07.45
Writing frame 6, render width=720, render height=576
Append frame 6 Time: 00:07.35
Writing frame 7, render width=720, render height=576
Append frame 7 Time: 00:07.45
Writing frame 8, render width=720, render height=576
Append frame 8 Time: 00:08.01
Writing frame 9, render width=720, render height=576
Append frame 9 Time: 00:08.02
Writing frame 10, render width=720, render height=576
Append frame 10 Time: 00:08.04
Writing frame 11, render width=720, render height=576
Append frame 11 Time: 00:08.05
Writing frame 12, render width=720, render height=576
Append frame 12 Time: 00:08.07
Writing frame 13, render width=720, render height=576
Append frame 13 Time: 00:08.07
Writing frame 14, render width=720, render height=576
Append frame 14 Time: 00:08.03
Writing frame 15, render width=720, render height=576
Append frame 15 Time: 00:08.11
Writing frame 16, render width=720, render height=576
Append frame 16 Time: 00:08.02
Writing frame 17, render width=720, render height=576
Append frame 17 Time: 00:08.07
Writing frame 18, render width=720, render height=576
Append frame 18 Time: 00:08.17
Writing frame 19, render width=720, render height=576
Append frame 19 Time: 00:08.03
Writing frame 20, render width=720, render height=576
Append frame 20 Time: 00:08.09
Writing frame 21, render width=720, render height=576
Append frame 21 Time: 00:08.06
Writing frame 22, render width=720, render height=576
Append frame 22 Time: 00:08.05
Writing frame 23, render width=720, render height=576
Append frame 23 Time: 00:08.09
Writing frame 24, render width=720, render height=576
Append frame 24 Time: 00:08.13
Writing frame 25, render width=720, render height=576
Append frame 25 Time: 00:08.09
Writing frame 26, render width=720, render height=576
Append frame 26 Time: 00:08.08
Writing frame 27, render width=720, render height=576
Append frame 27 Time: 00:08.11
Writing frame 28, render width=720, render height=576
Append frame 28 Time: 00:08.08
Writing frame 29, render width=720, render height=576
Append frame 29 Time: 00:08.14
Writing frame 30, render width=720, render height=576
Append frame 30 Time: 00:08.14
Writing frame 31, render width=720, render height=576
Append frame 31 Time: 00:09.25
Writing frame 32, render width=720, render height=576
Append frame 32 Time: 00:09.22
Writing frame 33, render width=720, render height=576
Append frame 33 Time: 00:08.46
Writing frame 34, render width=720, render height=576
Append frame 34 Time: 00:08.40
Writing frame 35, render width=720, render height=576
Append frame 35 Time: 00:08.50
Writing frame 36, render width=720, render height=576
Append frame 36 Time: 00:09.20
Writing frame 37, render width=720, render height=576
Append frame 37 Time: 00:09.14
Writing frame 38, render width=720, render height=576
Append frame 38 Time: 00:08.51
Writing frame 39, render width=720, render height=576
Append frame 39 Time: 00:08.39
Writing frame 40, render width=720, render height=576
Append frame 40 Time: 00:08.39
Writing frame 41, render width=720, render height=576
Append frame 41 Time: 00:08.39
Writing frame 42, render width=720, render height=576
Append frame 42 Time: 00:08.52
Writing frame 43, render width=720, render height=576
Append frame 43 Time: 00:09.96
Writing frame 44, render width=720, render height=576
Append frame 44 Time: 00:08.63
Writing frame 45, render width=720, render height=576
Append frame 45 Time: 00:10.20
Writing frame 46, render width=720, render height=576
Append frame 46 Time: 00:08.92
Writing frame 47, render width=720, render height=576
Append frame 47 Time: 00:08.54
Writing frame 48, render width=720, render height=576
Append frame 48 Time: 00:09.22
Writing frame 49, render width=720, render height=576
Append frame 49 Time: 00:09.81
Writing frame 50, render width=720, render height=576
Append frame 50 Time: 00:08.56
Writing frame 51, render width=720, render height=576
Append frame 51 Time: 00:08.39
Writing frame 52, render width=720, render height=576
Append frame 52 Time: 00:08.31
Writing frame 53, render width=720, render height=576
Append frame 53 Time: 00:08.39
Writing frame 54, render width=720, render height=576
Append frame 54 Time: 00:08.28
Writing frame 55, render width=720, render height=576
Append frame 55 Time: 00:08.39
Writing frame 56, render width=720, render height=576
Append frame 56 Time: 00:08.33
Writing frame 57, render width=720, render height=576
Append frame 57 Time: 00:08.37
Writing frame 58, render width=720, render height=576
Append frame 58 Time: 00:08.33
Writing frame 59, render width=720, render height=576
Append frame 59 Time: 00:08.39
Writing frame 60, render width=720, render height=576
Append frame 60 Time: 00:08.56
Writing frame 61, render width=720, render height=576
Append frame 61 Time: 00:08.53
Writing frame 62, render width=720, render height=576
Append frame 62 Time: 00:08.38
Writing frame 63, render width=720, render height=576
Append frame 63 Time: 00:08.95
Writing frame 64, render width=720, render height=576
Append frame 64 Time: 00:08.71
Writing frame 65, render width=720, render height=576
Append frame 65 Time: 00:08.61
Writing frame 66, render width=720, render height=576
Append frame 66 Time: 00:07.42
Writing frame 67, render width=720, render height=576
Append frame 67 Time: 00:07.45
Writing frame 68, render width=720, render height=576
Append frame 68 Time: 00:07.68
Writing frame 69, render width=720, render height=576
Append frame 69 Time: 00:07.51
Writing frame 70, render width=720, render height=576
Append frame 70 Time: 00:07.70
Writing frame 71, render width=720, render height=576
Append frame 71 Time: 00:07.91
Writing frame 72, render width=720, render height=576
Append frame 72 Time: 00:07.57
Writing frame 73, render width=720, render height=576
Append frame 73 Time: 00:07.54
Writing frame 74, render width=720, render height=576
Append frame 74 Time: 00:07.69
Writing frame 75, render width=720, render height=576
Append frame 75 Time: 00:07.79
Writing frame 76, render width=720, render height=576
Append frame 76 Time: 00:07.93
Writing frame 77, render width=720, render height=576
Append frame 77 Time: 00:08.07
Writing frame 78, render width=720, render height=576
Append frame 78 Time: 00:08.12
Writing frame 79, render width=720, render height=576
Append frame 79 Time: 00:07.93
Writing frame 80, render width=720, render height=576
Append frame 80 Time: 00:07.96
Writing frame 81, render width=720, render height=576
Append frame 81 Time: 00:07.96
Writing frame 82, render width=720, render height=576
Append frame 82 Time: 00:08.01
Writing frame 83, render width=720, render height=576
Append frame 83 Time: 00:08.44
Writing frame 84, render width=720, render height=576
Append frame 84 Time: 00:09.26
Writing frame 85, render width=720, render height=576
Append frame 85 Time: 00:09.16
Writing frame 86, render width=720, render height=576
Append frame 86 Time: 00:08.84
Writing frame 87, render width=720, render height=576
Append frame 87 Time: 00:08.68
Writing frame 88, render width=720, render height=576
Append frame 88 Time: 00:08.08
Writing frame 89, render width=720, render height=576
Append frame 89 Time: 00:08.20
Writing frame 90, render width=720, render height=576
Append frame 90 Time: 00:08.27
Writing frame 91, render width=720, render height=576
Append frame 91 Time: 00:08.16
Writing frame 92, render width=720, render height=576
Append frame 92 Time: 00:08.10
Writing frame 93, render width=720, render height=576
Append frame 93 Time: 00:08.37
Writing frame 94, render width=720, render height=576
Append frame 94 Time: 00:08.13
Writing frame 95, render width=720, render height=576
Append frame 95 Time: 00:08.03
Writing frame 96, render width=720, render height=576
Append frame 96 Time: 00:08.12
Writing frame 97, render width=720, render height=576
Append frame 97 Time: 00:08.05
Writing frame 98, render width=720, render height=576
Append frame 98 Time: 00:08.18
Writing frame 99, render width=720, render height=576
Append frame 99 Time: 00:08.03
Writing frame 100, render width=720, render height=576
Append frame 100 Time: 00:08.12
Writing frame 101, render width=720, render height=576
Append frame 101 Time: 00:08.03
Writing frame 102, render width=720, render height=576
Append frame 102 Time: 00:07.97
Writing frame 103, render width=720, render height=576
Append frame 103 Time: 00:09.02
Writing frame 104, render width=720, render height=576
Append frame 104 Time: 00:09.21
Writing frame 105, render width=720, render height=576
Append frame 105 Time: 00:09.10
Writing frame 106, render width=720, render height=576
Append frame 106 Time: 00:09.16
Writing frame 107, render width=720, render height=576
Append frame 107 Time: 00:09.11
Writing frame 108, render width=720, render height=576
Append frame 108 Time: 00:08.89
Writing frame 109, render width=720, render height=576
Append frame 109 Time: 00:08.81
Writing frame 110, render width=720, render height=576
Append frame 110 Time: 00:08.72
Writing frame 111, render width=720, render height=576
Append frame 111 Time: 00:08.63
Writing frame 112, render width=720, render height=576
Append frame 112 Time: 00:08.61
Writing frame 113, render width=720, render height=576
Append frame 113 Time: 00:08.50
Writing frame 114, render width=720, render height=576
Append frame 114 Time: 00:08.38
Writing frame 115, render width=720, render height=576
Append frame 115 Time: 00:08.13
Writing frame 116, render width=720, render height=576
Append frame 116 Time: 00:08.38
Writing frame 117, render width=720, render height=576
Append frame 117 Time: 00:10.07
Writing frame 118, render width=720, render height=576
Append frame 118 Time: 00:08.13
Writing frame 119, render width=720, render height=576
Append frame 119 Time: 00:07.88
Writing frame 120, render width=720, render height=576
Append frame 120 Time: 00:07.82
Writing frame 121, render width=720, render height=576
Append frame 121 Time: 00:07.63
Writing frame 122, render width=720, render height=576
Append frame 122 Time: 00:08.56
Writing frame 123, render width=720, render height=576
Append frame 123 Time: 00:07.81
Writing frame 124, render width=720, render height=576
Append frame 124 Time: 00:09.50
Writing frame 125, render width=720, render height=576
Append frame 125 Time: 00:10.79
Writing frame 126, render width=720, render height=576
Append frame 126 Time: 00:11.27
Writing frame 127, render width=720, render height=576
Append frame 127 Time: 00:10.78
Writing frame 128, render width=720, render height=576
Append frame 128 Time: 00:11.08
Writing frame 129, render width=720, render height=576
Append frame 129 Time: 00:11.15
Writing frame 130, render width=720, render height=576
Append frame 130 Time: 00:11.09
Writing frame 131, render width=720, render height=576
Append frame 131 Time: 00:07.18
Writing frame 132, render width=720, render height=576
Append frame 132 Time: 00:07.11
Writing frame 133, render width=720, render height=576
Append frame 133 Time: 00:07.13
Writing frame 134, render width=720, render height=576
Append frame 134 Time: 00:07.11
Writing frame 135, render width=720, render height=576
Append frame 135 Time: 00:07.38
Writing frame 136, render width=720, render height=576
[h264 @ 0x8b576e8]OVERFLOW levelcode=4101
Append frame 136 Time: 00:07.88
Writing frame 137, render width=720, render height=576
Append frame 137 Time: 00:08.13
Writing frame 138, render width=720, render height=576
Append frame 138 Time: 00:07.62
Writing frame 139, render width=720, render height=576
Append frame 139 Time: 00:07.04
Writing frame 140, render width=720, render height=576
Append frame 140 Time: 00:06.87
Writing frame 141, render width=720, render height=576
[h264 @ 0x8b576e8]OVERFLOW levelcode=4181
[h264 @ 0x8b576e8]OVERFLOW levelcode=4181
Append frame 141 Time: 00:06.87
Writing frame 142, render width=720, render height=576
Append frame 142 Time: 00:06.90
Writing frame 143, render width=720, render height=576
Append frame 143 Time: 00:06.87
Writing frame 144, render width=720, render height=576
Append frame 144 Time: 00:07.18
Writing frame 145, render width=720, render height=576
Append frame 145 Time: 00:06.80
Writing frame 146, render width=720, render height=576
[h264 @ 0x8b576e8]OVERFLOW levelcode=4167
Append frame 146 Time: 00:06.75
Writing frame 147, render width=720, render height=576
Append frame 147 Time: 00:06.70
Writing frame 148, render width=720, render height=576
Append frame 148 Time: 00:06.72
Writing frame 149, render width=720, render height=576
Append frame 149 Time: 00:06.61
Writing frame 150, render width=720, render height=576
Append frame 150 Time: 00:06.61
Writing frame 151, render width=720, render height=576
[h264 @ 0x8b576e8]OVERFLOW levelcode=4127
Append frame 151 Time: 00:06.61
Writing frame 152, render width=720, render height=576
Append frame 152 Time: 00:06.87
Writing frame 153, render width=720, render height=576
Append frame 153 Time: 00:06.93
Writing frame 154, render width=720, render height=576
Append frame 154 Time: 00:06.91
Writing frame 155, render width=720, render height=576
Append frame 155 Time: 00:06.74
Writing frame 156, render width=720, render height=576
Append frame 156 Time: 00:06.77
Writing frame 157, render width=720, render height=576
Append frame 157 Time: 00:07.11
Writing frame 158, render width=720, render height=576
Append frame 158 Time: 00:07.64
Writing frame 159, render width=720, render height=576
Append frame 159 Time: 00:09.81
Writing frame 160, render width=720, render height=576
Append frame 160 Time: 00:07.47
Writing frame 161, render width=720, render height=576
Append frame 161 Time: 00:06.86
Closing ffmpeg...
[h264 @ 0x8b576e8]slice I:33 Avg QP: 3.33 size: 54676
[h264 @ 0x8b576e8]slice P:128 Avg QP: 2.47 size: 24039
[h264 @ 0x8b576e8]mb I I16..4: 32.9% 0.0% 67.1%
[h264 @ 0x8b576e8]mb P I16..4: 2.8% 0.0% 0.0% P16..4: 71.3% 0.0%
0.0% 0.0% 0.0% skip:25.9%
[h264 @ 0x8b576e8]kb/s:6063.7
Starting output
to /home/rcampos/my/downloadz/arrdemo2/arraydemo0135_0737.avi(ffmpeg)...
Using type=6, codec=2, audio_codec=86016,
video_bitrate=9000, audio_bitrate=128,
gop_size=5, multiplex=0, autosplit=0
render width=720, render height=576
[h264 @ 0x8b576e8]using SAR=1/1
[h264 @ 0x8b576e8]using cpu capabilities MMX MMXEXT SSE SSE2
Output #0, avi, to
'/home/rcampos/my/downloadz/arrdemo2/arraydemo0135_0737.avi':
Stream #0.0: Video: h264, yuv420p, 720x576, q=2-31, 9000 kb/s, 25.00
fps(c)
Writing frame 135, render width=720, render height=576
Append frame 135 Time: 00:08.59
Writing frame 136, render width=720, render height=576
Append frame 136 Time: 00:06.91
Writing frame 137, render width=720, render height=576
Append frame 137 Time: 00:06.98
Writing frame 138, render width=720, render height=576
Append frame 138 Time: 00:06.96
Writing frame 139, render width=720, render height=576
Append frame 139 Time: 00:06.90
Writing frame 140, render width=720, render height=576
Append frame 140 Time: 00:06.92
Writing frame 141, render width=720, render height=576
Append frame 141 Time: 00:06.87
Writing frame 142, render width=720, render height=576
Append frame 142 Time: 00:06.79
Writing frame 143, render width=720, render height=576
Append frame 143 Time: 00:06.77
Writing frame 144, render width=720, render height=576
Append frame 144 Time: 00:06.86
Writing frame 145, render width=720, render height=576
Append frame 145 Time: 00:06.75
Writing frame 146, render width=720, render height=576
Append frame 146 Time: 00:08.07
Writing frame 147, render width=720, render height=576
Append frame 147 Time: 00:06.76
Writing frame 148, render width=720, render height=576
Append frame 148 Time: 00:06.77
Closing ffmpeg...
[h264 @ 0x8b576e8]slice I:3 Avg QP:15.67 size: 35871
[h264 @ 0x8b576e8]slice P:11 Avg QP: 7.55 size: 25140
[h264 @ 0x8b576e8]mb I I16..4: 56.5% 0.0% 43.5%
[h264 @ 0x8b576e8]mb P I16..4: 10.1% 0.0% 0.0% P16..4: 73.8% 0.0%
0.0% 0.0% 0.0% skip:16.1%
[h264 @ 0x8b576e8]kb/s:5487.9
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list