0
[AVHWDeviceContext @ 0x560b30ebdf80] libva: VA-API version 1.20.0
[AVHWDeviceContext @ 0x560b30ebdf80] libva: User environment variable requested driver 'virtio_gpu'
[AVHWDeviceContext @ 0x560b30ebdf80] libva: Trying to open /home/test2/vdi-terminal/experiments/virgl-video-20261105/root/usr/lib/x86_64-linux-gnu/dri/virtio_gpu_drv_video.so
[AVHWDeviceContext @ 0x560b30ebdf80] libva: Found init function __vaDriverInit_1_20
[AVHWDeviceContext @ 0x560b30ebdf80] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x560b30ebdf80] Initialised VAAPI connection: version 1.20
[AVHWDeviceContext @ 0x560b30ebdf80] VAAPI driver: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.4 for virgl (Mesa Intel(R) HD Graphics 4600 (HSW GT2)).
[AVHWDeviceContext @ 0x560b30ebdf80] Driver not found in known nonstandard list, using standard behaviour.
[Parsed_testsrc2_0 @ 0x560b30f39d40] size:2560x1440 rate:30/1 duration:-1.000000 sar:1/1
Input #0, lavfi, from 'testsrc2=size=2560x1440:rate=30':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: wrapped_avframe, 1 reference frame, yuv420p, 2560x1440 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 30 tbn
[out#0/h264 @ 0x560b30f28ac0] No explicit maps, mapping streams automatically...
[vost#0:0/h264_vaapi @ 0x560b30f3d780] Created video stream from input stream 0:0
Stream mapping:
  Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_vaapi))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 0x560b30f43bc0] w:2560 h:1440 pixfmt:yuv420p tb:1/30 fr:30/1 sar:1/1
[auto_scale_0 @ 0x560b30f44c40] w:iw h:ih flags:'' interl:0
[Parsed_format_0 @ 0x560b30f402c0] auto-inserting filter 'auto_scale_0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_format_0'
[auto_scale_0 @ 0x560b30f44c40] w:2560 h:1440 fmt:yuv420p sar:1/1 -> w:2560 h:1440 fmt:nv12 sar:1/1 flags:0x00000004
[h264_vaapi @ 0x560b30f3db40] Using input frames context (format vaapi) with h264_vaapi encoder.
[h264_vaapi @ 0x560b30f3db40] Input surface format is nv12.
[h264_vaapi @ 0x560b30f3db40] Using VAAPI profile VAProfileH264High (7).
[h264_vaapi @ 0x560b30f3db40] Using VAAPI entrypoint VAEntrypointEncSlice (6).
[h264_vaapi @ 0x560b30f3db40] Using VAAPI render target format YUV420 (0x1).
[h264_vaapi @ 0x560b30f3db40] RC mode: CBR.
[h264_vaapi @ 0x560b30f3db40] RC target: 100% of 30000000 bps over 33 ms.
[h264_vaapi @ 0x560b30f3db40] RC buffer: 1000000 bits, initial fullness 750000 bits.
[h264_vaapi @ 0x560b30f3db40] RC framerate: 30/1 (30.00 fps).
[h264_vaapi @ 0x560b30f3db40] Driver does not report any additional prediction constraints.
[h264_vaapi @ 0x560b30f3db40] Using intra and P-frames (supported references: 1 / 0).
[h264_vaapi @ 0x560b30f3db40] All wanted packed headers available (wanted 0xd, found 0x1f).
[h264_vaapi @ 0x560b30f3db40] Using level 5.
Output #0, h264, to '/tmp/vdi-vaapi-test.h264':
  Metadata:
    encoder         : Lavf60.16.100
  Stream #0:0: Video: h264 (High), 1 reference frame, vaapi(tv, progressive), 2560x1440 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 30000 kb/s, 30 fps, 30 tbn
    Metadata:
      encoder         : Lavc60.31.102 h264_vaapi
frame=    0 fps=0.0 q=0.0 size=       0kB time=N/A bitrate=N/A speed=N/A    
No more output streams to write to, finishing.
[out#0/h264 @ 0x560b30f28ac0] All streams finished
[out#0/h264 @ 0x560b30f28ac0] Terminating muxer thread
[vist#0:0/wrapped_avframe @ 0x560b30f3c740] Decoder thread received EOF packet
[vist#0:0/wrapped_avframe @ 0x560b30f3c740] Decoder returned EOF, finishing
[vist#0:0/wrapped_avframe @ 0x560b30f3c740] Terminating decoder thread
[AVIOContext @ 0x560b30f40640] Statistics: 0 bytes written, 0 seeks, 0 writeouts
[out#0/h264 @ 0x560b30f28ac0] Output file #0 (/tmp/vdi-vaapi-test.h264):
[out#0/h264 @ 0x560b30f28ac0]   Output stream #0:0 (video): 90 frames encoded; 89 packets muxed (0 bytes); 
[out#0/h264 @ 0x560b30f28ac0]   Total: 89 packets (0 bytes) muxed
[out#0/h264 @ 0x560b30f28ac0] video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
frame=   89 fps=0.0 q=-0.0 Lsize=       0kB time=00:00:02.93 bitrate=   0.0kbits/s speed=7.61x    
[in#0/lavfi @ 0x560b30f382c0] Terminating demuxer thread
[in#0/lavfi @ 0x560b30f382c0] Input file #0 (testsrc2=size=2560x1440:rate=30):
[in#0/lavfi @ 0x560b30f382c0]   Input stream #0:0 (video): 92 packets read (44160 bytes); 90 frames decoded; 0 decode errors; 
[in#0/lavfi @ 0x560b30f382c0]   Total: 92 packets (44160 bytes) demuxed
