Opened 3 months ago

Last modified 3 months ago

#7762 new defect

extracting subtitle stream fails

Reported by: bbittorf Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mov mov_text regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

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

Change History (3)

comment:1 follow-up: Changed 3 months ago by cehoyos

Please test current FFmpeg git head and provide the command line you tested together with the complete, uncut console output to make this a valid ticket.

comment:2 in reply to: ↑ 1 Changed 3 months ago by bbittorf

Replying to cehoyos:

Please test current FFmpeg git head and provide the command line you tested together with the complete, uncut console output to make this a valid ticket.

this *is* with git head: 97f47fd601d0e380109f501e4aabff71ffbad052
sorry for not mention it explicit.

comment:3 Changed 3 months ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords mov mov_text regression added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Version changed from unspecified to git-master
Note: See TracTickets for help on using tickets.