我正在尝试将 .mkv 转换为 .mp4 以下是我的终端。我收到一条错误消息
找不到 H264 起始代码。导入 video.h264 时出错:BitStream 不兼容
gayan@GayanF:~/Videos/converted$ mkvmerge --identify file.mkv
File 'file.mkv': container: Matroska
Track ID 0: video (VP9)
Track ID 1: audio (AAC)
Global tags: 1 entry
Tags for track ID 0: 2 entries
Tags for track ID 1: 4 entries
gayan@GayanF:~/Videos/converted$ mkvextract tracks file.mkv 0:video.h264 1:audio.ac3
Extracting track 0 with the CodecID 'V_VP9' to the file 'video.h264'. Container format: IVF
Extracting track 1 with the CodecID 'A_AAC' to the file 'audio.ac3'. Container format: raw AAC file with ADTS headers
Progress: 100%
gayan@GayanF:~/Videos/converted$ MP4Box -fps 24 -add video.h264 -add audio.ac3 video.mp4
Cannot find H264 start code
Error importing video.h264: BitStream Not Compliant