我试图从bbb-1920x1080-cfg02.mkv 中提取视频流。命令如下。
即使我只是复制源文件。
输出文件(bbb.mkv)仍无法在播放器(potplayer)中播放,仍然出现“[hevc @ 0x3a64a60]未找到起始码”的错误。
根据文档所述,它只是封装了matroska格式,没有做其他处理。
有没有人能教我如何解决这个问题?
谢谢。
ffmpeg -i bbb-1920x1080-cfg02.mkv -map 0:0 -c copy bbb.mkv
然而输出文件不能在播放器(potplayer)中播放。
我使用ffmpeg -i bbb.mkv检查信息发现有很多错误信息。
ffmpeg version N-80680-ga887fbb Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --enable-vaapi --disable-vda --disable-vdpau --disable-libxcb --disable-ffplay --disable-ffserver --disable-ffprobe --disable-indev=jack --disable-outdev=sdl --enable-libx264 --enable-libx265 --enable-gpl --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-libxcb-shape --disable-x11grab
libavutil 55. 26.100 / 55. 26.100
libavcodec 57. 46.100 / 57. 46.100
libavformat 57. 40.101 / 57. 40.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.102 / 6. 46.102
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[hevc @ 0x3a64a60] No start code is found.
[hevc @ 0x3a64a60] Error splitting the input into NAL units.
[hevc @ 0x3a64a60] No start code is found.
即使我只是复制源文件。
ffmpeg -i bbb-1920x1080-cfg02.mkv -map 0 -c copy bbb.mkv
输出文件(bbb.mkv)仍无法在播放器(potplayer)中播放,仍然出现“[hevc @ 0x3a64a60]未找到起始码”的错误。
根据文档所述,它只是封装了matroska格式,没有做其他处理。
有没有人能教我如何解决这个问题?
谢谢。