我在使用下面的 MKV Unprocessed 設定檔,將 HEVC MP4 檔案轉成 MKV 時遇到問題。播放輸出檔案時,畫面會在大約第 3 秒凍結,直到音訊追上為止。我已在 MPC 與 VLC 上驗證過。原始 MP4 不會發生這種情況,若我執行 ffmpeg -i <inputMP4> -c copy <outputMKV> 也正常。
設定檔:
[MKV Unprocessed]
Description=No video processing, just changing the container to MKV.
order=ffmpeg,copy
AllowAllCopyRemuxing=true
copy-ext=.ts
copy-remuxto=.mkv
copy-audiodelay=skip
ffmpeg-general=-threads 0 -v verbose
ffmpeg-video=-c:v copy -map 0:v -sn
ffmpeg-audio=-c:a copy -map 0:a
ffmpeg-audioac3=-c:a copy -map 0:a
ffmpeg-ext=.mkv
ffmpeg-audiodelay=skip
PreConversionCommercialRemover=true
FixedResolution=true
SkipCropping=true
AutoDeinterlace=false
DisableEncoderReordering=true
PreCustomCommandPath="C:\Program Files\PowerShell\7\pwsh.exe"
PreCustomCommandParameters="\\NAS\Video\Temp\Subtitle-CopyVerify.ps1" -SourcePath "%originalfilepath%" -SourceFileBaseName "%originalfilename%" -DestinationPath "%destinationpath%" -DestinationFileBaseName "%convertedfilename%"
PreCustomCommandPeriod=0
PreCustomCommandCritical=false
PreCustomCommandUiSession=false
PreCustomCommandUiSession=false
PreCustomCommandShowWindows=false
PreCustomCommandExitCodeCheck=false
PreCustomCommand 只是為了根據副檔名檢查 srt 或 vtt 是否有效,並將其移至目的地,因為我不需要 MCEBuddy 處理它們。
New Girl (2011) - S01E01 - Pilot.mp4-Orig-MKV-Stream_Default-2024-07-15T20-47-37.log (701.0 KB)
等我搞定 FTP 後會上傳範例檔案。