[x264-devel] Suspect of a bug on x264 r2216 8-bit version (64-bit) for Windows

Marco Vuano vuanomarco at gmail.com
Mon Oct 15 03:52:01 CEST 2012


Dear x264 developers,
I suspect I found a bug in x264 r2216 (core 128) 8-bit version (64-bit) for
Windows in that 2 pass encoding crashes, while single pass encoding works
fine, if an AVI file with a RGB24 video encoded with Lagarith is used as an
input.
To be more precise, I created the following test case which makes x264
crash on my system:
-I created, using VirtualDUB 1.9.11 for AMD64 platforms, an AVI file called
"Big Buck Bunny.avi" with a RGB24 video encoded at 24 fps with Lagarith v.
1.3.27 (64-bit) using the 1920 x 1080 png-encoded frames of Big Buck Bunny
downloaded from Xiph.org (in the "Video color depth" window the
decompression format is set to "Autoselect" and the output format is set to
"Same as decompression format"), and the PCM-encoded surround audio tracks
of Big Buck Bunny downloaded from Xiph.org and decoded with FLAC frontend
version 1.7.1. The setting of the Lagarith encoder are:
-Enable Null frames
-Mode: RGB (default)
-Use Multithreading
-Prevent Upsampling when Decoding
I attach the MediaInfo "advanced" output of the file created in the
"mediainfolag" file.
x264 is then executed both in single pass VBR and 2-pass VBR mode. For
single pass VBR the command executed is:
x264 --bitrate 35000 --preset veryslow --tune animation --bluray-compat
--vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop
--slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709"
--sar 1:1 --psnr --ssim --fps 24 --log-level debug -o "BBBnopass.mp4" "Big
Buck Bunny.avi" >x264nopasslog 2>&1
Everything seems to work fine. The stream created appears to be fine,
without evident corruption. The debug log is attached in the
"x264nopasslog" file.
When doing the 2-pass encoding the first pass is executed through the
following command:
x264 --bitrate 35000 --preset veryslow --tune animation --bluray-compat
--vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop
--slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709"
--sar 1:1 --psnr --ssim --fps 24 --pass 1 --log-level debug -o "BBB.mp4"
"Big Buck Bunny.avi" >x264pass1log 2>&1
Again everything seems to work well. The debug log is attached in the
"x264pass1log" file.
When executing the second pass through the following command:
x264 --bitrate 35000 --preset veryslow --tune animation --bluray-compat
--vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop
--slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709"
--sar 1:1 --psnr --ssim --fps 24 --pass 2 --log-level debug -o "BBB.mp4"
"Big Buck Bunny.avi" >x264pass2log 2>&1
The encoder crashes apparently on frame 1802. The debug log is attached in
the "x264pass2log" file.
The OS is Windows 7 Ultimate Service Pack 1 (version 6.1.7601), 64-bit
edition, and the computer has an Intel Core 2 Duo E8400 CPU, an ASUS P5Q
motherboard,an ATI HD4670 video card, a Seagate Barracuda 7200.14 2TB hard
drive and 4GB of DDR2 RAM.
I would like to know if this problem is related only to my system or if it
is a general problem. Unfortunately I'm not an expert, I was just curious
to know how well x264 performs when encoding streams suitable for Blu-Ray
discs.
Yours,
Marco Vuano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20121015/5ed23567/attachment-0001.html>
-------------- next part --------------
Generale
Count                                    : 279
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : Generale
Stream identifier                        : 0
Count of video streams                   : 1
Count of audio streams                   : 1
Video_Format_List                        : Lagarith
Video_Format_WithHint_List               : Lagarith
Codecs Video                             : Lagarith
Audio_Format_List                        : PCM
Audio_Format_WithHint_List               : PCM
Audio codecs                             : PCM
Complete name                            : E:\Film\Big Buck Bunny\Big Buck Bunny.avi
Folder name                              : E:\Film\Big Buck Bunny
File name                                : Big Buck Bunny
File extension                           : avi
Format                                   : AVI
Format                                   : AVI
Format/Info                              : Audio Video Interleave
Format/Extensions usually used           : avi
Commercial name                          : AVI
Format profile                           : OpenDML
Internet media type                      : video/vnd.avi
Interleaved                              : Yes
Codec                                    : AVI
Codec                                    : AVI
Codec/Info                               : Audio Video Interleave
Codec/Extensions usually used            : avi
File size                                : 27586268066
File size                                : 25,7 GiB
File size                                : 26 GiB
File size                                : 26 GiB
File size                                : 25,7 GiB
File size                                : 25,69 GiB
Duration                                 : 596462
Duration                                 : 9min 56s
Duration                                 : 9min 56s 462ms
Duration                                 : 9min 56s
Duration                                 : 00:09:56.462
Overall bit rate                         : 369998666
Overall bit rate                         : 370 Mbps
Stream size                              : 510714
Stream size                              : 499 KiB (0%)
Stream size                              : 499 KiB
Stream size                              : 499 KiB
Stream size                              : 499 KiB
Stream size                              : 498,7 KiB
Stream size                              : 499 KiB (0%)
Proportion of this stream                : 0.00002
File creation date                       : UTC 2012-10-12 10:29:13.874
File creation date (local)               : 2012-10-12 12:29:13.874
File last modification date              : UTC 2012-10-12 11:45:23.226
File last modification date (local)      : 2012-10-12 13:45:23.226
Writing library                          : VirtualDub build 32842/release
Writing library                          : VirtualDub build 32842/release

