Log in

View Full Version : Problem encoding MPEG4 (AVC) blu-ray disk


Willobee
11th December 2009, 03:55
I have been using BD rebuilder to back up my blu-ray collection and have had much success encoding VC-1 and MPEG2 videos. When the blu-ray contains MPEG4 (AVC) video I always get a message from a window that says a problem has occurred with x264.exe. I press the "do not send" button and BD-RB shows "encode failed. Retrying" in the log window and continues. The video encode usually fails again and BD-RB says it has reached the retry limit and aborts. I run BD-RB again and it starts where it left off. Eventually, after many retries, the video encode is successful and I end up with a good blu-ray back up.

Disks are region 1 US. Using AnyDvd HD for ripping.

Anyone have any ideas of what may be causing this problem?

Windows XP home 32 bit
BD-RB v0.31.05 (have had problem all along with previous versions)
FFDShow 3133 (downloaded from the link listed on the first post of the bug thread)
h.264/avc=libavcodec
mpeg2=libavcodec
vc-1=disabled (wmp11 installed)
Hali splitter 1.9.42.1 (downloaded from the link on the first post of the bug thread)
AVISynth 2.58

files from a rebuild of The Sixth Sense up to the first error message.

bdrebuilder.ini
[Options]
MODE=0
PRIORITY_CLASS=0
TARGET_SIZE=23000
VERBOSE_STATUS=1
AUDIO_TO_KEEP=eng;
SUBS_TO_KEEP=eng;
SD_CONVERT=0
COLOR_BOOST=0
RESIZE_1080=0
DTS_REENCODE=0
AC3_REENCODE=0
AC3_640=1
KEEP_HD_AUDIO=1
AVCHD=0
REMOVE_WORKFILES=0
AUDIO_TRACK_LIMIT=1
SUBTITLE_TRACK_LIMIT=1
CUSTOM_TARGET_SIZE=23450
[Paths]
WORKING_PATH=C:\WORKING\
SOURCE_PATH=C:\SEV1NNE1\

