Re: [dvd::rip] Forced Subtitles [PATCH]
|
Subject: |
Re: [dvd::rip] Forced Subtitles [PATCH] |
|
From: |
"Allan N. Snider" <allansnider@xxxxxxxxx> |
|
Date: |
Wed, 01 Feb 2006 01:55:26 -0500 |
A patch (for both 0.6.14 and 1.0.2) is attached which adds a
"forced" flag to the extsub filter. If true, then only subtitles that
are forced will be rendered. Example: "-J
extsub=track=0:forced=1:vertshift=..." etc. The default (is of course)
off.
This was pulled out of a larger work in progress and I hope I have
done it correctly. I have not tested it, although I verified transcode
(0.6.14) builds Ok.
Much more work needs to be done to incorporate this adequately into
dvdrip. It would be really nice to have a "forced" checkbox on the
subtitle preview page which would filter all images out that were not
forced.
Allan
ps: The two patches differ only in line offsets.
pps: I posted to transcode-users, not -devel as I don't
subscribe there.
Allan N. Snider wrote:
Ok, looks like there is some interest here, so I
will work on another patch which only adds the "forced" flag. I will
post it here and on transcode-devel. Probably be a few days...
Allan
Francesco Romani wrote:
On Mon, 30 Jan 2006 23:16:53 -0500
"Allan N. Snider" <allansnider@xxxxxxxxx> wrote:
This has been requested before. It would be relatively easy to do.
The extsub filter actually does parse the forced flag from the subtitle
stream, but then just throws it away. If another field were added to
the config.sub structure (in subproc.c), that information could be made
available to the filter. Then add an option to only render the
subtitles that have the forced flag set. I have a patch which does just
this (and works), unfortunately, it is intergrated with numerous other
changes to extsub I made that people normally don't want, as they
introduce quite a few headaches in the encoding process, (such as being
forced to encode using rgb instead of yuv). If you are interested in
the source patch, and re-building transcode for yourself, drop me a note
and I will send it to you.
It seems Joern was right, I'm interested too on this feature ;)
Feel free to contact me via email or -better-, send a message to
transcode-devel and post your patch (don't forget the `[PATCH]' tag in email
subject, thanks!), I'll like to integrate it in future releases, at least the
part that renders forced subtitles.
Best regards,
|
extsub_forced_0.6.14.patch.gz
Description: application/gzip
extsub_forced_1.0.2.patch.gz
Description: application/gzip
|
| <Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [dvd::rip] Forced Subtitles [PATCH],
Allan N. Snider <=
|
|