[FFmpeg-trac] #6226(undetermined:new): subtitles filter (hardsubs) error
FFmpeg
trac at avcodec.org
Wed Mar 8 02:29:17 EET 2017
#6226: subtitles filter (hardsubs) error
-------------------------------------+-------------------------------------
Reporter: Lediff | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: subtitles , | Blocked By:
filter, hardsubs | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When trying to burn (hardsubs) an srt with an mp4 I get the entire file in
second 0. See image1.jpg
How to reproduce:
{{{
% ffmpeg -i video.mp4 -vf "subtitles=subs_es.srt" output.mp4
ffmpeg version:
ffmpeg -version
ffmpeg version N-83692-gb8a7dcbde2-static http://johnvansickle.com/ffmpeg/
Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.4.1 (Debian 5.4.1-5) 20170205
configuration: --enable-gpl --enable-version3 --enable-static --disable-
debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
--cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-
gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-
libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-
libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxvid --enable-libzimg
libavutil 55. 47.100 / 55. 47.100
libavcodec 57. 81.100 / 57. 81.100
libavformat 57. 66.102 / 57. 66.102
libavdevice 57. 3.100 / 57. 3.100
libavfilter 6. 74.100 / 6. 74.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
d322e558b9264761f8c2e4febef88d17 ffmpeg-git-64bit-static.tar.xz
git: gb8a7dcbde2 built on 20170301
}}}
I did tried to changing the line breaks from Linux, to Windows. Also
parsing the file with ffmpeg like
{{{
% ffmpeg -i subtitle.srt subtitle2.srt
}}}
Some result.
{{{
% file *srt
subs_es2.srt: UTF-8 Unicode text, with CRLF, LF line terminators
subs_es.srt: UTF-8 Unicode text
win_subs_es.srt: UTF-8 Unicode text, with CRLF line terminators
}}}
{{{
% md5sum *srt
73bbe474e4d9e80c25c00972fba44631 subs_es2.srt
21daf8dcced5a11b8ac16ed66e38f9f3 subs_es.srt
31f39ec370b6aa410da444f893eb01fb win_subs_es.srt
}}}
Video from
{{{
% youtube-dl --format mp4 https://www.youtube.com/watch?v=j_aiFv6peDE
(md5: 4245c561290207d1df6f2ffdfecf1ba3 )
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6226>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list