bd-rebuilder.log
-----------------------
[19:40:33] BD Rebuilder v0.31.05 (beta)
- Source: SEV1NNE1
- Input BD size: 30.00 GB
- Approximate total content: [03:56:54.858]
- Target BD size: 22.46 GB
- Windows Version: 5.1 [2600]
- SHUTDOWN at completion enabled
- Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640
[19:40:33] PHASE ONE, Encoding
- [19:40:33] Extracting A/V streams [VID_00026]
- [19:40:34] Reencoding: VID_00026 (1 of 19)
- [19:40:34] Collecting video information
- Video: 1920x1080, 23.976fps, 168 frames
- [19:40:34] Reencoding: VID_00026, Pass 1 of 1
- [19:40:39] Video Encode complete
- [19:40:39] Reencoding audio tracks (if req'd)
- [19:40:39] Multiplexing M2TS
- [19:40:39] Extracting A/V streams [VID_00096]
- [19:40:40] Reencoding: VID_00096 (2 of 19)
- [19:40:40] Collecting video information
- Video: 720x480, 29.970fps, 798 frames
- [19:40:40] Reencoding: VID_00096, Pass 1 of 1
- [19:40:43] Video Encode complete
- [19:40:43] Reencoding audio tracks (if req'd)
- [19:40:43] Multiplexing M2TS
- [19:40:44] Extracting A/V streams [VID_00099]
- [19:40:46] Reencoding: VID_00099 (3 of 19)
- [19:40:46] Collecting video information
- Video: 720x480, 29.970fps, 2,968 frames
- [19:40:46] Reencoding: VID_00099, Pass 1 of 1
- [19:40:58] Video Encode complete
- [19:40:58] Reencoding audio tracks (if req'd)
- [19:40:58] Multiplexing M2TS
- [19:40:59] Extracting A/V streams [VID_00019]
- [19:41:01] Reencoding: VID_00019 (4 of 19)
- [19:41:01] Collecting video information
- Video: 1920x1080, 23.976fps, 695 frames
- [19:41:01] Reencoding: VID_00019, Pass 1 of 1
- [19:41:21] Video Encode complete
- [19:41:21] Reencoding audio tracks (if req'd)
- [19:41:21] Multiplexing M2TS
- [19:41:22] Extracting A/V streams [VID_00118]
- [19:41:25] Reencoding: VID_00118 (5 of 19)
- [19:41:25] Collecting video information
- Video: 1920x1080, 23.976fps, 840 frames
- [19:41:25] Reencoding: VID_00118, Pass 1 of 1
- [19:41:49] Video Encode complete
- [19:41:49] Reencoding audio tracks (if req'd)
- [19:41:49] Multiplexing M2TS
- [19:41:50] Extracting A/V streams [VID_00018]
- [19:41:53] Reencoding: VID_00018 (6 of 19)
- [19:41:53] Collecting video information
- Video: 1920x1080, 23.976fps, 840 frames
- [19:41:53] Reencoding: VID_00018, Pass 1 of 1
- [19:42:16] Video Encode complete
- [19:42:16] Reencoding audio tracks (if req'd)
- [19:42:16] Multiplexing M2TS
- [19:42:18] Extracting A/V streams [VID_00097]
- [19:42:21] Reencoding: VID_00097 (7 of 19)
- [19:42:21] Collecting video information
- Video: 720x480, 29.970fps, 5,785 frames
- [19:42:21] Reencoding: VID_00097, Pass 1 of 1
- [19:42:42] Video Encode complete
- [19:42:42] Reencoding audio tracks (if req'd)
- [19:42:42] Multiplexing M2TS
- [19:42:44] Extracting A/V streams [VID_00100]
- [19:42:47] Reencoding: VID_00100 (8 of 19)
- [19:42:47] Collecting video information
- Video: 720x480, 29.970fps, 6,052 frames
- [19:42:47] Reencoding: VID_00100, Pass 1 of 1
- [19:43:11] Video Encode complete
- [19:43:11] Reencoding audio tracks (if req'd)
- [19:43:11] Multiplexing M2TS
- [19:43:13] Extracting A/V streams [VID_00094]
- [19:43:17] Reencoding: VID_00094 (9 of 19)
- [19:43:17] Collecting video information
- Video: 720x480, 29.970fps, 6,344 frames
- [19:43:17] Reencoding: VID_00094, Pass 1 of 1
- [19:43:42] Video Encode complete
- [19:43:42] Reencoding audio tracks (if req'd)
- [19:43:42] Multiplexing M2TS
- [19:43:44] Extracting A/V streams [VID_00030]
- [19:43:48] Reencoding: VID_00030 (10 of 19)
- [19:43:48] Collecting video information
- Video: 1920x1080, 23.976fps, 1,306 frames
- [19:43:48] Reencoding: VID_00030, Pass 1 of 1
- [19:44:16] Video Encode complete
- [19:44:16] Reencoding audio tracks (if req'd)
- [19:44:16] Multiplexing M2TS
- [19:44:18] Extracting A/V streams [VID_00098]
- [19:44:24] Reencoding: VID_00098 (11 of 19)
- [19:44:24] Collecting video information
- Video: 720x480, 29.970fps, 11,238 frames
- [19:44:24] Reencoding: VID_00098, Pass 1 of 1
- [19:45:08] Video Encode complete
- [19:45:08] Reencoding audio tracks (if req'd)
- [19:45:08] Multiplexing M2TS
- [19:45:11] Extracting A/V streams [VID_00095]
- [19:45:17] Reencoding: VID_00095 (12 of 19)
- [19:45:17] Collecting video information
- Video: 720x480, 29.970fps, 10,788 frames
- [19:45:17] Reencoding: VID_00095, Pass 1 of 1
- [19:45:58] Video Encode complete
- [19:45:58] Reencoding audio tracks (if req'd)
- [19:45:58] Multiplexing M2TS
- [19:46:01] Extracting A/V streams [VID_00093]
- [19:46:07] Reencoding: VID_00093 (13 of 19)
- [19:46:07] Collecting video information
- Video: 720x480, 29.970fps, 11,938 frames
- [19:46:07] Reencoding: VID_00093, Pass 1 of 1
- [19:46:51] Video Encode complete
- [19:46:51] Reencoding audio tracks (if req'd)
- [19:46:51] Multiplexing M2TS
- [19:46:54] Extracting A/V streams [VID_00016]
- [19:47:02] Reencoding: VID_00016 (14 of 19)
- [19:47:02] Collecting video information
- Video: 1920x1080, 23.976fps, 2,482 frames
- [19:47:02] Reencoding: VID_00016, Pass 1 of 1
- [19:47:49] Video Encode complete
- [19:47:49] Reencoding audio tracks (if req'd)
- [19:47:49] Multiplexing M2TS
- [19:47:52] Extracting A/V streams [VID_00025]
- [19:48:05] Reencoding: VID_00025 (15 of 19)
- [19:48:05] Collecting video information
- Video: 1920x1080, 23.976fps, 3,655 frames
- [19:48:05] Reencoding: VID_00025, Pass 1 of 1
- [19:49:14] Video Encode complete
- [19:49:14] Reencoding audio tracks (if req'd)
- [19:49:14] Multiplexing M2TS
- [19:49:18] Extracting A/V streams [VID_00092]
- [19:49:33] Reencoding: VID_00092 (16 of 19)
- [19:49:33] Collecting video information
- Video: 720x480, 29.970fps, 26,762 frames
- [19:49:33] Reencoding: VID_00092, Pass 1 of 1
- [19:51:11] Video Encode complete
- [19:51:11] Reencoding audio tracks (if req'd)
- [19:51:11] Multiplexing M2TS
- [19:51:17] Extracting A/V streams [VID_00091]
- [19:51:54] Reencoding: VID_00091 (17 of 19)
- [19:51:54] Collecting video information
- Video: 720x480, 29.970fps, 67,192 frames
- [19:51:54] Reencoding: VID_00091, Pass 1 of 1
- [19:55:53] Video Encode complete
- [19:55:53] Reencoding audio tracks (if req'd)
- [19:55:53] Multiplexing M2TS
- [19:56:05] Extracting A/V streams [VID_00054]
- [19:56:43] Reencoding: VID_00054 (18 of 19)
- [19:56:43] Collecting video information
- Video: 720x480, 29.970fps, 70,561 frames
- [19:56:43] Reencoding: VID_00054, Pass 1 of 1
- [20:01:06] Video Encode complete
- [20:01:06] Reencoding audio tracks (if req'd)
- [20:01:06] Multiplexing M2TS
- [20:01:21] Extracting A/V streams [VID_00023]
- [20:08:51] Reencoding: VID_00023 (19 of 19)
- [20:08:51] Collecting video information
- Video: 1920x1080, 23.976fps, 154,489 frames
- Bitrate: 21,819 Kbs
- [20:08:51] Reencoding: VID_00023, Pass 1 of 2
- Encode failed. Retrying.

lastcmd.txt
"C:\BD_Rebuilder\tools\x264.exe" "C:\WORKING\WORKFILES\VID_00023.AVS" --preset medium --weightp 0 --qpmin=0 --bitrate 21819 --level 4.1
--sar 1:1 --aud --nal-hrd --vbv-bufsize 30000 --keyint 24 --min-keyint 1 --ipratio 1.1 --pbratio 1.1 --vbv-maxrate 35000 -
-threads auto --slices 4 --thread-input --stats "C:\WORKING\WORKFILES\VID_00023.AVS.MKV.stats" --pass 1 --output NUL

sev1nne1.ini
[Status]
LABEL=SEV1NNE1
VERSION=v0.31.05 (beta)
SOURCE_SIZE=32213039092
SOURCE_VIDEO_SIZE=31721287680
TARGET_SIZE=24117248000
REDUCTION=.744783655264275
RESIZE_1080=0
AUDIO_TO_KEEP=eng;
SUBS_TO_KEEP=eng;
BACKUP_MODE=0
QUICK=1
ENCODE_STEP=1
COMPLETED=18
[00026]
AUDIO=1
PGS=
M2TS_TARGET=12199485
NSIZE=7200768
FLINK=0
MLINK=0
[00096]
AUDIO=1
PGS=1000
M2TS_TARGET=14867264
NSIZE=10641408
FLINK=0
MLINK=0
[00099]
AUDIO=1
PGS=1000
M2TS_TARGET=53177124
NSIZE=47659008
FLINK=0
MLINK=0
[00019]
AUDIO=1
PGS=
M2TS_TARGET=70401003
NSIZE=47456256
FLINK=0
MLINK=0
[00118]
AUDIO=1
PGS=
M2TS_TARGET=85144716
NSIZE=56788992
FLINK=0
MLINK=0
[00018]
AUDIO=1
PGS=
M2TS_TARGET=85341482
NSIZE=56733696
FLINK=0
MLINK=0
[00097]
AUDIO=1
PGS=1000
M2TS_TARGET=103475975
NSIZE=73967616
FLINK=0
MLINK=0
[00100]
AUDIO=1
PGS=1000
M2TS_TARGET=108312755
NSIZE=97443840
FLINK=0
MLINK=0
[00094]
AUDIO=1
PGS=1000
M2TS_TARGET=119560442
NSIZE=93106176
FLINK=0
MLINK=0
[00030]
AUDIO=1
PGS=
M2TS_TARGET=151500578
NSIZE=139100160
FLINK=0
MLINK=0
[00098]
AUDIO=1
PGS=1000
M2TS_TARGET=201264043
NSIZE=189843456
FLINK=0
MLINK=0
[00095]
AUDIO=1
PGS=1000
M2TS_TARGET=203524563
NSIZE=143572992
FLINK=0
MLINK=0
[00093]
AUDIO=1
PGS=1000
M2TS_TARGET=222153258
NSIZE=142964736
FLINK=0
MLINK=0
[00016]
AUDIO=1
PGS=
M2TS_TARGET=304552404
NSIZE=207083520
FLINK=0
MLINK=0
[00025]
AUDIO=1
PGS=
M2TS_TARGET=433713191
NSIZE=333219840
FLINK=0
MLINK=0
[00092]
AUDIO=1
PGS=1000
M2TS_TARGET=495763083
NSIZE=441999360
FLINK=0
MLINK=0
[00091]
AUDIO=1
PGS=1000
M2TS_TARGET=1252895323
NSIZE=946679808
FLINK=0
MLINK=0
[00054]
AUDIO=1
PGS=1000
M2TS_TARGET=1361862439
NSIZE=1068226560
FLINK=0
MLINK=0
[00023]
AUDIO=0100
PGS=100000
M2TS_TARGET=19521808396
RATE=21819

jdobbs
11th December 2009, 14:58
Just as an experiment you may want to try using AVISYNTH 2.57. You may also want to try cutting the command line from LASTCMD.TXT and pasting it into a DOS window so you can see the exact error from X264. If it just "crashes" -- then open the associated AVS file with MS Media Player or Media Player Classic, and see if there is an error shown there.

Willobee
20th December 2009, 14:50
Thanks jdobbs for the quick reply. I rolled AVISynth back to 2.57 and that appears to have fixed the problem. Rebuilt a Blu-Ray with two large MPEG4(AVC) video files and it worked perfectly.