Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VAAPI Rendering doesn't work #294

Open
zastrixarundell opened this issue Nov 8, 2023 · 0 comments
Open

VAAPI Rendering doesn't work #294

zastrixarundell opened this issue Nov 8, 2023 · 0 comments

Comments

@zastrixarundell
Copy link

Similar to issue #46. I can select VAAPI AMD H264 as a preset (I have a 6600XT) and can see that I have vcodec=h264_vaapi in the options. The CPU then starts rendering the video. I don't get any errors.

kekwa.mp4
$ flatpak run org.kde.kdenlive 
profilePath from KdenliveSetting::mltPath:  "/app/share/mlt-7/profiles"
meltPath from KdenliveSetting::meltPath:  "/app/bin/melt"
Empty metadata for  "glsl.manager"
Empty metadata for  "telecide"
plugin not available: "avfilter.acompressor"
plugin not available: "avfilter.aecho"
plugin not available: "avfilter.agate"
plugin not available: "avfilter.atadenoise"
plugin not available: "avfilter.bs2b"
plugin not available: "avfilter.bwdif"
plugin not available: "avfilter.deblock"
plugin not available: "avfilter.dedot"
plugin not available: "avfilter.deflate"
plugin not available: "avfilter.derain"
plugin not available: "avfilter.doubleweave"
plugin not available: "avfilter.field"
plugin not available: "avfilter.framestep"
plugin not available: "avfilter.fspp"
plugin not available: "avfilter.graphmonitor"
plugin not available: "avfilter.hqdn3d"
plugin not available: "avfilter.inflate"
plugin not available: "avfilter.lagfun"
plugin not available: "avfilter.loudnorm"
plugin not available: "avfilter.mcdeint"
plugin not available: "avfilter.random"
plugin not available: "avfilter.removegrain"
plugin not available: "avfilter.separatefields"
plugin not available: "avfilter.shuffleplanes"
plugin not available: "avfilter.sofalizer"
plugin not available: "avfilter.sr"
plugin not available: "avfilter.tmix"
plugin not available: "avfilter.w3fdif"
plugin not available: "avfilter.weave"
plugin not available: "avfilter.yadif"
plugin not available: "frei0r.alpha0ps"
plugin not available: "frei0r.alpha0ps"
plugin not available: "frei0r.alphagrad"
plugin not available: "frei0r.alphaspot"
plugin not available: "frei0r.baltan"
plugin not available: "frei0r.bgsubtract0r"
plugin not available: "frei0r.delay0r"
plugin not available: "frei0r.delaygrab"
plugin not available: "frei0r.facebl0r"
plugin not available: "frei0r.facedetect"
plugin not available: "frei0r.hqdn3d"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.pr0be"
plugin not available: "frei0r.pr0file"
plugin not available: "frei0r.tehRoxx0r"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "movit.unsharp_mask"
plugin not available: "timewarp"
unsupported effect in group "frei0r.alpha0ps" : "/app/share/kdenlive/effect-templates/secondary_color_correction.xml"
Asset "mask_start-frei0r.alphaspot" has invalid dependency "frei0r.alphaspot" and is going to be removed
plugin not available: "region"
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
:::: NOT FOUND DOCUMENT GUIDES !!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qrc:/qml/timeline.qml:502: ReferenceError: proxy is not defined
qrc:/qml/timeline.qml:482: ReferenceError: proxy is not defined
==== NO PREVIOUS TIMELINE
::::::::::: connecting timeline:  QUuid("{f7fd3c42-e6c6-42ba-af92-b5078ddaaee2}") , DUR:  0
root context get sub model new function
HHHHHHHHHHHH
INVALID BIN PLAYLIST...
=== OPENING FILE WITH TRACKS:  5
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
=== MODEL DATA CHANGED: MUTE DONE TRACK NOT FOUND!!!
===== ACTIVATING DOCUMENT:  QUuid("{f7fd3c42-e6c6-42ba-af92-b5078ddaaee2}") 
::::::::::::::::::::::
kf.kio.widgets: Cannot read information about filesystem under path "/home/zastrix/.var/app/org.kde.kdenlive/cache/thumbnails/"
qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x560f14b79e50) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x560f13cfbc30) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents
==== NO PREVIOUS TIMELINE
==== ABORTING NO TIMELINE AVAILABLE
::::::==

CLOSING TIMELINE MODEL

