[FFmpeg-trac] #5754(avfilter:new): [Subtitle bug] I can't burn srt subtitles into the video

FFmpeg trac at avcodec.org
Thu Aug 4 08:08:42 EEST 2016


#5754: [Subtitle bug] I can't burn srt subtitles into the video
-------------------------------------+-------------------------------------
             Reporter:  bordon       |                     Type:
               Status:  new          |  enhancement
            Component:  avfilter     |                 Priority:  critical
             Keywords:  Subtitle     |                  Version:  git-
  Bug                                |  master
             Blocking:               |               Blocked By:
Analyzed by developer:  1            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
 '''Summary of the bug:'''
 When I transcode video (with a separate srt subtitle) on windows x64,it
 can't work correctly.

 '''My environment is as follows:'''
 ffmpeg version: the offical 64-bit static for windows
 https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-20160718-a49ed9e-
 win64-static.zip

 OS: Win2008 x64
 CPU: Intel i7 4770K with iGPU driver
 GPU: Nvidia Geforce GTX 750 Ti with 368.81 driver

 '''How to reproduce:'''
 D:\ffmpeg\bin>ffmpeg.exe -i E:\movie\KB11-11-00.辛白林
 .Cymbeline.2014.1080p.BluRay.x264.DTS-
 WiKi\Cymbeline.2014.1080p.BluRay.x264.DTS-WiKi.mkv -vf "su
 btitles=:filename=E:\movie\KB11-11-00.辛白林
 .Cymbeline.2014.1080p.BluRay.x264.DTS-
 WiKi\Cymbeline.2014.1080p.BluRay.x264.DTS-WiKi.srt"  -c:v h264_nvenc
  -s 1280X720 -gpu 0 -b:v 1400k  -c:a aac -b:a 65k -f mp4
 E:\output\Cymbeline.2014.1080p.BluRay.x264.DTS-WiKi.mp4

 '''Return results:'''

 [Parsed_subtitles_0 @ 0000000002c0f840] Shaper: FriBidi 0.19.6 (SIMPLE)
 [Parsed_subtitles_0 @ 0000000002c0f840] Unable to open movieKB11-11-00.杈
 涚櫧鏋?Cymbeline.2014.1080p.BluRay.x264.DTS-
 WiKiCymbeline.2014.1080p.BluRay.x264.DTS-WiKi.srt
 [AVFilterGraph @ 0000000002c1f040] Error initializing filter 'subtitles'
 with args ':filename=E:movieKB11-11-00.杈涚櫧鏋
 ?Cymbeline.2014.1080p.BluRay.x264.DTS-WiKiCymbeline.2014.1080p.BluRay.
 iKi.srt'
 Error opening filters!

 If transcode video only, it can work correctly.
 After that, I consider perhaps i should use a slash in subtitle file path,
 so I try to use the following command:

 D:\ffmpeg\bin>ffmpeg.exe -i E:\movie\KB11-11-00.辛白林
 .Cymbeline.2014.1080p.BluRay.x264.DTS-
 WiKi\Cymbeline.2014.1080p.BluRay.x264.DTS-WiKi.mkv -vf "su
 btitles=:filename=E:/movie/KB11-11-00.辛白林
 .Cymbeline.2014.1080p.BluRay.x264.DTS-
 WiKi/Cymbeline.2014.1080p.BluRay.x264.DTS-WiKi.srt"  -c:v h264_nvenc
  -s 1280X720 -gpu 0 -b:v 1400k  -c:a aac -b:a 65k -f mp4
 E:\output\Cymbeline.2014.1080p.BluRay.x264.DTS-WiKi.mp4

 But it return the following error:

 [Parsed_subtitles_0 @ 0000000002bef840] Shaper: FriBidi 0.19.6 (SIMPLE)
 [Parsed_subtitles_0 @ 0000000002bef840] Unable to open /movie/KB11-11-00.
 杈涚櫧鏋?Cymbeline.2014.1080p.BluRay.x264.DTS-
 WiKi/Cymbeline.2014.1080p.BluRay.x264.DTS-WiKi.srt
 [AVFilterGraph @ 0000000002bff040] Error initializing filter 'subtitles'
 with args ':filename=E:/movie/KB11-11-00.杈涚櫧鏋
 ?Cymbeline.2014.1080p.BluRay.x264.DTS-
 WiKi/Cymbeline.2014.1080p.BluRay.x264.DT
 S-WiKi.srt'
 Error opening filters!

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5754>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list