FFMPEG || 转换 CCTV 原始 .264 素材文件

FFMPEG || 转换 CCTV 原始 .264 素材文件

下面的日志图像是文本 嗨,我想将 264 素材文件转换为 .mp4。问题是这些文件带有播放器,但不幸的是该播放器在我的 PC 上无法使用,因此我想将文件转换为 mp4,以便可以在 vlc 中播放它们。我尝试使用 ffmpeg,但使用 ffprobe 时出现以下错误

ffprobe version N-80066-g566be4f Copyright (c) 2007-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --e
nable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-li
bass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-li
bgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3l
ame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-li
bopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enab
le-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrw
benc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx
264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --en
able-decklink --enable-zlib
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 43.100 / 57. 43.100
  libavformat    57. 37.100 / 57. 37.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.100 /  6. 46.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[h264 @ 000000000059a660] Format h264 detected only with low score of 1, misdetection poss
ible!
[h264 @ 000000000068bf00] missing picture in access unit with size 1073672
[h264 @ 000000000068bf00] No start code is found.
[h264 @ 000000000068bf00] Error splitting the input into NAL units.
[h264 @ 000000000059a660] decoding for stream 0 failed
[h264 @ 000000000059a660] Could not find codec parameters for stream 0 (Video: h264, none)
: unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, h264, from 'test264.264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264, none, 25 fps, 25 tbr, 1200k tbn

如能得到任何帮助/指导,我们将非常感激。

答案1

Format h264 detected only with low score of 1, misdetection possible!

正如这个警告中所说,FFmpeg 对视频格式的判断很模糊。很有可能出现误检,因为你只能用一个同步字来猜测。

你确定吗H.264,先验证一下,好像不是。

相关内容