2024-07-08, 01:52 PM
(This post was last modified: 2024-07-08, 01:52 PM by TheDreadPirate.)
Hold up. Are you running on Windows or Docker? You've shared logs from both.
If your actual Jellyfin server is running in Docker, you'd need to open a bash shell for the container and run this.
Jellyfin-ffmpeg has some customizations that vanilla ffmpeg doesn't have. Not sure if that makes a difference in how it will behave.
If your actual Jellyfin server is running in Docker, you'd need to open a bash shell for the container and run this.
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -threads 1 -noautorotate -i "/path/to/video.mkv" -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p" -threads 1 -c:v mjpeg -qscale:v 4 -f image2 test.jpg
Jellyfin-ffmpeg has some customizations that vanilla ffmpeg doesn't have. Not sure if that makes a difference in how it will behave.