Changes between Initial Version and Version 28 of Ticket #1277
- Timestamp:
- Sep 4, 2012, 7:26:42 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1277
- Property Status changed from new to closed
- Property Reproduced by developer set
- Property Component changed from FFmpeg to undetermined
- Property Summary changed from Subtitle conversion fails to Subtitle (hdmv_pgs_subtitle) conversion fails
- Property Priority changed from important to normal
- Property Version changed from 0.10.2 to git-master
- Property Keywords pgssub -> removed
- Property Resolution changed from to fixed
-
Ticket #1277 – Description
initial v28 2 2 Here is the list of all existing streams : 3 3 4 {{{ 4 5 Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x816 [SAR 1:1 DAR 40:17], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) 5 6 Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (default) … … 11 12 Stream #0:5(ger): Subtitle: hdmv_pgs_subtitle 12 13 Stream #0:6(ger): Subtitle: hdmv_pgs_subtitle 14 }}} 13 15 14 16 I want to keep only the English subtitle and convert it too. The available codecs are : 15 17 18 {{{ 16 19 > ffmpeg -codecs | grep sub 17 20 DES ass Advanced SubStation Alpha subtitle … … 21 24 DES srt SubRip subtitle 22 25 DES xsub DivX subtitles (XSUB) 26 }}} 23 27 24 28 I choose dvdsub as the new format and try to run ffmpeg command with the following arguments : 25 29 26 >ffmpeg -i in.mkv -scodec dvdsub -vcodec copy -acodec copy out.mkv 30 {{{ 31 ffmpeg -i in.mkv -scodec dvdsub -vcodec copy -acodec copy out.mkv 32 }}} 27 33 28 34 It starts running, but after a while ( I think when it reaches the first frame with subtitle ) crashes. Here you can see the messages : 29 35 36 {{{ 30 37 Stream mapping: 31 38 Stream #0:0 -> #0:0 (copy) … … 34 41 Press [q] to stop, [?] for help 35 42 Subtitle encoding failed1.0 size= 182919kB time=00:00:00.00 bitrate= 0.0kbits/s 43 }}} 36 44 37 45 The interesting point is that ffplay and mplayer both can play the input file and they show the subtitle properly. … … 39 47 Here is the output of ffmpeg -version command : 40 48 49 {{{ 41 50 ffmpeg version 0.10.2-4:0.10.2-0ubuntu0jon1~oneiric1 42 51 built on Mar 18 2012 11:07:55 with gcc 4.6.1 … … 50 59 libswresample 0. 6.100 / 0. 6.100 51 60 libpostproc 52. 0.100 / 52. 0.100 61 }}}