Opened 19 months ago

Last modified 19 months ago

#11386 reopened defect

Subtitles and MOV are not working anymore

Reported by: Atarikid Owned by:
Priority: minor Component: avformat
Version: 7.1 Keywords: srt tx3g
Cc: MasterQuestionable Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

With FFmpeg 7.1 up to daily git of 30/12/2024, adding srt subtitles are not working anymore. Works fine with FFmpeg 7.0 and older

Some notes: when removing -tag:s:s:0? tx3g , it does not throw an error but the subtitle cannot be played on several players like QuickTime (macOS).

Log:

/Users/subsonics/Library/Application\ Support/FFmpegTools/ffmpeg -probesize 50M -analyzeduration 100M -i /Users/subsonics/Desktop/with\ subrip\ subtitles.mkv -map 0:0 -map 0:1 -map 0:2 -c:a copy -c:v copy -c:s mov_text -tag:s:s:0? tx3g -y /Users/subsonics/Movies/with\ subrip\ subtitles.mov

ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers

built with Apple clang version 13.1.6 (clang-1316.0.21.2.5)
configuration: --prefix=/Volumes/tempdisk/sw --extra-cflags=-fno-stack-check --arch=arm64 --cc=/usr/bin/clang --enable-gpl --enable-libvmaf --enable-libopenjpeg --enable-libopus --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-libwebp --enable-libass --enable-libfreetype --enable-fontconfig --enable-libtheora --enable-libvorbis --enable-libsnappy --enable-libaom --enable-libvidstab --enable-libzimg --enable-libsvtav1 --enable-libharfbuzz --enable-libkvazaar --pkg-config-flags=--static --enable-ffplay --enable-postproc --enable-neon --enable-runtime-cpudetect --disable-indev=qtkit --disable-indev=x11grab_xcb
libavutil 59. 39.100 / 59. 39.100
libavcodec 61. 19.100 / 61. 19.100
libavformat 61. 7.100 / 61. 7.100
libavdevice 61. 3.100 / 61. 3.100
libavfilter 10. 4.100 / 10. 4.100
libswscale 8. 3.100 / 8. 3.100
libswresample 5. 3.100 / 5. 3.100
libpostproc 58. 3.100 / 58. 3.100

Input #0, matroska,webm, from '/Users/subsonics/Desktop/with subrip subtitles.mkv':

Metadata:

encoder : libebml v1.3.9 + libmatroska v1.5.2
creation_time : 2019-12-20T08:06:36.000000Z

Duration: 00:47:22.66, start: 0.000000, bitrate: 889 kb/s
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 720x480 [SAR 32:27 DAR 16:9], SAR 853:720 DAR 853:480, 24 fps, 24 tbr, 1k tbn (default)

Metadata:

BPS-eng : 758860
DURATION-eng : 00:47:22.584000000
NUMBER_OF_FRAMES-eng: 68222
NUMBER_OF_BYTES-eng: 269640430
_STATISTICS_WRITING_APP-eng: mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-20 08:06:36
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream #0:1(eng): Audio: eac3, 48000 Hz, stereo, fltp, 128 kb/s (default)

Metadata:

title : English [Original]
BPS-eng : 128000
DURATION-eng : 00:47:22.656000000
NUMBER_OF_FRAMES-eng: 88833
NUMBER_OF_BYTES-eng: 45482496
_STATISTICS_WRITING_APP-eng: mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-20 08:06:36
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream #0:2(eng): Subtitle: subrip (srt)

Metadata:

title : English
BPS-eng : 61
DURATION-eng : 00:44:06.583000000
NUMBER_OF_FRAMES-eng: 671
NUMBER_OF_BYTES-eng: 20381
_STATISTICS_WRITING_APP-eng: mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-20 08:06:36
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream #0:3(ger): Subtitle: subrip (srt)

Metadata:

title : German
BPS-eng : 53
DURATION-eng : 00:46:12.125000000
NUMBER_OF_FRAMES-eng: 493
NUMBER_OF_BYTES-eng: 18417
_STATISTICS_WRITING_APP-eng: mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-20 08:06:36
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream #0:4(fin): Subtitle: subrip (srt)

Metadata:

title : Finnish
BPS-eng : 48
DURATION-eng : 00:46:20.208000000
NUMBER_OF_FRAMES-eng: 475
NUMBER_OF_BYTES-eng: 16714
_STATISTICS_WRITING_APP-eng: mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-20 08:06:36
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream #0:5(nob): Subtitle: subrip (srt)

Metadata:

title : Norwegian
BPS-eng : 45
DURATION-eng : 00:46:12.125000000
NUMBER_OF_FRAMES-eng: 528
NUMBER_OF_BYTES-eng: 15905
_STATISTICS_WRITING_APP-eng: mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-20 08:06:36
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream #0:6(swe): Subtitle: subrip (srt)

Metadata:

title : Swedish
BPS-eng : 51
DURATION-eng : 00:46:12.125000000
NUMBER_OF_FRAMES-eng: 511
NUMBER_OF_BYTES-eng: 17886
_STATISTICS_WRITING_APP-eng: mkvmerge v40.0.0 ('Old Town Road + Pony') 64-bit
_STATISTICS_WRITING_DATE_UTC-eng: 2019-12-20 08:06:36
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

Stream type specified multiple times
Error parsing options for output file /Users/subsonics/Movies/with subrip subtitles.mov.
Error opening output files: Invalid argument

Change History (3)

comment:1 by compn, 19 months ago

Priority: importantminor
Resolution: invalid
Status: newclosed

this bug is bugged!

comment:2 by MasterQuestionable, 19 months ago

Cc: MasterQuestionable added
Component: undeterminedavformat
Keywords: srt tx3g added
Resolution: invalid
Status: closedreopened

͏    Works now... Buggy Trac?
͏    https://trac.ffmpeg.org/ticket/11399

͏    ----

͏    [ Quote compn @ CE 2025-01-06 21:56:08 UTC:
https://trac.ffmpeg.org/ticket/11399#comment:1
͏    Don't think MOV/MP4 supports SRT subtitles?
͏    It supports the other "mp4_text" of course... ]

͏    Maybe relevant:
͏    https://trac.ffmpeg.org/ticket/7762#comment:8

Last edited 19 months ago by MasterQuestionable (previous) (diff)

in reply to:  description comment:3 by Jun Omae, 19 months ago

Hi,

I noticed that trying to file the issue for the tag query to the Trac project and block it, while checking out the spam monitor. Thanks and sorry.

Some notes: when removing -tag:s:s:0 tx3g, it does not throw an error but the subtitle cannot be played on several players like QuickTime (macOS).

The issue is an issue of TagsPlugin, not Trac core.

I think that the plugin just should ignore such an invalid tag query or render an error message like the behavior for query:foo&bar in Trac core.

  • Rendering for query:foo&bar: [Error: Query filter requires field and constraints separated by a "="]

Edited: I've filed it an issue of TagsPlugin at https://trac-hacks.org/ticket/14378, and I'll fix it.

Last edited 19 months ago by Jun Omae (previous) (diff)
Note: See TracTickets for help on using tickets.