[FFmpeg-user] pgssub direct to .sub & .idx ? Possible?
Mark Filipak
markfilipak.imdb at gmail.com
Tue Jun 10 18:49:31 EEST 2025
On 10/06/2025 11.06, Paul B Mahol wrote:
> On Tue, Jun 10, 2025 at 3:06 PM Paul B Mahol <onemda at gmail.com> wrote:
>
>>
>>
>> On Tue, Jun 10, 2025 at 2:56 PM Mark Filipak <
>> markfilipak.imdb-at-gmail.com at ffmpeg.org> wrote:
>>
>>> 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.
>>>
>>
>> IIRC there was patch adding muxer for that thing, need to dig it out.
>>
>> The only muxer that supports dvdsub in FFmpeg is matroska/mkv.
>>
>
> Also mp4, I think.
'-c:s:0 copy' did not copy the pgssub 0 (i.e. English dialog). So, pgssub-in-m2ts to pgssub-in-mp4
does not _completely_ work. The resulting mp4 has no subtitles at all, whereas dvdsub-in-mp4 does
work and does have subtitles.
So, it appears that the issue with mp4 is not that can't have subtitles, it's that it can have only
dvdsub subtitles, not pgssub subtitles.
More information about the ffmpeg-user
mailing list