[FFmpeg-trac] #7762(undetermined:new): extracting subtitle stream fails

FFmpeg trac at avcodec.org
Thu Feb 28 21:10:17 EET 2019


#7762: extracting subtitle stream fails
-------------------------------------+-------------------------------------
             Reporter:  bbittorf     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 while trying to extract 1 stream of subtitles (tx3g), I get:
 {{{
 [srt @ 0x60ce180] SRT supports only a single subtitles stream.
 Could not write header for output file #0 (incorrect codec parameters ?):
 Invalid argument
 }}}

 How to reproduce:
 {{{
 % wget -O file.m4a
 https://freakshow.fm/podlove/file/5664/s/webplayer/c/episode/fs232
 -wurstkatastrophe-im-baellebad.m4a

 % ffmpeg -i file.m4a -map 0:1 -c copy out.srt
 }}}

 i tried these versions:
 {{{
 ffmpeg version 3.2.12-1~deb9u1
 ffmpeg version N-48266-g97f47fd601-static
 }}}

 when quering with ffprobe it shows an interesting last line:
 {{{
 % ffprobe file.m4a
 [...]
     Stream #0:0(und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz,
 stereo, fltp, 47 kb/s (default)
     Metadata:
       creation_time   : 2019-02-20T23:54:27.000000Z
     Stream #0:1(eng): Data: bin_data (tx3g / 0x67337874)
     Metadata:
       creation_time   : 2019-02-20T23:58:55.000000Z
       handler_name    : "Chapter Titles"
     Stream #0:2(eng): Video: mjpeg (Baseline) (jpeg / 0x6765706A),
 yuvj420p(pc, bt470bg/unknown/unknown), 300x300 [SAR 1:1 DAR 1:1], 0.0001
 fps, 0.0001 tbr, 1k tbn, 1k tbc (default)
     Metadata:
       creation_time   : 2019-02-20T23:58:55.000000Z
       handler_name    : "Chapter Images"
 Unsupported codec with id 100359 for input stream 1
 }}}

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


More information about the FFmpeg-trac mailing list