Changes between Initial Version and Version 28 of Ticket #1277


Ignore:
Timestamp:
Sep 4, 2012, 7:26:42 PM (4 years ago)
Author:
ubitux
Comment:

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  
    22Here is the list of all existing streams :  
    33 
     4{{{ 
    45    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) 
    56    Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (default) 
     
    1112    Stream #0:5(ger): Subtitle: hdmv_pgs_subtitle 
    1213    Stream #0:6(ger): Subtitle: hdmv_pgs_subtitle 
     14}}} 
    1315 
    1416I want to keep only the English subtitle and convert it too. The available codecs are : 
    1517 
     18{{{ 
    1619> ffmpeg -codecs | grep sub 
    1720 DES    ass             Advanced SubStation Alpha subtitle 
     
    2124 DES    srt             SubRip subtitle 
    2225 DES    xsub            DivX subtitles (XSUB) 
     26}}} 
    2327 
    2428I choose dvdsub as the new format and try to run ffmpeg command with the following arguments : 
    2529 
    26 >ffmpeg -i in.mkv -scodec dvdsub -vcodec copy -acodec copy out.mkv 
     30{{{ 
     31ffmpeg -i in.mkv -scodec dvdsub -vcodec copy -acodec copy out.mkv 
     32}}} 
    2733 
    2834It starts running, but after a while ( I think when it reaches the first frame with subtitle ) crashes. Here you can see the messages : 
    2935 
     36{{{ 
    3037Stream mapping: 
    3138  Stream #0:0 -> #0:0 (copy) 
     
    3441Press [q] to stop, [?] for help 
    3542Subtitle encoding failed1.0 size=  182919kB time=00:00:00.00 bitrate=   0.0kbits/s  
     43}}} 
    3644 
    3745The interesting point is that ffplay and mplayer both can play the input file and they show the subtitle properly. 
     
    3947Here is the output of ffmpeg -version command : 
    4048 
     49{{{ 
    4150ffmpeg version 0.10.2-4:0.10.2-0ubuntu0jon1~oneiric1 
    4251built on Mar 18 2012 11:07:55 with gcc 4.6.1 
     
    5059libswresample   0.  6.100 /  0.  6.100 
    5160libpostproc    52.  0.100 / 52.  0.100 
     61}}}