#7762: extracting subtitle stream fails -------------------------------------+------------------------------------- Reporter: Bastian | Owner: (none) Bittorf | Type: defect | Status: new Priority: important | Component: avformat Version: git-master | Resolution: Keywords: mov aac | Blocked By: mov_text regression | Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Bastian Bittorf):
I tried a lot of stuff (see below), but it seems the underlying reason for my problem is: {{{ Unsupported codec with id 98314 for input stream 1 }}} If you google for that, i'am not alone and it maybe has to do with the non-text-encoded 'tx3g' subtitles stream "Data: bin_data (tx3g...": {{{ user@box:~$ ffmpeg-7.0.2-amd64-static/ffmpeg -i file.m4a 2>&1 | grep 'Stream #[0-9]' Stream #0:0[0x1](und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 47 kb/s (default) Stream #0:1[0x2](eng): Data: bin_data (tx3g / 0x67337874) Stream #0:2[0x3](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 (default) (attached pic) (timed thumbnails) }}} full output is: {{{ user@box:~$ ffmpeg-7.0.2-amd64-static/ffprobe -i file.m4a ffprobe version 7.0.2-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2007-2024 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --enable-gpl --enable-version3 --enable-static --disable- debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg libavutil 59. 8.100 / 59. 8.100 libavcodec 61. 3.100 / 61. 3.100 libavformat 61. 1.100 / 61. 1.100 libavdevice 61. 1.100 / 61. 1.100 libavfilter 10. 1.100 / 10. 1.100 libswscale 8. 1.100 / 8. 1.100 libswresample 5. 1.100 / 5. 1.100 libpostproc 58. 1.100 / 58. 1.100 [mjpeg @ 0x40588780] EOI missing, emulating Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file.m4a': Metadata: major_brand : M4V minor_version : 1 compatible_brands: M4A mp42isom creation_time : 2019-02-20T23:54:27.000000Z title : FS232 Wurstkatastrophe im Bällebad artist : Metaebene Personal Media album : Freak Show track : 232 date : 2019 encoder : auphonic.com iTunSMPB : 00000000 00000800 000005E0 00000000125EC620 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 description : comment : album_artist : Freak Show Duration: 03:52:57.53, start: 0.000000, bitrate: 49 kb/s Chapters: Chapter #0:0: start 0.000000, end 65.487000 Metadata: title : Intro Chapter #0:1: start 65.487000, end 169.929000 Metadata: title : Begrüßung Chapter #0:2: start 169.929000, end 397.296000 Metadata: title : Niklas Roy Chapter #0:3: start 397.296000, end 1603.783000 Metadata: title : Heimcomputer und Spielekonsolen Chapter #0:4: start 1603.783000, end 3173.700000 Metadata: title : Grafiksoftware Chapter #0:5: start 3173.700000, end 4836.552000 Metadata: title : Kunst Chapter #0:6: start 4836.552000, end 6757.380000 Metadata: title : Niklas' Projekte Chapter #0:7: start 6757.380000, end 8316.623000 Metadata: title : Steuerung und Workshops Chapter #0:8: start 8316.623000, end 10261.220000 Metadata: title : Dokumentation und freie Lizenzen Chapter #0:9: start 10261.220000, end 13145.059000 Metadata: title : Neues aus Barcelona Chapter #0:10: start 13145.059000, end 13661.674000 Metadata: title : E-Roller Security Chapter #0:11: start 13661.674000, end 13857.677000 Metadata: title : Free Wifi an Flughäfen Chapter #0:12: start 13857.677000, end 13977.530000 Metadata: title : Ausklang Stream #0:0[0x1](und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 47 kb/s (default) Metadata: creation_time : 2019-02-20T23:54:27.000000Z vendor_id : [0][0][0][0] Stream #0:1[0x2](eng): Data: bin_data (tx3g / 0x67337874) Metadata: creation_time : 2019-02-20T23:58:55.000000Z handler_name : "Chapter Titles" Stream #0:2[0x3](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 (default) (attached pic) (timed thumbnails) Metadata: creation_time : 2019-02-20T23:58:55.000000Z handler_name : "Chapter Images" vendor_id : .... Unsupported codec with id 98314 for input stream 1 }}} and: {{{ user@box:~$ ffmpeg-7.0.2-amd64-static/ffmpeg -i file.m4a -map 0:s:? -c copy -f srt out.srt ffmpeg version 7.0.2-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2024 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --enable-gpl --enable-version3 --enable-static --disable- debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg libavutil 59. 8.100 / 59. 8.100 libavcodec 61. 3.100 / 61. 3.100 libavformat 61. 1.100 / 61. 1.100 libavdevice 61. 1.100 / 61. 1.100 libavfilter 10. 1.100 / 10. 1.100 libswscale 8. 1.100 / 8. 1.100 libswresample 5. 1.100 / 5. 1.100 libpostproc 58. 1.100 / 58. 1.100 [mjpeg @ 0x2268cc80] EOI missing, emulating Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file.m4a': Metadata: major_brand : M4V minor_version : 1 compatible_brands: M4A mp42isom creation_time : 2019-02-20T23:54:27.000000Z title : FS232 Wurstkatastrophe im Bällebad artist : Metaebene Personal Media album : Freak Show track : 232 date : 2019 encoder : auphonic.com iTunSMPB : 00000000 00000800 000005E0 00000000125EC620 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 description : comment : album_artist : Freak Show Duration: 03:52:57.53, start: 0.000000, bitrate: 49 kb/s Chapters: Chapter #0:0: start 0.000000, end 65.487000 Metadata: title : Intro Chapter #0:1: start 65.487000, end 169.929000 Metadata: title : Begrüßung Chapter #0:2: start 169.929000, end 397.296000 Metadata: title : Niklas Roy Chapter #0:3: start 397.296000, end 1603.783000 Metadata: title : Heimcomputer und Spielekonsolen Chapter #0:4: start 1603.783000, end 3173.700000 Metadata: title : Grafiksoftware Chapter #0:5: start 3173.700000, end 4836.552000 Metadata: title : Kunst Chapter #0:6: start 4836.552000, end 6757.380000 Metadata: title : Niklas' Projekte Chapter #0:7: start 6757.380000, end 8316.623000 Metadata: title : Steuerung und Workshops Chapter #0:8: start 8316.623000, end 10261.220000 Metadata: title : Dokumentation und freie Lizenzen Chapter #0:9: start 10261.220000, end 13145.059000 Metadata: title : Neues aus Barcelona Chapter #0:10: start 13145.059000, end 13661.674000 Metadata: title : E-Roller Security Chapter #0:11: start 13661.674000, end 13857.677000 Metadata: title : Free Wifi an Flughäfen Chapter #0:12: start 13857.677000, end 13977.530000 Metadata: title : Ausklang Stream #0:0[0x1](und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 47 kb/s (default) Metadata: creation_time : 2019-02-20T23:54:27.000000Z vendor_id : [0][0][0][0] Stream #0:1[0x2](eng): Data: bin_data (tx3g / 0x67337874) Metadata: creation_time : 2019-02-20T23:58:55.000000Z handler_name : "Chapter Titles" Stream #0:2[0x3](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 (default) (attached pic) (timed thumbnails) Metadata: creation_time : 2019-02-20T23:58:55.000000Z handler_name : "Chapter Images" vendor_id : .... Output #0, srt, to 'out.srt': [out#0/srt @ 0x2272ddc0] Output file does not contain any stream Error opening output file out.srt. Error opening output files: Invalid argument user@box:~$ echo $? 234 user@box:~$ ls -l out.srt ls: cannot access 'out.srt': No such file or directory }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/7762#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".