LINUX.ORG.RU

История изменений

Исправление aido, (текущая версия) :

А если в ответ на такое

ffmpeg -i Input.mp4 -f rawvideo -vcodec mpeg4 -s 1920x1080 -pix_fmt rgb24 output.raw
говорит следующее?

Incompatible pixel format 'rgb24' for codec 'mpeg4', auto-selecting format 'yuv420p'
Output #0, rawvideo, to 'output.raw':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.15.102
    Stream #0:0(und): Video: mpeg4, yuv420p, 1920x1080, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc56.13.100 mpeg4
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
frame=  790 fps=198 q=24.8 Lsize=    7815kB time=00:00:31.60 bitrate=2026.0kbits/s    
video:7815kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%

Исходная версия aido, :

А если в ответ на такое говорит следующее? ffmpeg -i Input.mp4 -f rawvideo -vcodec mpeg4 -s 1920x1080 -pix_fmt rgb24 output.raw

Incompatible pixel format 'rgb24' for codec 'mpeg4', auto-selecting format 'yuv420p'
Output #0, rawvideo, to 'output.raw':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.15.102
    Stream #0:0(und): Video: mpeg4, yuv420p, 1920x1080, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc56.13.100 mpeg4
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
frame=  790 fps=198 q=24.8 Lsize=    7815kB time=00:00:31.60 bitrate=2026.0kbits/s    
video:7815kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%