::::::::
========== READY FOR TASK DISCARD ON:  3
===== REMOVING MASTER PRODUCER; CURRENT COUNT:  1 
:::::::::::::::::::::::::::
LOCALE: Document uses  "."  as decimal point and  "C"  as locale
Searching for locale: Found  QLocale(English, Latin, United States)  with match type  0
FOUND MLT PROJECT VERSION:  7  /  21  /  0
------------
FOUND PRESET CTYPE:  0 
------------------------
QQQQQQQQQQQQQQQQQQQQ
INTERNAL SEQUENCE LOAD

QQQQQQQQQQQQQQQQQQQQQQ
=== FOUND THUMB IN CACHe
============= LOADING INTERNAL PLAYLIST:  QUuid("{6fdab197-640e-4a6f-8210-e85cc209ada2}")
=== OPENING FILE WITH TRACKS:  9
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
REGISTRATION  2 ptr count 3
:::: DURATION FOR TIMELINE MODE: 34080  =  0
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
REGISTRATION  4 ptr count 3
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
REGISTRATION  6 ptr count 3
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
REGISTRATION  8 ptr count 3
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
REGISTRATION  10 ptr count 3
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
REGISTRATION  12 ptr count 3
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
REGISTRATION  14 ptr count 3
:::: FOUND TRACTOR WITH TRACKS:  2 

___________________________
################### ProjectClip::setproducer #################
################### ClipController::updateProducer
// replace finished:  "3"  :  <tractor>
========== READY FOR TASK DISCARD ON:  3
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qml: loaded clip:  0 , ID:  14 , index:  1 , TYPE: AV
qml: loaded clip with Astream:  1
qml: loaded clip:  0 , ID:  12 , index:  2 , TYPE: AV
qml: loaded clip with Astream:  1
qml: loaded clip:  0 , ID:  10 , index:  3 , TYPE: AV
qml: loaded clip with Astream:  2
qml: loaded clip:  0 , ID:  8 , index:  4 , TYPE: AV
qml: loaded clip with Astream:  3
qml: loaded clip:  0 , ID:  6 , index:  5 , TYPE: AV
qml: loaded clip with Astream:  4
qml: loaded clip:  0 , ID:  4 , index:  6 , TYPE: AV
qml: loaded clip with Astream:  5
qml: loaded clip:  0 , ID:  2 , index:  7 , TYPE: AV
qml: loaded clip with Astream:  6
qrc:/qml/timeline.qml:502: ReferenceError: proxy is not defined
qrc:/qml/timeline.qml:482: ReferenceError: proxy is not defined
==== NO PREVIOUS TIMELINE
::::::::::: connecting timeline:  QUuid("{6fdab197-640e-4a6f-8210-e85cc209ada2}") , DUR:  34080
root context get sub model new function
qml: loaded clip:  0 , ID:  14 , index:  1 , TYPE: AV
qml: loaded clip with Astream:  1
qml: loaded clip:  0 , ID:  12 , index:  2 , TYPE: AV
qml: loaded clip with Astream:  1
qml: loaded clip:  0 , ID:  10 , index:  3 , TYPE: AV
qml: loaded clip with Astream:  2
qml: loaded clip:  0 , ID:  8 , index:  4 , TYPE: AV
qml: loaded clip with Astream:  3
qml: loaded clip:  0 , ID:  6 , index:  5 , TYPE: AV
qml: loaded clip with Astream:  4
qml: loaded clip:  0 , ID:  4 , index:  6 , TYPE: AV
qml: loaded clip with Astream:  5
qml: loaded clip:  0 , ID:  2 , index:  7 , TYPE: AV
qml: loaded clip with Astream:  6
---
formats:
  - a64
  - ac3
  - adts
  - adx
  - aiff
  - alp
  - amr
  - amv
  - apm
  - apng
  - aptx
  - aptx_hd
  - argo_asf
  - argo_cvg
  - asf
  - ass
  - ast
  - asf_stream
  - au
  - avi
  - avif
  - avm2
  - avs2
  - avs3
  - bit
  - caf
  - cavsvideo
  - codec2
  - codec2raw
  - crc
  - dash
  - data
  - daud
  - dfpwm
  - dirac
  - dnxhd
  - dts
  - dv
  - eac3
  - f4v
  - ffmetadata
  - fifo
  - fifo_test
  - filmstrip
  - fits
  - flac
  - flv
  - framecrc
  - framehash
  - framemd5
  - g722
  - g723_1
  - g726
  - g726le
  - gif
  - gsm
  - gxf
  - h261
  - h263
  - h264
  - hash
  - hds
  - hevc
  - hls
  - ico
  - ilbc
  - image2
  - image2pipe
  - ipod
  - ircam
  - ismv
  - ivf
  - jacosub
  - kvag
  - latm
  - lrc
  - m4v
  - md5
  - matroska
  - matroska
  - microdvd
  - mjpeg
  - mlp
  - mmf
  - mov
  - mp2
  - mp3
  - mp4
  - mpeg
  - vcd
  - mpeg1video
  - dvd
  - svcd
  - mpeg2video
  - vob
  - mpegts
  - mpjpeg
  - mxf
  - mxf_d10
  - mxf_opatom
  - null
  - nut
  - obu
  - oga
  - ogg
  - ogv
  - oma
  - opus
  - alaw
  - mulaw
  - vidc
  - f64be
  - f64le
  - f32be
  - f32le
  - s32be
  - s32le
  - s24be
  - s24le
  - s16be
  - s16le
  - s8
  - u32be
  - u32le
  - u24be
  - u24le
  - u16be
  - u16le
  - u8
  - psp
  - rawvideo
  - rm
  - roq
  - rso
  - rtp
  - rtp_mpegts
  - rtsp
  - sap
  - sbc
  - scc
  - film_cpk
  - segment
  - stream_segment,ssegment
  - smjpeg
  - smoothstreaming
  - sox
  - spx
  - spdif
  - srt
  - streamhash
  - sup
  - swf
  - tee
  - 3g2
  - 3gp
  - mkvtimestamp_v2
  - truehd
  - tta
  - ttml
  - uncodedframecrc
  - vc1
  - vc1test
  - voc
  - w64
  - wav
  - webm
  - webm_dash_manifest
  - webm_chunk
  - webp
  - webvtt
  - wsaud
  - wtv
  - wv
  - yuv4mpegpipe
  - alsa
  - fbdev
  - oss
  - pulse
  - sdl,sdl2
  - video4linux2,v4l2
  - xv
