エラーを吐き出してエンコードを途中で終わらせるのならわかるが、何もエラーが無いのは正直困った。
原因:原因は動画ファイルの中に何かしらのエラーがあるためそこでエンコーディングが終了してしまう。
解決策:mkvmergeにて動画ファイルを通す。
mkvmergeを通す時はmkvmergeの初期設定のまま書き出しフォルダーにファイル名を指定して出力すれば勝手にmkvmergeが問題を解決してくれる。
mkvファイルを通すのはすぐに終わる。通すと以下の様になる。
アウトプットが吐き出した内容
mkvmerge v7.8.0 (‘River Man’) 64bit built on Mar 27 2015 16:31:37
kax i am at 6078
‘O:\test1-broken.mkv’: Using the demultiplexer for the format ‘Matroska’.
create pack at 6078
‘O:\test1-broken.mkv’ track 0: Using the output module for the format ‘AVC/h.264’.
‘O:\test1-broken.mkv’ track 1: Using the output module for the format ‘DTS’.
‘O:\test1-broken.mkv’ track 3: Using the output module for the format ‘HDMV PGS’.
The file ‘c:\temp\test1-broken.mkv’ has been opened for writing.
O:\test1-broken.mkv: Error in the Matroska file structure at position 881934816. Resyncing to the next level 1 element.
The last timecode processed before the error was encountered was 00:21:47.724000000.
Resyncing successful at position 897894259.
The first cluster timecode after the resync is 00:22:13.875000000.
The cue entries (the index) are being written…
Muxing took 12 seconds.
Warnings
Warning: ‘O:\test1-broken.mkv’: A block was found at timestamp 00:21:45.663000000 for track number 62. However, no headers where found for that track number. The block will be skipped.
コメント