Open Goodwu opened 1 week ago
https://pan.baidu.com/s/1DR_2FTUGH5gGJX2luQqSOQ?pwd=v5pp This is the video file cause the problem.
The transcoding hangs ffmpeg randomly.
This is the transcoding command line:
/usr/bin/ffmpeg -hwaccel qsv -hwaccel_output_format qsv -async_depth 4 -threads 1 -i /media/photos/Camera Uploads/DCIM/Camera/VID_20240109_121531.mp4 -y -c:v h264_qsv -c:a copy -movflags faststart -fps_mode passthrough -map 0:0 -map 0:1 -bf 7 -refs 5 -g 256 -v verbose -vf scale_qsv=720:-1:async_depth=4:mode=hq,hwmap=derive_device=opencl,tonemap_opencl=desat=0:format=nv12:matrix=bt709:primaries=bt709:range=pc:tonemap=hable:transfer=bt709,hwmap=derive_device=qsv:reverse=1,format=qsv -preset 7 -global_quality:v 23 -maxrate 4000k -bufsize 8000k upload/encoded-video/0ef79aea-c9d6-4f20-b7d2-bc3a01408cb6/28/49/28491f52-ccf9-4073-aace-b7919fffd528.mp4
@xhaihao , looks the hang is in RCS, so , suppose it is caused by tonemap_opencl, it is not a media driver feature. should be reported in ffmpeg or openCL?
@xhaihao , looks the hang is in RCS, so , suppose it is caused by tonemap_opencl, it is not a media driver feature. should be reported in ffmpeg or openCL?
Is it similar to #1456 ?
Which component impacted?
Decode
Is it regression? Good in old configuration?
None
What happened?
What's the usage scenario when you are seeing the problem?
Others
What impacted?
Transcoding failed
Debug Information
/usr/lib/jellyfin-ffmpeg/vainfo
error log from ffmpeg:
/sys/class/drm/card1/error:
dmesg:
Do you want to contribute a patch to fix the issue?
None