Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#9249 closed defect (invalid)

Invalid End-Timestamp of subtitle file

Reported by: martinr92 Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
I'm trying to extract the subtitles (dvb_teletext) from a recorded tv movie.

The following command is used to achieve this:

./ffmpeg -v 9 -loglevel 99 -txt_format text -txt_page 150 -i Tatort-small.ts -y subtitle.srt

A new subtitle file is created and the texts are successfully extracted.
Also the start timestamp is correct, but not the end timestamp:

1
00:00:02,280 --> 1193:02:49,575
Sie sind purer Antisemitismus.

2
00:00:05,520 --> 1193:02:52,815
Auch der Spitzenkandidat
der Linken, Bartsch,

3
00:00:09,360 --> 1193:02:56,655
verurteilt die antisemitische Gewalt.

Attachments (1)

verbose-log.log (315.0 KB ) - added by martinr92 3 years ago.
verbose output of ffmpeg

Download all attachments as: .zip

Change History (5)

by martinr92, 3 years ago

Attachment: verbose-log.log added

verbose output of ffmpeg

comment:1 by Carl Eugen Hoyos, 3 years ago

Please provide the input file.

comment:2 by martinr92, 3 years ago

Where can I upload the file? I reduced the size already to 30MB (original was 4.5 GB). The FTP upload server (mentioned here https://ffmpeg.org/bugreports.html) seems not responding.

comment:3 by mkver, 3 years ago

Resolution: invalid
Status: newclosed

Use -fix_sub_duration. (Teletext is one of the formats where packets don't have a duration, but are ended by a later packet and this command makes ffmpeg actually use these later packets to fill in the duration of the earlier ones.)

in reply to:  3 comment:4 by martinr92, 3 years ago

Replying to mkver:

Use -fix_sub_duration.

Works perfectly. Thanks.

Note: See TracTickets for help on using tickets.