Video
Count                                    : 248
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
ID                                       : 0
ID                                       : 0
Format                                   : Lagarith
Commercial name                          : Lagarith
Codec ID                                 : LAGS
Codec                                    : LAGS
Codec                                    : Lagarith
Codec/Info                               : Lagarith LossLess
Codec/CC                                 : LAGS
Duration                                 : 596462
Duration                                 : 9min 56s
Duration                                 : 9min 56s 462ms
Duration                                 : 9min 56s
Duration                                 : 00:09:56.462
Bit rate                                 : 363079820
Bit rate                                 : 363 Mbps
Width                                    : 1920
Width                                    : 1.920 pixel
Height                                   : 1080
Height                                   : 1.080 pixel
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Frame rate                               : 24.000
Frame rate                               : 24,000 fps
Frame count                              : 14315
Color space                              : Grey
Bits/(Pixel*Frame)                       : 7.296
Stream size                              : 27070414472
Stream size                              : 25,2 GiB (98%)
Stream size                              : 25 GiB
Stream size                              : 25 GiB
Stream size                              : 25,2 GiB
Stream size                              : 25,21 GiB
Stream size                              : 25,2 GiB (98%)
Proportion of this stream                : 0.98130

Audio
Count                                    : 217
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
ID                                       : 1
ID                                       : 1
Format                                   : PCM
Commercial name                          : PCM
Format settings                          : Little / Signed
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : 00001000-0000-0100-8000-00AA00389B71
Codec ID/Url                             : http://www.microsoft.com/windows/
Codec                                    : PCM
Codec                                    : PCM
Codec/Family                             : PCM
Codec/Info                               : Extensible wave format
Codec/CC                                 : FFFE
Codec settings                           : Little / Signed
Codec settings, Endianness               : Little
Codec settings, Sign                     : Signed
Duration                                 : 596462
Duration                                 : 9min 56s
Duration                                 : 9min 56s 462ms
Duration                                 : 9min 56s
Duration                                 : 00:09:56.462
Bit rate mode                            : CBR
Bit rate mode                            : Costante
Bit rate                                 : 6912000
Bit rate                                 : 6.912 Kbps
Channel(s)                               : 6
Channel(s)                               : 6 canali
Channel positions                        : Front: L C R, Side: L R, LFE
Channel positions                        : 3/2/0.1
Sampling rate                            : 48000
Sampling rate                            : 48,0 KHz
Samples count                            : 28630176
Resolution                               : 24
Resolution                               : 24 bit
Bit depth                                : 24
Bit depth                                : 24 bit
Stream size                              : 515342880
Stream size                              : 491 Mb (2%)
Stream size                              : 491 Mb
Stream size                              : 491 Mb
Stream size                              : 491 Mb
Stream size                              : 491,5 Mb
Stream size                              : 491 Mb (2%)
Proportion of this stream                : 0.01868
Interleave, duration                     : 1.00
Interleave, duration                     : 42
Interleave, duration                     : 42 ms (1,00 frame)
Interleave, preload duration             : 500
Interleave, preload duration             : 500 ms

-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264nopasslog
Type: application/octet-stream
Size: 2148049 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20121015/5ed23567/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264pass2log
Type: application/octet-stream
Size: 324213 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20121015/5ed23567/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264pass1log
Type: application/octet-stream
Size: 2148880 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20121015/5ed23567/attachment-0005.obj>


More information about the x264-devel mailing list