[FFmpeg-trac] #6051(avformat:new): Detect srt without index

FFmpeg trac at avcodec.org
Thu Dec 29 13:15:26 EET 2016


#6051: Detect srt without index
---------------------------------------+----------------------------------
               Reporter:  cehoyos      |                  Owner:
                   Type:  enhancement  |                 Status:  new
               Priority:  wish         |              Component:  avformat
                Version:  git-master   |               Keywords:  srt
             Blocked By:               |               Blocking:
Reproduced by developer:  0            |  Analyzed by developer:  0
---------------------------------------+----------------------------------
 (videolan ticket 17720)
 Attached srt file is missing index values, decoding works fine if I force
 the demuxer.
 {{{
 $ ffmpeg -i DEF\ CON\ 24\ Conference\ -\ Ang\ Cui\ -\ A\ Monitor\ Darkly\
 -\ Reversing\ and\ Exploiting\ Ubiquitous\ -\ Video\ and\ Slides.srt
 ffmpeg version N-82963-g9ec52a0 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 43.100 / 55. 43.100
   libavcodec     57. 70.100 / 57. 70.100
   libavformat    57. 61.100 / 57. 61.100
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 68.100 /  6. 68.100
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 DEF CON 24 Conference - Ang Cui - A Monitor Darkly - Reversing and
 Exploiting Ubiquitous - Video and Slides.srt: Invalid data found when
 processing input
 }}}
 {{{
 $ ffmpeg -f srt -i DEF\ CON\ 24\ Conference\ -\ Ang\ Cui\ -\ A\ Monitor\
 Darkly\ -\ Reversing\ and\ Exploiting\ Ubiquitous\ -\ Video\ and\
 Slides.srt out.srt
 ffmpeg version N-82963-g9ec52a0 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      55. 43.100 / 55. 43.100
   libavcodec     57. 70.100 / 57. 70.100
   libavformat    57. 61.100 / 57. 61.100
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 68.100 /  6. 68.100
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
   libpostproc    54.  2.100 / 54.  2.100
 Input #0, srt, from 'DEF CON 24 Conference - Ang Cui - A Monitor Darkly -
 Reversing and Exploiting Ubiquitous - Video and Slides.srt':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Subtitle: subrip
 Output #0, srt, to 'out.srt':
   Metadata:
     encoder         : Lavf57.61.100
     Stream #0:0: Subtitle: subrip (srt)
     Metadata:
       encoder         : Lavc57.70.100 srt
 Stream mapping:
   Stream #0:0 -> #0:0 (subrip (srt) -> subrip (srt))
 Press [q] to stop, [?] for help
 size=      49kB time=00:34:00.53 bitrate=   0.2kbits/s speed=2.47e+05x
 video:0kB audio:0kB subtitle:35kB other streams:0kB global headers:0kB
 muxing overhead: 38.937664%
 }}}

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


More information about the FFmpeg-trac mailing list