Opened 3 years ago

Last modified 2 years ago

#7762 new defect

extracting subtitle stream fails

Reported by: Bastian Bittorf Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mov aac 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

Attachments (1)

fs232-wurstkatastrophe-im-baellebad_cut.m4a (2.4 MB ) - added by Carl Eugen Hoyos 2 years ago.

Change History (5)

comment:1 by Carl Eugen Hoyos, 3 years ago

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.

in reply to:  1 comment:2 by Bastian Bittorf, 3 years ago

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 by Carl Eugen Hoyos, 3 years ago

Component: undeterminedavformat
Keywords: mov mov_text regression added
Priority: normalimportant
Reproduced by developer: set
Version: unspecifiedgit-master

comment:4 by Carl Eugen Hoyos, 2 years ago

Keywords: aac added

by Carl Eugen Hoyos, 2 years ago

Note: See TracTickets for help on using tickets.