[FFmpeg-user] pgssub direct to .sub & .idx ? Possible?

Paul B Mahol onemda at gmail.com
Tue Jun 10 18:52:36 EEST 2025


On Tue, Jun 10, 2025 at 3:50 PM Mark Filipak <
markfilipak.imdb-at-gmail.com at ffmpeg.org> wrote:

> 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.
>

I mean not pgssub, but dvdsub, for mp4 you do not use -c:s copy. but proper
codec.


>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list