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

FFmpeg trac at avcodec.org
Mon May 2 23:35:48 CEST 2016


#5501: EAC3 decoding
-------------------------------------+-------------------------------------
             Reporter:  Mista_D      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  mpegts       |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by Mista_D):

 Resubmitting test file, commands and console as per Carlos' request.

 LONGER TEST FILE:
 http://www.mediafire.com/download/3213n9fvecewxwn/part.ts


 COMMANDS:
 1. NOT DECODING
 ffmpeg -i part.ts -map 0:1 -f null /dev/null
 ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
   built with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
   configuration: --prefix=/home/dennisp/010_64 --enable-static --enable-
 postproc --enable-gpl --enable-avfilter --enable-libx264 --enable-libxvid
 --enable-libmp3lame --enable-libx265 --enable-pthreads --enable-swscale
 --enable-runtime-cpudetect --disable-devices --disable-avdevice --extra-
 ldflags=-static --disable-shared --enable-bzlib --enable-zlib --enable-
 libfaac --extra-libs='-lx264 -lxvidcore -lmp3lame -lpthread -lm -lbz2 -lz
 -lpthread -lvpx -lass -lfontconfig -lexpat -lfreetype -lfaac -lx265 -lfdk-
 aac' --enable-libfdk-aac --disable-encoder=libgsm --disable-decoder=libgsm
 --disable-doc --enable-libvpx --enable-libass --enable-version3 --enable-
 nonfree --enable-libfreetype --pkg-config-flags=--static
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 60.100 / 56. 60.100
   libavformat    56. 40.101 / 56. 40.101
   libavfilter     5. 40.101 /  5. 40.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 [mpegts @ 0x404f980] 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: 00:00:19.06, start: 1.083400, bitrate: 125913 kb/s
   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. COPY UNDECODABLE TRACK TO A TEMP AUDIO TS FILE:


 ffmpeg281 -i part.ts -map 0:1 -copy_unknown -c copy audio.ts
 ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
   built with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
   configuration: --prefix=/home/dennisp/010_64 --enable-static --enable-
 postproc --enable-gpl --enable-avfilter --enable-libx264 --enable-libxvid
 --enable-libmp3lame --enable-libx265 --enable-pthreads --enable-swscale
 --enable-runtime-cpudetect --disable-devices --disable-avdevice --extra-
 ldflags=-static --disable-shared --enable-bzlib --enable-zlib --enable-
 libfaac --extra-libs='-lx264 -lxvidcore -lmp3lame -lpthread -lm -lbz2 -lz
 -lpthread -lvpx -lass -lfontconfig -lexpat -lfreetype -lfaac -lx265 -lfdk-
 aac' --enable-libfdk-aac --disable-encoder=libgsm --disable-decoder=libgsm
 --disable-doc --enable-libvpx --enable-libass --enable-version3 --enable-
 nonfree --enable-libfreetype --pkg-config-flags=--static
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 60.100 / 56. 60.100
   libavformat    56. 40.101 / 56. 40.101
   libavfilter     5. 40.101 /  5. 40.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 [mpegts @ 0x3ad29a0] 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: 00:00:19.06, start: 1.083400, bitrate: 125913 kb/s
   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.ts':
   Metadata:
     encoder         : Lavf56.40.101
     Stream #0:0: Unknown: none (EAC3 / 0x33434145)
 Stream mapping:
   Stream #0:1 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [mpegts @ 0x3ad29a0] PES packet size mismatch
 size=     993kB time=00:00:18.20 bitrate= 446.7kbits/s
 video:0kB audio:0kB subtitle:0kB other streams:854kB global headers:0kB
 muxing overhead: 16.271017%





 3. NEWLY CREATED AUDIO TS FILE IS DECODABLE:




 fmpeg281 -i part.ts -map 0:1 -copy_unknown -c copy audio.ts
 ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
   built with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
   configuration: --prefix=/home/dennisp/010_64 --enable-static --enable-
 postproc --enable-gpl --enable-avfilter --enable-libx264 --enable-libxvid
 --enable-libmp3lame --enable-libx265 --enable-pthreads --enable-swscale
 --enable-runtime-cpudetect --disable-devices --disable-avdevice --extra-
 ldflags=-static --disable-shared --enable-bzlib --enable-zlib --enable-
 libfaac --extra-libs='-lx264 -lxvidcore -lmp3lame -lpthread -lm -lbz2 -lz
 -lpthread -lvpx -lass -lfontconfig -lexpat -lfreetype -lfaac -lx265 -lfdk-
 aac' --enable-libfdk-aac --disable-encoder=libgsm --disable-decoder=libgsm
 --disable-doc --enable-libvpx --enable-libass --enable-version3 --enable-
 nonfree --enable-libfreetype --pkg-config-flags=--static
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 60.100 / 56. 60.100
   libavformat    56. 40.101 / 56. 40.101
   libavfilter     5. 40.101 /  5. 40.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 [mpegts @ 0x3ad29a0] 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: 00:00:19.06, start: 1.083400, bitrate: 125913 kb/s
   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.ts':
   Metadata:
     encoder         : Lavf56.40.101
     Stream #0:0: Unknown: none (EAC3 / 0x33434145)
 Stream mapping:
   Stream #0:1 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [mpegts @ 0x3ad29a0] PES packet size mismatch
 size=     993kB time=00:00:18.20 bitrate= 446.7kbits/s
 video:0kB audio:0kB subtitle:0kB other streams:854kB global headers:0kB
 muxing overhead: 16.271017%
 [admin26 at san-prod-drop-02 ~]$ ffmpeg281 -i audio.ts -f null /dev/null
 ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
   built with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
   configuration: --prefix=/home/dennisp/010_64 --enable-static --enable-
 postproc --enable-gpl --enable-avfilter --enable-libx264 --enable-libxvid
 --enable-libmp3lame --enable-libx265 --enable-pthreads --enable-swscale
 --enable-runtime-cpudetect --disable-devices --disable-avdevice --extra-
 ldflags=-static --disable-shared --enable-bzlib --enable-zlib --enable-
 libfaac --extra-libs='-lx264 -lxvidcore -lmp3lame -lpthread -lm -lbz2 -lz
 -lpthread -lvpx -lass -lfontconfig -lexpat -lfreetype -lfaac -lx265 -lfdk-
 aac' --enable-libfdk-aac --disable-encoder=libgsm --disable-decoder=libgsm
 --disable-doc --enable-libvpx --enable-libass --enable-version3 --enable-
 nonfree --enable-libfreetype --pkg-config-flags=--static
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 60.100 / 56. 60.100
   libavformat    56. 40.101 / 56. 40.101
   libavfilter     5. 40.101 /  5. 40.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, mpegts, from 'audio.ts':
   Duration: 00:00:18.21, start: 1.400000, bitrate: 446 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, null, to '/dev/null':
   Metadata:
     encoder         : Lavf56.40.101
     Stream #0:0: Audio: pcm_s16le, 48000 Hz, 5.1(side), s16, 4608 kb/s
     Metadata:
       encoder         : Lavc56.60.100 pcm_s16le
 Stream mapping:
   Stream #0:0 -> #0:0 (eac3 (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 [eac3 @ 0x29b3d40] incomplete frame
 size=N/A time=00:00:18.24 bitrate=N/A
 video:0kB audio:10260kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown


 Looking to decode original file without generating the temp file.

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


More information about the FFmpeg-trac mailing list