[FFmpeg-trac] #8575(avformat:open): SubViewer with higher precision do not work
FFmpeg
trac at avcodec.org
Wed Mar 18 13:18:40 EET 2020
#8575: SubViewer with higher precision do not work
------------------------------------+------------------------------------
Reporter: ilario | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: subviewer | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by ilario):
> Where can I download such a subtitle?
Seems that Youtube allows just the video owner to download the subtitles
file. The example I posted is a simplified version of the subtitles from
this video:
https://www.youtube.com/watch?v=dVSm1OWy_LA
> Which other software reads it?
According to Wikipedia, there are various:
https://en.wikipedia.org/wiki/Comparison_of_subtitle_editors
like SubtitleComposer and fiveLoadSub.
There is a bash script here
https://github.com/kf106/sbv2srt
which explicitly mentions in its readme the face that ffmpeg fails with
these files and which produces this output:
{{{
1
00:00:17,880 --> 00:00:22,320
Mira esos delfines lo bien que viven debajo
2
00:00:22,320 --> 00:00:36,199
Bajo el mar Bajo el mar
}}}
which looks correct.
> https://support.google.com/youtube/answer/2734698?hl=en
> I wonder if Google maybe misunderstood the format...
In the example included in the link you posted, there are three decimal
digits for the milliseconds. In other examples I found on the internet
there are only two decimal digits.
Seems that ffmpeg supports only the case in which SubViewer files have
only two decimal digits.
I could try to make a patch, in case I manage to do that, where should I
post it?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8575#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list