Artifacting when transcoding H264 source only when seeking - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Artifacting when transcoding H264 source only when seeking (/t-artifacting-when-transcoding-h264-source-only-when-seeking) |
Artifacting when transcoding H264 source only when seeking - 5fish - 2024-11-27 Hello everyone, I'm encountering an issue where transcoding an H264 source causes severe green artifacts ONLY once a seek is performed, or when the playback is started from a saved position (not the beginning). 2 log files were created when starting playback from a saved position, and the second indicates errors: https://v.5fish.me/r/FFmpeg.Transcode-2024-11-27_13-15-17_ba6b793f8c9601e552fb85f55431f11a_3fdb8f96.log https://v.5fish.me/r/FFmpeg.Transcode-2024-11-27_13-15-21_ba6b793f8c9601e552fb85f55431f11a_982c29e4.log Similarly, 2 logs were created with the same errors in the second log when playing from the beginning, then seeking. Playing the video from the start without seeking allows playback without issue: https://v.5fish.me/r/FFmpeg.Transcode-2024-11-27_13-13-27_ba6b793f8c9601e552fb85f55431f11a_31006d0d.log I'm running the official Jellyfin 10.10.3 server binary for Windows, but have encountered the issue on 10.10.1, as well as on a fresh 10.10.3 install on a separate machine (Windows, NVENC). Both NVENC and software transcoding have the same issue, and transcoding to H264 instead of HEVC did not help either. I have also tried replacing the jellyfin-ffmpeg binary with older versions (7.0.2-5, 6.0.1-8), but no change. All playback was done on the Jellyfin Web Player on both Chrome and Firefox. The source file plays and seeks without issue on VLC. Any suggestions would be appreciated, and I can provide further logs if needed. Thanks! RE: Artifacting when transcoding H264 source only when seeking - TheDreadPirate - 2024-11-27 Try remuxing your file. Something is likely corrupt with the file. Often times the video and audio are fine, but the container is corrupt or malformed. In a command prompt Code: cd C:\Program Files\Jellyfin Add the new file to your library and try again. RE: Artifacting when transcoding H264 source only when seeking - 5fish - 2024-11-28 Thanks for the quick reply and detailed instructions. I've given the remux a shot, but unfortunately seem to be getting the same result: https://v.5fish.me/r/FFmpeg.Transcode-2024-11-27_17-54-37_3289afedabe512fc2c773952259a62b1_96626bd2.log https://v.5fish.me/r/FFmpeg.Transcode-2024-11-27_17-54-39_3289afedabe512fc2c773952259a62b1_fbb2411e.log I can verify that the remuxed file does also play & seek without issue in VLC, and is different from the original file (different CRC). RE: Artifacting when transcoding H264 source only when seeking - nyanmisaka - 2024-11-28 These H264 High 4:4:4 files are encoded by a broken version of the x264 encoder. Simply remuxing will not do anything. Something else must be done to repair them. https://github.com/jellyfin/jellyfin-ffmpeg/issues/47#issuecomment-741722767 |