[FFmpeg-user] Subtitle metadata not intercompatible by ffprobe
Bang He
hezhanbang at gmail.com
Wed Jun 29 04:50:40 EEST 2022
Can you share your mp4 file generated by subler, i have no apple computer.
On Fri, Jun 10, 2022 at 5:59 AM Robin van der Linden via ffmpeg-user <
ffmpeg-user at ffmpeg.org> wrote:
> Hello.
>
> I'm using ffprobe to import video information into my database using
> python. In general, this process is working fine
> but if I set a subtitle forced or SDH using "Subler"
> (https://subler.org/) I'm not able to later on check with ffprobe if a
> subtitle is set as SDH or is forced. No matter what information I set
> with Subler, the ffprobe output will always be:
>
> "disposition": {
> "default": 0,
> "dub": 0,
> "original": 0,
> "comment": 0,
> "lyrics": 0,
> "karaoke": 0,
> "forced": 0,
> "hearing_impaired": 0,
> "visual_impaired": 0,
> "clean_effects": 0,
> "attached_pic": 1,
> "timed_thumbnails": 0,
> "captions": 0,
> "descriptions": 0,
> "metadata": 0,
> "dependent": 0,
> "still_image": 0
> },
>
> So basically the only information that really triggers is attached_pic,
> but the rest does not change at all, not matter what I set with Subler.
> The funny thing is that VLC for example recognizes a subtitle as forced
> if I set it as forced using Subler. So I can assume that the Information
> is there, but stored differently so ffprobe can't read it properly. Is
> there any chance that this will be fixed or is there any workaround?
> This is the cmd I fire:
>
> "ffprobe -pretty -print_format json -export_all true -show_programs
> -show_streams -show_format -loglevel quiet -hide_banner 'path/to/file'"
>
>
>
> --
> Grüße / Kind regards,
>
> Robin van der Linden_______________________________________________
> 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