stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
8.93k stars 782 forks source link

Error transcode HW enabled #4929

Closed kraizelburg closed 3 months ago

kraizelburg commented 3 months ago

Hi, I just instaled last 0.26 release and when I try to transcode I am getting the followin errors: Error
[transcode] ffmpeg error when running command </root/.stash/ffmpeg -hide_banner -v error -hwaccel auto -ss 11.095836 -i /data/videos/video.mp4 -c:v libx264 -pix_fmt yuv420p -preset veryfast -crf 25 -sc_threshold 0 -movflags frag_keyframe+empty_moov -vf scale=-2:480 -ac 2 -f mp4 pipe:>: [AVHWDeviceContext @ 0x5c919c0] No VA display found for any default device. Device creation failed: -22. Device creation failed: -38.

No matter what file I try to play I always get the same error. I am using zimaboard with debian 12 server installed.

Any ideas? thanks

feederbox826 commented 3 months ago
kraizelburg commented 3 months ago
  • you have not passed through your /dev/dri* devices to your docker container
  • your iGPU does not have a displayout so hwaccel is not possible

Hi, I have already passed through /dev/dri/renderD128 in docker-compose file but I still see in Stash logs [InitHWSupport] Supported HW codecs [0]: