2024-11-02, 05:35 PM
First of all, the OP does not really need to remove DOVI because the problem is not DOVI, is the LG TV's HLS player and DOVI triggers the remuxing which makes the issue obvious. The OP is going to modify our web code so that mkv will no longer be blacklisted with DOVI files which will work for him.
For your problem:
I don't even think you have to manually do this anymore starting Jellyfin-ffmpeg 7.0.2-5. The bitstream metadata is not carried over anyway during HEVC to AV1 conversion and the invalid dolby vision configuration records due to codec mismatch will get discarded in 7.0.2-5. So you just do your conversion without worrying about anything.
It is released with ffmpeg 7.1 but that one only removes the RPU and does not remove BL. I sent a patch to upstream but no one reviewed that unfortunately.
For your problem:
(2024-11-02, 05:13 PM)TheDreadPirate Wrote: Hypothetically, this could be done in real time, but you cannot change the output codec. I tried to "one line" converting HEVC DV7.6 to AV1 HDR10 in my script, but the bsf wouldn't allow a codec change.
I don't even think you have to manually do this anymore starting Jellyfin-ffmpeg 7.0.2-5. The bitstream metadata is not carried over anyway during HEVC to AV1 conversion and the invalid dolby vision configuration records due to codec mismatch will get discarded in 7.0.2-5. So you just do your conversion without worrying about anything.
(2024-11-02, 05:13 PM)TheDreadPirate Wrote: FWIW, upstream ffmpeg master branch also has a similar feature merged. But, AFAICT, it hasn't made it to a release yet. I had to build ffmpeg from the git master branch.
It is released with ffmpeg 7.1 but that one only removes the RPU and does not remove BL. I sent a patch to upstream but no one reviewed that unfortunately.