Anime4000 / IFME

Powerful x265 GUI Encoder
https://x265.github.io/
GNU General Public License v2.0
241 stars 54 forks source link

[Error] MkvToolNix can't merge #125

Closed L0Lock closed 7 years ago

L0Lock commented 7 years ago

Hi.

I have this issue when I try to encode some specific files, the merging fails and i end up with a unreadable .mkv file only a few Kb size, plus a folder named like the file containing all the subtitles, audio track, video track, chapters file, subtitles file, etc.

I use IFME v7.2 with the Internet sharing MKV preset on Windows 10 64bits.

Here is the console content :

ifme [info]: Clearing temp folder: C:\Users\loicd\AppData\Local\Temp\IFME
ifme [info]: Extracting chapters, subtitles and fonts :)
ifme [info]: Run command: "C:\AppInstl\Internet Friendly Media Encoder\plugin\ffmpeg64\ffmpeg" -hide_banner -v quiet -i "C:\Users\loicd\Desktop\Temp\Encoding\files\in\test.mkv" -map 0:2 -y subtitle0000_fre.ass
ifme [info]: Run command: "C:\AppInstl\Internet Friendly Media Encoder\plugin\ffmpeg64\ffmpeg" -hide_banner -v quiet -dump_attachment:t "" -i "C:\Users\loicd\Desktop\Temp\Encoding\files\in\test.mkv" -y
ifme [info]: Run command: "C:\AppInstl\Internet Friendly Media Encoder\plugin\mkvtoolnix\mkvextract" chapters "C:\Users\loicd\Desktop\Temp\Encoding\files\in\test.mkv" > chapters.xml
ifme [info]: Encoding audio, please wait...
ifme [info]: Run command: "C:\AppInstl\Internet Friendly Media Encoder\plugin\sound.aac.ffmpeg\..\ffmpeg64\ffmpeg" -hide_banner -v error -stats -strict -2 -i "C:\Users\loicd\Desktop\Temp\Encoding\files\in\test.mkv" -map 0:1  -b:a 128000 -vn -sn -dn -y "audio0000_jpn.m4a"
size=   23725kB time=00:24:12.09 bitrate= 133.8kbits/s speed=27.1x
ifme [info]: Audio encoding OK!
ifme [info]: Encoding video, this take a while...
ifme [info]: Run command: "C:\AppInstl\Internet Friendly Media Encoder\plugin\ffmpeg64\ffmpeg" -hide_banner -v error -i "C:\Users\loicd\Desktop\Temp\Encoding\files\in\test.mkv" -strict -1 -map 0:0 -f yuv4mpegpipe -pix_fmt yuv420p -s 1280x720 -r 23.976  - | "C:\AppInstl\Internet Friendly Media Encoder\plugin\video.x265gcc\x265-08" - --y4m -p slower --crf 27 -t psnr --output-depth 8 -f 35077 -o video0000_jpn.hevc
y4m  [info]: 1280x720 fps 2997/125 i420p8 sar 1:1 unknown frame count
raw  [info]: output file: video0000_jpn.hevc
x265 [info]: HEVC encoder version 2.4+68-011e09a0d4b2
x265 [info]: build info [Windows][GCC 7.1.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(12 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 2 inter / 2 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 23 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 30 / 8 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 1
x265 [info]: References / ref-limit  cu / depth  : 4 / on / off
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 0.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-27.0 / 0.60
x265 [info]: tools: rect amp limit-modes rd=6 rdoq=2 rskip limit-tu=4 signhide
x265 [info]: tools: tmvp b-intra strong-intra-smoothing lslices=4 deblock sao
x265 [info]: frame I:    338, Avg QP:27.00  kb/s: 3925.26
x265 [info]: frame P:   6220, Avg QP:30.61  kb/s: 447.44
x265 [info]: frame B:  28257, Avg QP:34.55  kb/s: 50.86
x265 [info]: Weighted P-Frames: Y:1.8% UV:1.3%
x265 [info]: Weighted B-Frames: Y:1.2% UV:0.9%
x265 [info]: consecutive B-frames: 8.8% 4.2% 5.9% 19.4% 9.4% 20.4% 13.1% 12.2% 6.7%

encoded 34815 frames in 2975.52s (11.70 fps), 159.32 kb/s, Avg QP:33.77
ifme [info]: Merging RAW files as single media file
ifme [info]: Run command: "C:\AppInstl\Internet Friendly Media Encoder\plugin\mkvtoolnix\mkvmerge" -o "C:\Users\loicd\Desktop\Temp\Encoding\files\out\test.mkv" --disable-track-statistics-tags -t 0:"C:\Users\loicd\AppData\Local\Temp\IFME\tags.xml" --language 0:jpn "C:\Users\loicd\AppData\Local\Temp\IFME\video0000_jpn.hevc"  --language 0:jpn "C:\Users\loicd\AppData\Local\Temp\IFME\audio0000_jpn.m4a"  --sub-charset 0:UTF-8 --language 0:fre "C:\Users\loicd\AppData\Local\Temp\IFME\subtitle0000_fre.ass"  --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\232MKRB.TTF" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\BRUSH-HYOUKA.TTF" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\CHIAROSTDEN-B.OTF" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\DCPRyuuMoji-W12.ttf" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\DFPMARUGOTHIC-W6-KAMI-WINP-RKSJ-H.TTF" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\FOT Rodin Pro UB.ttf" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\FOTMODEMINSTDBOLD.TTF" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KGBlankSpace-Solid.ttf" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KozGoPr6N-Bold.otf" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KOZGOPRO-HEAVY-MADOKA.TTF" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KozGoPro-Light.otf" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KOZUKAGOTHICMIKAKUNIN-BOLD.TTF" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KOZUKAGOTHICPROM-ENG-MEDIUM.TTF" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KOZUKAGOTHICREGULARNORAGAMI.TTF" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KOZUKAMINCHOPR6NM-EN.TTF" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\OkayMarker-Regular.ttf" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\PPETRIAL.ttf" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\Simple Kind Of Girl.ttf" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\ThrowMyHandsUpintheAir.ttf" --attach-file "C:\Users\loicd\AppData\Local\Temp\IFME\attachments\ufonts.com_diverda-sans-com-medium.ttf"  --chapters "C:\Users\loicd\AppData\Local\Temp\IFME\chapters.xml"
mkvmerge v8.4.0 ('A better way to fly') 64bit
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\232MKRB.TTF': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\BRUSH-HYOUKA.TTF': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\CHIAROSTDEN-B.OTF': application/vnd.ms-opentype
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\DCPRyuuMoji-W12.ttf': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\DFPMARUGOTHIC-W6-KAMI-WINP-RKSJ-H.TTF': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\FOT Rodin Pro UB.ttf': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\FOTMODEMINSTDBOLD.TTF': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KGBlankSpace-Solid.ttf': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KozGoPr6N-Bold.otf': application/vnd.ms-opentype
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KOZGOPRO-HEAVY-MADOKA.TTF': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KozGoPro-Light.otf': application/vnd.ms-opentype
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KOZUKAGOTHICMIKAKUNIN-BOLD.TTF': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KOZUKAGOTHICPROM-ENG-MEDIUM.TTF': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KOZUKAGOTHICREGULARNORAGAMI.TTF': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\KOZUKAMINCHOPR6NM-EN.TTF': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\OkayMarker-Regular.ttf': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\PPETRIAL.ttf': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\Simple Kind Of Girl.ttf': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\ThrowMyHandsUpintheAir.ttf': application/x-truetype-font
Automatic MIME type recognition for 'C:\Users\loicd\AppData\Local\Temp\IFME\attachments\ufonts.com_diverda-sans-com-medium.ttf': application/x-truetype-font
'C:\Users\loicd\AppData\Local\Temp\IFME\video0000_jpn.hevc': Using the demultiplexer for the format 'HEVC/h.265'.
'C:\Users\loicd\AppData\Local\Temp\IFME\audio0000_jpn.m4a': Using the demultiplexer for the format 'QuickTime/MP4'.
'C:\Users\loicd\AppData\Local\Temp\IFME\subtitle0000_fre.ass': Using the demultiplexer for the format 'SSA/ASS subtitles'.
'C:\Users\loicd\AppData\Local\Temp\IFME\video0000_jpn.hevc' track 0: Using the output module for the format 'HEVC/h.265 (unframed)'.
'C:\Users\loicd\AppData\Local\Temp\IFME\audio0000_jpn.m4a' track 0: Using the output module for the format 'AAC'.
'C:\Users\loicd\AppData\Local\Temp\IFME\subtitle0000_fre.ass' track 0: Using the output module for the format 'text subtitles'.
The file 'C:\Users\loicd\Desktop\Temp\Encoding\files\out\test.mkv' has been opened for writing.
'C:\Users\loicd\AppData\Local\Temp\IFME\video0000_jpn.hevc' track 0: Extracted the aspect ratio information from the HEVC video data and set the display dimensions to 1280/720.
Error: Re-rendering track headers: data_size != 0 not implemented yet. This should not have happened. Please contact the author Moritz Bunkus <moritz@bunkus.org> with this error/warning message, a description of what you were trying to do, the command line used and which operating system you are using. Thank you.
ifme [erro]: MkvToolNix can't merge on first attempt, trying to skip adding tags, chapters & fonts!
ifme [info]: Run command: "C:\AppInstl\Internet Friendly Media Encoder\plugin\mkvtoolnix\mkvmerge" -o "C:\Users\loicd\Desktop\Temp\Encoding\files\out\test.mkv" --disable-track-statistics-tags --language 0:jpn "C:\Users\loicd\AppData\Local\Temp\IFME\video0000_jpn.hevc"  --language 0:jpn "C:\Users\loicd\AppData\Local\Temp\IFME\audio0000_jpn.m4a"  --sub-charset 0:UTF-8 --language 0:fre "C:\Users\loicd\AppData\Local\Temp\IFME\subtitle0000_fre.ass"
mkvmerge v8.4.0 ('A better way to fly') 64bit
'C:\Users\loicd\AppData\Local\Temp\IFME\video0000_jpn.hevc': Using the demultiplexer for the format 'HEVC/h.265'.
'C:\Users\loicd\AppData\Local\Temp\IFME\audio0000_jpn.m4a': Using the demultiplexer for the format 'QuickTime/MP4'.
'C:\Users\loicd\AppData\Local\Temp\IFME\subtitle0000_fre.ass': Using the demultiplexer for the format 'SSA/ASS subtitles'.
'C:\Users\loicd\AppData\Local\Temp\IFME\video0000_jpn.hevc' track 0: Using the output module for the format 'HEVC/h.265 (unframed)'.
'C:\Users\loicd\AppData\Local\Temp\IFME\audio0000_jpn.m4a' track 0: Using the output module for the format 'AAC'.
'C:\Users\loicd\AppData\Local\Temp\IFME\subtitle0000_fre.ass' track 0: Using the output module for the format 'text subtitles'.
The file 'C:\Users\loicd\Desktop\Temp\Encoding\files\out\test.mkv' has been opened for writing.
'C:\Users\loicd\AppData\Local\Temp\IFME\video0000_jpn.hevc' track 0: Extracted the aspect ratio information from the HEVC video data and set the display dimensions to 1280/720.
Error: Re-rendering track headers: data_size != 0 not implemented yet. This should not have happened. Please contact the author Moritz Bunkus <moritz@bunkus.org> with this error/warning message, a description of what you were trying to do, the command line used and which operating system you are using. Thank you.
ifme [erro]: MkvToolNix still can't merge on second attempt! BACKUP ALL RAW FILE TO SAVE FOLDER!
ifme [info]: Yay! All media done encoding...
Anime4000 commented 7 years ago

This error, Mkvtoolnix I bundle it likely outdated

ifme [erro]: MkvToolNix still can't merge on second attempt! BACKUP ALL RAW FILE TO SAVE FOLDER!

check if output folder have backup/un-merge files, and try merge manually using latest Mkvtoolnix?

L0Lock commented 7 years ago

Ok. I downloaded the portable version here, then unpacked in IFME's MkvToolNix. Since, it works well. Thank you.

Anime4000 commented 7 years ago

Thanks for inform, now I update mkvtoolnix to the latest version