New paste Repaste Download
$ ./ffmpeg -i out.mp4 -f image2 -frames 1 output.png
ffmpeg version N-119416-ga439e93687 Copyright (c) 2000-2025 the FFmpeg developers
  built with gcc 14 (Gentoo 14.2.1_p20241221 p7)
  configuration: --enable-openssl --enable-ffnvcodec --enable-cuda-llvm --enable-libx265 --enable-gpl --enable-version3
  libavutil      60.  2.100 / 60.  2.100
  libavcodec     62.  1.102 / 62.  1.102
  libavformat    62.  0.102 / 62.  0.102
  libavdevice    62.  0.100 / 62.  0.100
  libavfilter    11.  0.100 / 11.  0.100
  libswscale      9.  0.100 /  9.  0.100
  libswresample   6.  0.100 /  6.  0.100
  libpostproc    59.  1.100 / 59.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf62.0.102
  Duration: 00:00:13.14, start: 0.000000, bitrate: 1389 kb/s
  Stream #0:0[0x1](eng): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 1066 kb/s, 24 fps, 24 tbr, 12288 tbn (default) (multilayer)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
      encoder         : Lavc62.1.102 hevc_nvenc
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
    Metadata:
      handler_name    : #Mainconcept MP4 Sound Media Handler
      vendor_id       : [0][0][0][0]
File 'output.png' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> png (native))
Press [q] to stop, [?] for help
[hevc @ 0x61325dc47f80] alignment_bit_equal_to_one=0
[hevc @ 0x61325dc47f80] Skipping invalid undecodable NALU: 1
[hevc @ 0x61325dd07440] Could not find ref with POC 10
[hevc @ 0x61325dd07440] Error constructing the frame RPS.
[hevc @ 0x61325dd07440] Skipping invalid undecodable NALU: 0
[hevc @ 0x61325de85dc0] Could not find ref with POC 10
[hevc @ 0x61325de85dc0] Error constructing the frame RPS.
[hevc @ 0x61325de85dc0] Skipping invalid undecodable NALU: 1
[hevc @ 0x61325df45280] Could not find ref with POC 16
[hevc @ 0x61325df45280] Error constructing the frame RPS.
[hevc @ 0x61325df45280] Skipping invalid undecodable NALU: 1
[hevc @ 0x61325d3d2a40] Could not find ref with POC 16
[hevc @ 0x61325d3d2a40] Error constructing the frame RPS.
[hevc @ 0x61325d3d2a40] Skipping invalid undecodable NALU: 1
Output #0, image2, to 'output.png':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf62.0.102
  Stream #0:0(eng): Video: png, rgba(pc, gbr/bt709/bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 24 fps, 24 tbn (default) (multilayer)
    Metadata:
      encoder         : Lavc62.1.102 png
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
[hevc @ 0x61325d88b800] Could not find ref with POC 20
[hevc @ 0x61325d88b800] Error constructing the frame RPS.
[hevc @ 0x61325d88b800] Skipping invalid undecodable NALU: 1
[image2 @ 0x61325d3da180] The specified filename 'output.png' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0x61325d3da180] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
[out#0/image2 @ 0x61325d3da580] video:386KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=0.201x
Filename: None. Size: 4kb. View raw, , hex, or download this file.

This paste expires on 2025-05-08 20:42:17.116055. Pasted through web.