FFmpeg 原始 10 位帧转为 mp4

FFmpeg 原始 10 位帧转为 mp4

我在文件“2.raw”中存储了一个单帧,每个颜色都有 128 位浮点格式。我可以用它来制作 H.265 10 位视频吗?

ffmpeg -y -f rawvideo -pix_fmt gbrapf32be -s:v 3072:1536 -i 2.raw -c:v libx265 output.mp4

ffmpeg version git-2019-12-11-4110029 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20191125
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 36.101 / 56. 36.101
  libavcodec     58. 64.101 / 58. 64.101
  libavformat    58. 35.101 / 58. 35.101
  libavdevice    58.  9.101 / 58.  9.101
  libavfilter     7. 68.100 /  7. 68.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
[rawvideo @ 000001a1547dc780] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '2.raw':
  Duration: 00:00:01.12, start: 0.000000, bitrate: 15099494 kb/s
    Stream #0:0: Video: rawvideo, gbrapf32be, 3072x1536, 15099494 kb/s, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> hevc (libx265))
Press [q] to stop, [?] for help
Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #0:0

我正在尝试查看 ffmpeg 可以创建什么文件来支持 10 位 H265 编码。

相关内容