...
---
audio_codecs:
  - comfortnoise
  - s302m
  - aac
  - ac3
  - ac3_fixed
  - alac
  - aptx
  - aptx_hd
  - dca
  - dfpwm
  - eac3
  - flac
  - g723_1
  - mlp
  - mp2
  - mp2fixed
  - nellymoser
  - opus
  - real_144
  - sbc
  - sonic
  - sonicls
  - truehd
  - tta
  - vorbis
  - wavpack
  - wmav1
  - wmav2
  - pcm_alaw
  - pcm_bluray
  - pcm_dvd
  - pcm_f32be
  - pcm_f32le
  - pcm_f64be
  - pcm_f64le
  - pcm_mulaw
  - pcm_s8
  - pcm_s8_planar
  - pcm_s16be
  - pcm_s16be_planar
  - pcm_s16le
  - pcm_s16le_planar
  - pcm_s24be
  - pcm_s24daud
  - pcm_s24le
  - pcm_s24le_planar
  - pcm_s32be
  - pcm_s32le
  - pcm_s32le_planar
  - pcm_s64be
  - pcm_s64le
  - pcm_u8
  - pcm_u16be
  - pcm_u16le
  - pcm_u24be
  - pcm_u24le
  - pcm_u32be
  - pcm_u32le
  - pcm_vidc
  - roq_dpcm
  - adpcm_adx
  - adpcm_argo
  - g722
  - g726
  - g726le
  - adpcm_ima_amv
  - adpcm_ima_alp
  - adpcm_ima_apm
  - adpcm_ima_qt
  - adpcm_ima_ssi
  - adpcm_ima_wav
  - adpcm_ima_ws
  - adpcm_ms
  - adpcm_swf
  - adpcm_yamaha
  - libmp3lame
  - libopus
  - libvorbis
  - anull
