Comments (1)
I have the same error trying to hardware encode with an Intel A750
ffmpeg -vaapi_device /dev/dri/renderD128 -i blue_sky_1080p25.y4m -vf 'format=nv12,hwupload' -c:v h264_vaapi output.mkv
ffmpeg version N-109105-g07357e56a6 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.2.0 (GCC)
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
libavutil 57. 42.100 / 57. 42.100
libavcodec 59. 52.102 / 59. 52.102
libavformat 59. 34.101 / 59. 34.101
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 50.100 / 8. 50.100
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100
libpostproc 56. 7.100 / 56. 7.100
Input #0, yuv4mpegpipe, from 'blue_sky_1080p25.y4m':
Duration: 00:00:08.68, start: 0.000000, bitrate: 622081 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p(progressive), 1920x1080, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn
File 'output.mkv' already exists. Overwrite? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_vaapi))
Press [q] to stop, [?] for help
[h264_vaapi @ 0x564ef7135940] No quality level set; using default (20).
Output #0, matroska, to 'output.mkv':
Metadata:
encoder : Lavf59.34.101
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), vaapi(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 1k tbn
Metadata:
encoder : Lavc59.52.102 h264_vaapi
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speframe= 128 fps=0.0 q=-0.0 size= 3840kB time=00:00:05.08 bitrate=6192.4kbits/s speed=1frame= 217 fps=0.0 q=-0.0 Lsize= 10052kB time=00:00:08.60 bitrate=9575.4kbits/s speed=10.4x
video:10050kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.022573%
[_8andage@framework Videos]$ ffmpeg -vaapi_device /dev/dri/renderD129 -i blue_sky_1080p25.y4m -vf 'format=nv12,hwupload' -c:v h264_vaapi output.mkv
ffmpeg version N-109105-g07357e56a6 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.2.0 (GCC)
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
libavutil 57. 42.100 / 57. 42.100
libavcodec 59. 52.102 / 59. 52.102
libavformat 59. 34.101 / 59. 34.101
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 50.100 / 8. 50.100
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100
libpostproc 56. 7.100 / 56. 7.100
Input #0, yuv4mpegpipe, from 'blue_sky_1080p25.y4m':
Duration: 00:00:08.68, start: 0.000000, bitrate: 622081 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p(progressive), 1920x1080, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_vaapi))
Press [q] to stop, [?] for help
[h264_vaapi @ 0x557083f86740] No quality level set; using default (20).
Output #0, matroska, to 'output.mkv':
Metadata:
encoder : Lavf59.34.101
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), vaapi(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 1k tbn
Metadata:
encoder : Lavc59.52.102 h264_vaapi
[h264_vaapi @ 0x557083f86740] Failed to end picture encode issue: 24 (internal encoding error).
[h264_vaapi @ 0x557083f86740] Encode failed: -5.
Error submitting video frame to the encoder
Conversion failed!
from intel-vaapi-driver.
Related Issues (20)
- H.264 320x240 encode produces a duplicate frame HOT 1
- H264 encoder skipping entrie frames at low bitrate
- h264 support for GM45 chipset HOT 64
- get chip id failed: -1 [2] HOT 7
- PCI ID 0x2a02 Missing from device ID list
- Question : does driver support VA_FILTER_SCALING on Wayland ?
- How to change skip threshold
- upgrade from 5.18 to 5.19 kernel breaks interlaced video playback HOT 8
- Cut new release HOT 1
- Upgrade from 5.18 to 5.19 kernel breaks VAAPI video playback HOT 6
- This driver is incompatible with oneVPL HOT 2
- Intel Arc A770 Linux Chrome vaapi_wrapper.cc(843)] Could not get a valid VA display HOT 1
- implement DRI3 support HOT 1
- HEVC/H.265 not showing up under vainfo
- Tthe vaapi does not support UHD Graphics 750 HOT 1
- IRC link to https://freenode.net/kb/answer/chat does not work
- How to check if HW decoding is supported for model "X"? HOT 4
- [BUG] Problems with VaapiVideoDecodeGL from Chromium in Wayland HOT 1
- [Bug]: VAAPI HEVC decoding hangs GPU HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intel-vaapi-driver.