[FFmpeg-user] pgssub direct to .sub & .idx ? Possible?
Mark Filipak
markfilipak.imdb at gmail.com
Tue Jun 10 18:26:05 EEST 2025
UPDATE
On 10/06/2025 10.46, Paul B Mahol wrote:
> On Tue, Jun 10, 2025 at 2:37 PM Mark Filipak <
> markfilipak.imdb-at-gmail.com at ffmpeg.org> wrote:
>
>> Thank you, Paul.
>>
>> ffmpeg^
>> -i "y:\BDMV\STREAM\00000.m2ts"^
>> -map 0:s:0 -s 1920x1080 -c:s dvdsub^
>> "c:\2001, A SPACE ODYSSEY [1968].sup"
>>
>> It failed:
>> (The conversion to dvdsub seemed to go fine. The problem seems to be with
>> the sup muxer.)
>
> Replace "-c:s dvdsub" with "-c:s copy".
That works -- it executes without error -- but it doesn't work -- SubtitleEdit will not accept pgssub.
I need to convert pgssub to dvdsub to make SubtitleEdit happy.
***** UPDATE: That works!
ffmpeg^
-i "y:\BDMV\STREAM\00000.m2ts"^
-map 0:s:0 -s 1920x1080 -c:s copy^
"c:\2001, A SPACE ODYSSEY [1968] try.sup"
"c:\Program Files\Subtitle Edit\SubtitleEdit"^
"c:\2001, A SPACE ODYSSEY [1968] try.sup"
SubtitleEdit _did_ accept pgssub. It did launch, and it launched in OCR mode!
So, it appears that, instead of not accepting pgssub, there may be a problem with the way
SubtitleEdit handles pgssub-in-m2ts.
So, I can now combine Steps 2 & 3 into a single Step. If the suggested pgssub-in-m2ts to
dvdsub-in-mp4 also works -- I foresee no reason why it wouldn't -- then I should be able to do this:
pgssub-in-m2ts to pgssub-in-mp4 to SubtitleEdit. That would fold my Steps 2 & 3 into Step 1! That
would turn my 5-Step factory into a 3-Step factory and save me about 10 minutes per movie.
More information about the ffmpeg-user
mailing list