Advertisement
rajhlinux

Untitled

Jul 27th, 2022
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. $ ffmpeg -v verbose -f v4l2 -input_format mjpeg -framerate 60 -video_size 1920x1080 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i /dev/video0 -vf 'scale,format=pix_fmts=nv12,hwupload' -c:v hevc_vaapi -map 0:a? -map 0:s? -c:s copy -rc_mode 1 -qp 25 -map_chapters 0 output.mp4 -y
  2.  
  3.  
  4. ffmpeg version n5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
  5. built with gcc 12.1.0 (GCC)
  6. configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-shared --enable-version3
  7. libavutil 57. 17.100 / 57. 17.100
  8. libavcodec 59. 18.100 / 59. 18.100
  9. libavformat 59. 16.100 / 59. 16.100
  10. libavdevice 59. 4.100 / 59. 4.100
  11. libavfilter 8. 24.100 / 8. 24.100
  12. libswscale 6. 4.100 / 6. 4.100
  13. libswresample 4. 3.100 / 4. 3.100
  14. libpostproc 56. 3.100 / 56. 3.100
  15. [video4linux2,v4l2 @ 0x559796473a80] fd:3 capabilities:84a00001
  16. [mjpeg @ 0x559796474780] Found EOI before any SOF, ignoring
  17. [mjpeg @ 0x559796474780] EOI missing, emulating
  18. Input #0, video4linux2,v4l2, from '/dev/video0':
  19. Duration: N/A, start: 1420.283894, bitrate: N/A
  20. Stream #0:0: Video: mjpeg (Baseline), 1 reference frame, yuvj422p(pc, bt470bg/unknown/unknown, center), 1920x1080 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 1000k tbn
  21. Stream map '0:a?' matches no streams; ignoring.
  22. Stream map '0:s?' matches no streams; ignoring.
  23. [AVHWDeviceContext @ 0x55979647bf80] libva: VA-API version 1.15.0
  24. [AVHWDeviceContext @ 0x55979647bf80] libva: Trying to open /usr/lib/dri/radeonsi_drv_video.so
  25. [AVHWDeviceContext @ 0x55979647bf80] libva: Found init function __vaDriverInit_1_15
  26. [AVHWDeviceContext @ 0x55979647bf80] libva: va_openDriver() returns 0
  27. [AVHWDeviceContext @ 0x55979647bf80] Initialised VAAPI connection: version 1.15
  28. [AVHWDeviceContext @ 0x55979647bf80] VAAPI driver: Mesa Gallium driver 22.1.3 for AMD Radeon Pro WX 2100 (polaris12, LLVM 14.0.6, DRM 3.46, 5.18.12-arch1-1).
  29. [AVHWDeviceContext @ 0x55979647bf80] Driver not found in known nonstandard list, using standard behaviour.
  30. Stream mapping:
  31. Stream #0:0 -> #0:0 (mjpeg (native) -> hevc (hevc_vaapi))
  32. Press [q] to stop, [?] for help
  33. [mjpeg @ 0x559796476000] Found EOI before any SOF, ignoring
  34. [mjpeg @ 0x559796476000] EOI missing, emulating
  35. [Parsed_scale_0 @ 0x559796692a00] w:iw h:ih flags:'' interl:0
  36. [graph 0 input from stream 0:0 @ 0x5597966d0e40] w:1920 h:1080 pixfmt:vaapi tb:1/1000000 fr:60/1 sar:1/1
  37. [auto_scale_0 @ 0x5597966cecc0] w:iw h:ih flags:'' interl:0
  38. [Parsed_scale_0 @ 0x559796692a00] auto-inserting filter 'auto_scale_0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_scale_0'
  39. Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0'
  40. Error reinitializing filters!
  41. Failed to inject frame into filter network: Function not implemented
  42. Error while processing the decoded data for stream #0:0
  43. [AVIOContext @ 0x55979647a4c0] Statistics: 0 bytes written, 0 seeks, 0 writeouts
  44. [video4linux2,v4l2 @ 0x559796473a80] Some buffers are still owned by the caller on close.
  45. ioctl(VIDIOC_QBUF): Bad file descriptor
  46. Conversion failed!
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement