[FFmpeg-trac] #6226(avcodec:new): subtitles filter (hardsubs) error
FFmpeg
trac at avcodec.org
Wed Mar 8 04:15:09 EET 2017
#6226: subtitles filter (hardsubs) error
------------------------------------+-----------------------------------
Reporter: Lediff | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: sub srt | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by Lediff):
Replying to [comment:2 cehoyos]:
> Which program is able to read the subtitle file you attached?
> How were the files created?
VLC 2.2.3-37-g888b7e89 (current repo vlc on debian jessie) can read
''subs_es.srt'' and ''win_subs_es.srt''.
----
'''sub_es.srt''' was created using ccsubs.com, selecting:
language: spanish
format: srt
url: https://www.youtube.com/watch?v=j_aiFv6peDE
I did modify it a little bit because the website prepends an ad that makes
the first line sub to overlap with the ad.
The edit was:
line 2 (first sentence) from:
{{{
00:00:00 --> 00:00:05
}}}
to
{{{
00:00:00,0 --> 00:00:01,0
}}}
line number 6 (second sentence) from:
{{{
00:00:00 --> 00:00:03
}}}
to
{{{
00:00:01 --> 00:00:03
}}}
(at first I thought this overlap was causing the issue, that's why I
edited the file manually to fix it and re-try the burn)
----
'''subs_es2.srt''' was created doing:
{{{
ffmpeg -i subs_es.srt subs_es2.srt
}}}
----
'''win_subs_es.srt''' was created by doing
{{{
perl -p -e 's/\n/\r\n/' < subs_es.srt > win_subs_es.srt
}}}
(following this post: http://superuser.com/a/71509 )
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6226#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list