Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --convert-dvb-subs option. #155

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ApolloniaUK
Copy link

Hi Don, sorry to intrude.

I've made a few changes to my installation of other-transcode to meet a few local needs and I thought this one might be of wider interest.

If the --add-subtitle option is invoked, by default other-transcode copies the selected subtitle track(s) in their original format. If the original format is DVB Subtitle (dvb_subtitle) then this causes problems with both MP4 and MKV output formats. In the case of MP4 output the transcode fails immediately, in the case of MKV some players don't support the DVB Subtitle format. This option, --convert-dvb-subs configures ffmpeg to convert DVB subtitles to DVD subtitles. This prevents MP4 output failing and the DVD subtitle format is supported by a wider variety of players.

Hope this is of interest,

Kind regards,

Alan.

@lisamelton lisamelton self-requested a review April 14, 2022 20:35
@lisamelton lisamelton self-assigned this Apr 14, 2022
@lisamelton
Copy link
Owner

@ApolloniaUK Thanks for taking the time to make and submit a patch.

Just out of curiosity, where are you getting input files with subtitles in DVB format? I've created at least three video transcoding projects during the last ten years and this is the first time anyone has requested a feature like this. While DVB might be an international standard, playback support for it is very poor.

@ApolloniaUK
Copy link
Author

@donmelton Very happy to contribute.

The input files are recordings of over-the-air DVB broadcasts in the UK. The DVR is a Mac application called EyeTV which uses a USB connected tuner called an "EyeTV Diversity" (both from a company called Geniatech). As well as Geniatech's other tuners it also supports the HD HomeRun.

Not every UK DVB broadcast has subtitles but if they are present EyeTV does record them on their own stream(s). If your curiosity extends that far I could send you a sample or two.

Out of interest, I also added an option to set the output filename/filepath - would you like that as well?

@lisamelton
Copy link
Owner

@ApolloniaUK While I appreciate the effort, it's unlikely I'll take this DVB conversion feature in other-transcode since I think the few users out there with such subtitles (probably just you) would be better off converting their original streams before transcoding. But I'll think about it for awhile.

And I will definitely not take a patch which adds an --output option. Sorry, but it's by design that other-transcode does not have that. It's simply unnecessary.

@ApolloniaUK
Copy link
Author

@donmelton

Whichever way you decide thanks for considering the patch - and thanks for such a useful tool. I've been using other-transcode and its predecessors for years and have found them very useful.

…uest-branch

* commit '74f5a80ce47a41e10402571f8d62181d5d656dc9':
  Add version 0.11.0 release information.
…uest-branch

* commit '1c4782db9bf5ff9ee2d2151a57d99882f58874e1':
  Bump version to 0.11.0.
@Goorzhel Goorzhel mentioned this pull request Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants