paulpacifico / shutter-encoder

A professional video compression tool accessible to all, mostly based on FFmpeg.
https://www.shutterencoder.com
GNU General Public License v3.0
1.06k stars 60 forks source link

[Bug] Subtitle languages and labels not preserved, when Preserve subtitles option is checked in Advanced features #228

Open ivan-yu opened 2 months ago

ivan-yu commented 2 months ago

When I select Preserve subtitles under Advanced features, after re-encode, all the subtitle languages and labels are gone.

Please see screenshots for original mkv and Shutter Encoder encoded mkv.

When there is a long list of different subtitle languges, it becomes impossible to select in the re-encoded file.

Original

AfterReEncode

Thanks.

ivan-yu commented 2 months ago

I am running 64 bit Shutter Encoder on Windows 11

ivan-yu commented 2 months ago

Is this a bug in ffmpeg rather than Shutter Encoder?

paulpacifico commented 2 months ago

Sorry for the delay I was on holiday.

I don't know where the bug came from, I know it sometimes keep the subtitle language for some files. Could you please send me your file via WeTransfer for checking on my computer?

Thanks, Paul.

ivan-yu commented 2 months ago

I deleted the originals after encoding. I suspect this "bug" happens to MKV containers

I just tried something different, I chose Extract function and extracted a random MKV file's subtitle, the srt filename doesn't have any language in it, does it mean the language is not retrieved at all during extract and insert?

lamesbond commented 3 weeks ago

the language is preserved at mkv metadata,try “preserve metadata” in shutter-encoder

ivan-yu commented 3 weeks ago

Still does not work when "preserve metadata" is selected, have you tried it before suggesting it?

1 Original PreserveMetaData

paulpacifico commented 3 weeks ago

Did you change the output container?

ivan-yu commented 3 weeks ago

Input is mkv, output is also mkv. Preserve metadata, preserve subtitles both checked