...
---
video_codecs:
  - a64multi
  - a64multi5
  - alias_pix
  - amv
  - apng
  - asv1
  - asv2
  - avrp
  - avui
  - ayuv
  - bitpacked
  - bmp
  - cfhd
  - cinepak
  - cljr
  - dnxhd
  - dpx
  - dvvideo
  - exr
  - ffv1
  - ffvhuff
  - fits
  - flashsv
  - flashsv2
  - flv
  - gif
  - h261
  - h263
  - h263p
  - huffyuv
  - jpeg2000
  - jpegls
  - ljpeg
  - magicyuv
  - mjpeg
  - mpeg1video
  - mpeg2video
  - mpeg4
  - msmpeg4v2
  - msmpeg4
  - msvideo1
  - pam
  - pbm
  - pcx
  - pfm
  - pgm
  - pgmyuv
  - phm
  - png
  - ppm
  - prores
  - prores_aw
  - prores_ks
  - qoi
  - qtrle
  - r10k
  - r210
  - rawvideo
  - roqvideo
  - rpza
  - rv10
  - rv20
  - sgi
  - smc
  - snow
  - speedhq
  - sunrast
  - svq1
  - targa
  - tiff
  - utvideo
  - v210
  - v308
  - v408
  - v410
  - vbn
  - vc2
  - wbmp
  - wrapped_avframe
  - wmv1
  - wmv2
  - xbm
  - xface
  - xwd
  - y41p
  - yuv4
  - zlib
  - zmbv
  - hdr
  - libaom-av1
  - libopenjpeg
  - libsvtav1
  - libvpx
  - libvpx-vp9
  - libx264
  - libx264rgb
  - libx265
  - h263_v4l2m2m
  - av1_amf
  - h264_amf
  - h264_nvenc
  - h264_qsv
  - h264_v4l2m2m
  - h264_vaapi
  - hevc_amf
  - hevc_nvenc
  - hevc_qsv
  - hevc_v4l2m2m
  - hevc_vaapi
  - mjpeg_qsv
  - mjpeg_vaapi
  - mpeg2_qsv
  - mpeg2_vaapi
  - mpeg4_v4l2m2m
  - vp8_v4l2m2m
  - vp8_vaapi
  - vp9_vaapi
  - vp9_qsv
  - vnull
...
* CREATED JOB WITH ARGS:  ("delivery", "/app/bin/melt", "/var/tmp/kdenlive-rjhRto-1.mlt", "--pid", "2")
starting kdenlive_render process using:  "/app/bin/kdenlive_render"
No org.kde.JobViewServer registered, trying to start kuiserver
Failed to start kuiserver
Skipped method "slotShowPreferencePage" : Unregistered input type in parameter list: Kdenlive::ConfigPage
Skipped method "slotShowPreferencePage" : Unregistered input type in parameter list: Kdenlive::ConfigPage
Skipped method "slotInitSubtitle" : Type not registered with QtDBus in parameter list: QMap<QString,QString>
Skipped method "slotEditSubtitle" : Type not registered with QtDBus in parameter list: QMap<QString,QString>
Skipped method "manageClipJobs" : Unregistered input type in parameter list: AbstractTask::JOBTYPE
Skipped method "manageClipJobs" : Unregistered input type in parameter list: AbstractTask::JOBTYPE
Unsupported return type 65 QPixmap in method "grab"
Unsupported return type 65 QPixmap in method "grab"
Progress: 1 %, frame 341
Progress: 2 %, frame 683
Progress: 3 %, frame 1024
Progress: 4 %, frame 1365
Progress: 5 %, frame 1706
Progress: 6 %, frame 2046
Progress: 7 %, frame 2386
Progress: 8 %, frame 2728
Progress: 9 %, frame 3070
Progress: 10 %, frame 3408
Progress: 11 %, frame 3752
Progress: 12 %, frame 4091
Rendering to "/home/zastrix/Videos/kekw.mp4" finished. Status: -3 Errors: ""
QProcess: Destroyed while process ("/app/bin/melt") is still running.
Rendering to "/home/zastrix/Videos/kekw.mp4" finished. Status: -2 Errors: "[h264_vaapi @ 0x7f2cfc201fc0] Driver does not support some wanted packed headers (wanted 0xd, found 0). [h264_vaapi @ 0x7f2cfc201fc0] Driver does not support packed sequence headers, but a global header is requested. [h264_vaapi @ 0x7f2cfc201fc0] No global header will be written: this may result in a stream which is not usable for some purposes (e.g. not muxable to some containers).<br>"
QIODevice::write (QFile, "/home/zastrix/Videos/kekw.mp4.log"): device not open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant