[FFmpeg-trac] #5501(undetermined:new): EAC3 decoding

FFmpeg trac at avcodec.org
Mon May 2 20:31:44 CEST 2016


#5501: EAC3 decoding
-------------------------------------+-------------------------------------
             Reporter:  Mista_D      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Problem decoding EAC3 from TS, if track is repackaged with "-copy_unkown",
 then the stream is a FFmpeg decodable AC3 384k...


 Any way to decode original file without the temp file?


 1. FAILED TO DECODE

 ffmpeg -i part.ts -map 0:1 -t 10 -f null -

 ffmpeg version N-79000-g66edd86 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.3.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype
 --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
 --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
 --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-
 libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab
 --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
 libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink
 --enable-zlib
   libavutil      55. 19.100 / 55. 19.100
   libavcodec     57. 28.100 / 57. 28.100
   libavformat    57. 28.100 / 57. 28.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 39.102 /  6. 39.102
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 [mpegts @ 00000000007a2700] probed stream 1 failed
 [mpegts @ 00000000007a2700] Could not find codec parameters for stream 1
 (Unknown: none (EAC3 / 0x33434145)): unknown codec
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mpegts, from 'part.ts':
   Duration: N/A, start: 1.083400, bitrate: N/A
   Program 2
     Stream #0:0[0x1e1]: Video: h264 (High 4:2:2) ([27][0][0][0] / 0x001B),
 yuv422p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9],
  Closed Captions, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
     Stream #0:1[0x1e2]: Unknown: none (EAC3 / 0x33434145)
 Cannot map stream #0:1 - unsupported type.
 If you want unsupported types ignored instead of failing, please use the
 -ignore_unknown option
 If you want them copied, please use -copy_unknown



 2. COPIED TRACK TO TS with "-copy_unknown"

 ffmpeg -i 108GB_9.ts -map 0:1 -t 10 -copy_unknown -c copy audio_test.ts

 ffmpeg version N-79000-g66edd86 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.3.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype
 --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
 --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
 --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-
 libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab
 --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
 libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink
 --enable-zlib
   libavutil      55. 19.100 / 55. 19.100
   libavcodec     57. 28.100 / 57. 28.100
   libavformat    57. 28.100 / 57. 28.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 39.102 /  6. 39.102
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 [mpegts @ 0000000000662820] probed stream 1 failed
 [mpegts @ 0000000000662820] Could not find codec parameters for stream 1
 (Unknown: none (EAC3 / 0x33434145)): unknown codec
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mpegts, from '108GB_9.ts':
   Duration: N/A, start: 1.083400, bitrate: N/A
   Program 2
     Stream #0:0[0x1e1]: Video: h264 (High 4:2:2) ([27][0][0][0] / 0x001B),
 yuv422p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9],
  Closed Captions, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
     Stream #0:1[0x1e2]: Unknown: none (EAC3 / 0x33434145)
 Output #0, mpegts, to 'audio_test.ts':
   Metadata:
     encoder         : Lavf57.28.100
     Stream #0:0: Unknown: none (EAC3 / 0x33434145)
 Stream mapping:
   Stream #0:1 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 size=     540kB time=00:00:09.98 bitrate= 443.5kbits/s speed=  35x
 video:0kB audio:0kB subtitle:0kB other streams:473kB global headers:0kB
 muxing overhead: 14.242310%



 3. CONVERT TEST AUDIO FILE to WAV  -  OK!

 ffmpeg -i audio_test.ts 1.wav

 ffmpeg version N-79000-g66edd86 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.3.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype
 --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
 --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
 --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-
 libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab
 --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
 libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink
 --enable-zlib
   libavutil      55. 19.100 / 55. 19.100
   libavcodec     57. 28.100 / 57. 28.100
   libavformat    57. 28.100 / 57. 28.100
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 39.102 /  6. 39.102
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, mpegts, from 'audio_test.ts':
   Duration: 00:00:09.98, start: 1.400000, bitrate: 443 kb/s
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100]: Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz,
 5.1(side), fltp, 384 kb/s
 Output #0, wav, to '1.wav':
   Metadata:
     ISFT            : Lavf57.28.100
     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
 5.1(side), s16, 4608 kb/s
     Metadata:
       encoder         : Lavc57.28.100 pcm_s16le
 Stream mapping:
   Stream #0:0 -> #0:0 (eac3 (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 [eac3 @ 000000000078ef20] incomplete frame
 size=    5652kB time=00:00:10.04 bitrate=4608.1kbits/s speed= 141x
 video:0kB audio:5652kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.001762%

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


More information about the FFmpeg-trac mailing list