Opened 9 years ago

Closed 8 years ago

#4541 closed defect (fixed)

Allow selecting decoder per stream or make libdcadec the default

Reported by: Ofekmeister Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: libdcadec dca
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hello! I'm told this will be an easy fix.

The new libdcadec decoding won't work on individual streams via "ffmpeg -c:a:stream_num libdcadec -i ...". It will only work when applying it to all audio streams via "ffmpeg -c:a libdcadec -i ..." which of course is undesirable because it decodes all streams as DTS. This is reproducible and even occurs when the DTS-HD MA is just by itself not in a container.

As suggested by rcombs in the #ffmpeg-devel IRC, libdcadec might be better off being positioned before dca in allcodecs.c since it is the best (bit-perfect on all samples) open source DTS-HD (plus all extentions, MA, HR, etc.) decoder available now and currently we only support the regular DTS core. Not only would this be a requested and default, but it would apparently fix this bug.

Both -report below.

This is the -report of it not working with "-c:a:stream_num libdcadec":

ffmpeg started on 2015-05-07 at 21:45:31
Report written to "ffmpeg-20150507-214531.log"
Command line:
"C:\\Users\\Ofek\\Desktop\\f\\bin\\ffmpeg.exe" -v 9 -loglevel 99 -c:a:0 libdcadec -i "C:\\Users\\Ofek\\Desktop\\0.mkv" -y "C:\\Users\\Ofek\\Desktop\\notworking.w64" -report
ffmpeg version N-71959-g9253cc4 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
  libavutil      54. 23.101 / 54. 23.101
  libavcodec     56. 37.102 / 56. 37.102
  libavformat    56. 32.100 / 56. 32.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-c:a:0' ... matched as option 'c' (codec name) with argument 'libdcadec'.
Reading option '-i' ... matched as input file with argument 'C:\Users\Ofek\Desktop\0.mkv'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'C:\Users\Ofek\Desktop\notworking.w64' ... matched as output file.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file C:\Users\Ofek\Desktop\0.mkv.
Applying option c:a:0 (codec name) with argument libdcadec.
Successfully parsed a group of options.
Opening an input file: C:\Users\Ofek\Desktop\0.mkv.
[matroska,webm @ 0000000000370780] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
st:2 removing common factor 1000000 from timebase
[matroska,webm @ 0000000000370780] Before avformat_find_stream_info() pos: 5648 bytes read:34077 seeks:2
[h264 @ 0000000000374060] no picture 
[dca @ 0000000000376500] Stream with high frequencies VQ coding
[dca @ 0000000000376500] DTS-XLL: ignoring XLL extension
[matroska,webm @ 0000000000370780] All info found
[matroska,webm @ 0000000000370780] After avformat_find_stream_info() pos: 51439 bytes read:99613 seeks:2 frames:28
Input #0, matroska,webm, from 'C:\Users\Ofek\Desktop\0.mkv':
  Metadata:
    encoder         : libebml v1.3.0 + libmatroska v1.4.1
    creation_time   : 2015-05-08 01:38:33
  Duration: 00:00:21.36, start: 0.000000, bitrate: 15118 kb/s
    Stream #0:0(eng), 4, 1/1000: Video: h264 (High), 4 reference frames, yuv420p(left), 1920x1080 (1920x1088), 1001/48000, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : 1.h264
      BPS             : 9387229
      BPS-eng         : 9387229
      DURATION        : 00:00:21.313000000
      DURATION-eng    : 00:00:21.313000000
      NUMBER_OF_FRAMES: 511
      NUMBER_OF_FRAMES-eng: 511
      NUMBER_OF_BYTES : 25008754
      NUMBER_OF_BYTES-eng: 25008754
      _STATISTICS_WRITING_APP: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_DATE_UTC: 2015-05-08 01:38:33
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-05-08 01:38:33
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(eng), 16, 1/1000: Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), fltp (default)
    Metadata:
      title           : 2.dts
      BPS             : 5428927
      BPS-eng         : 5428927
      DURATION        : 00:00:21.355000000
      DURATION-eng    : 00:00:21.355000000
      NUMBER_OF_FRAMES: 2002
      NUMBER_OF_FRAMES-eng: 2002
      NUMBER_OF_BYTES : 14491844
      NUMBER_OF_BYTES-eng: 14491844
      _STATISTICS_WRITING_APP: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_DATE_UTC: 2015-05-08 01:38:33
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-05-08 01:38:33
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng), 8, 1/1000: Audio: ac3, 48000 Hz, stereo, fltp, 320 kb/s
    Metadata:
      title           : 3.ac3
      BPS             : 320000
      BPS-eng         : 320000
      DURATION        : 00:00:21.024000000
      DURATION-eng    : 00:00:21.024000000
      NUMBER_OF_FRAMES: 657
      NUMBER_OF_FRAMES-eng: 657
      NUMBER_OF_BYTES : 840960
      NUMBER_OF_BYTES-eng: 840960
      _STATISTICS_WRITING_APP: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_DATE_UTC: 2015-05-08 01:38:33
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-05-08 01:38:33
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Successfully opened the file.
Parsing a group of options: output file C:\Users\Ofek\Desktop\notworking.w64.
Successfully parsed a group of options.
Opening an output file: C:\Users\Ofek\Desktop\notworking.w64.
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:1 @ 0000000010beaf20] Setting 'time_base' to value '1/48000'
[graph 0 input from stream 0:1 @ 0000000010beaf20] Setting 'sample_rate' to value '48000'
[graph 0 input from stream 0:1 @ 0000000010beaf20] Setting 'sample_fmt' to value 'fltp'
[graph 0 input from stream 0:1 @ 0000000010beaf20] Setting 'channel_layout' to value '0x60f'
[graph 0 input from stream 0:1 @ 0000000010beaf20] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x60f
[audio format for output stream 0:0 @ 0000000010beb0a0] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:0 @ 0000000010beb0a0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
[AVFilterGraph @ 0000000000374840] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 0000000010beb160] ch:6 chl:5.1(side) fmt:fltp r:48000Hz -> ch:6 chl:5.1(side) fmt:s16 r:48000Hz
Output #0, w64, to 'C:\Users\Ofek\Desktop\notworking.w64':
  Metadata:
    encoder         : Lavf56.32.100
    Stream #0:0(eng), 0, 1/48000: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1(side), s16, 4608 kb/s (default)
    Metadata:
      title           : 2.dts
      BPS             : 5428927
      BPS-eng         : 5428927
      DURATION        : 00:00:21.355000000
      DURATION-eng    : 00:00:21.355000000
      NUMBER_OF_FRAMES: 2002
      NUMBER_OF_FRAMES-eng: 2002
      NUMBER_OF_BYTES : 14491844
      NUMBER_OF_BYTES-eng: 14491844
      _STATISTICS_WRITING_APP: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_DATE_UTC: 2015-05-08 01:38:33
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-05-08 01:38:33
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      encoder         : Lavc56.37.102 pcm_s16le
Stream mapping:
  Stream #0:1 -> #0:0 (dts (libdcadec) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Input stream #0:1 frame changed from rate:48000 fmt:fltp ch:6 chl:5.1(side) to rate:48000 fmt:s32p ch:8 chl:7.1
[graph 0 input from stream 0:1 @ 0000000010beafe0] Setting 'time_base' to value '1/48000'
[graph 0 input from stream 0:1 @ 0000000010beafe0] Setting 'sample_rate' to value '48000'
[graph 0 input from stream 0:1 @ 0000000010beafe0] Setting 'sample_fmt' to value 's32p'
[graph 0 input from stream 0:1 @ 0000000010beafe0] Setting 'channel_layout' to value '0x63f'
[graph 0 input from stream 0:1 @ 0000000010beafe0] tb:1/48000 samplefmt:s32p samplerate:48000 chlayout:0x63f
[audio format for output stream 0:0 @ 0000000010beb160] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:0 @ 0000000010beb160] Setting 'sample_rates' to value '48000'
[audio format for output stream 0:0 @ 0000000010beb160] Setting 'channel_layouts' to value '0x60f'
[audio format for output stream 0:0 @ 0000000010beb160] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
[AVFilterGraph @ 0000000000374840] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
0.585786 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 
0.000000 0.585786 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 
0.000000 0.000000 0.585786 0.000000 0.000000 0.000000 0.000000 0.000000 
0.000000 0.000000 0.000000 0.585786 0.000000 0.000000 0.000000 0.000000 
0.000000 0.000000 0.000000 0.000000 0.414214 0.000000 0.585786 0.000000 
0.000000 0.000000 0.000000 0.000000 0.000000 0.414214 0.000000 0.585786 
[auto-inserted resampler 0 @ 0000000010beae60] ch:8 chl:7.1 fmt:s32p r:48000Hz -> ch:6 chl:5.1(side) fmt:s16 r:48000Hz
size=    8844kB time=00:00:15.72 bitrate=4608.3kbits/s    
[output stream 0:0 @ 0000000010beb0a0] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
size=   12012kB time=00:00:21.35 bitrate=4608.2kbits/s    
video:0kB audio:12012kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001041%
Input file #0 (C:\Users\Ofek\Desktop\0.mkv):
  Input stream #0:0 (video): 4 packets read (1446 bytes); 
  Input stream #0:1 (audio): 2002 packets read (14491844 bytes); 2002 frames decoded (1025024 samples); 
  Input stream #0:2 (audio): 8 packets read (10240 bytes); 
  Total: 2014 packets (14503530 bytes) demuxed
Output file #0 (C:\Users\Ofek\Desktop\notworking.w64):
  Output stream #0:0 (audio): 2002 frames encoded (1025024 samples); 2002 packets muxed (12300288 bytes); 
  Total: 2002 packets (12300288 bytes) muxed
2002 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0000000000370e20] Statistics: 4 seeks, 2005 writeouts
[AVIOContext @ 000000000037a0a0] Statistics: 40385372 bytes read, 2 seeks





This is the -report of it working with "-c:a libdcadec":

ffmpeg started on 2015-05-07 at 21:44:34
Report written to "ffmpeg-20150507-214434.log"
Command line:
"C:\\Users\\Ofek\\Desktop\\f\\bin\\ffmpeg.exe" -v 9 -loglevel 99 -c:a libdcadec -i "C:\\Users\\Ofek\\Desktop\\0.mkv" -y "C:\\Users\\Ofek\\Desktop\\working.w64" -report
ffmpeg version N-71959-g9253cc4 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
  libavutil      54. 23.101 / 54. 23.101
  libavcodec     56. 37.102 / 56. 37.102
  libavformat    56. 32.100 / 56. 32.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'libdcadec'.
Reading option '-i' ... matched as input file with argument 'C:\Users\Ofek\Desktop\0.mkv'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'C:\Users\Ofek\Desktop\working.w64' ... matched as output file.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file C:\Users\Ofek\Desktop\0.mkv.
Applying option c:a (codec name) with argument libdcadec.
Successfully parsed a group of options.
Opening an input file: C:\Users\Ofek\Desktop\0.mkv.
[matroska,webm @ 0000000002f50780] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
st:2 removing common factor 1000000 from timebase
[matroska,webm @ 0000000002f50780] Before avformat_find_stream_info() pos: 5648 bytes read:34077 seeks:2
[h264 @ 0000000002f54060] no picture 
[matroska,webm @ 0000000002f50780] first_dts 42 not matching first dts NOPTS (pts 0, duration 41) in the queue
[matroska,webm @ 0000000002f50780] max_analyze_duration 5000000 reached at 5024000 microseconds
[matroska,webm @ 0000000002f50780] decoding for stream 2 failed
[matroska,webm @ 0000000002f50780] Could not find codec parameters for stream 2 (Audio: dts, 48000 Hz, 2 channels, s32p (24 bit)): no decodable DTS frames
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0000000002f50780] After avformat_find_stream_info() pos: 2586113 bytes read:2637062 seeks:2 frames:744
Guessed Channel Layout for  Input Stream #0.2 : stereo
Input #0, matroska,webm, from 'C:\Users\Ofek\Desktop\0.mkv':
  Metadata:
    encoder         : libebml v1.3.0 + libmatroska v1.4.1
    creation_time   : 2015-05-08 01:38:33
  Duration: 00:00:21.36, start: 0.000000, bitrate: 15118 kb/s
    Stream #0:0(eng), 118, 1/1000: Video: h264 (High), 4 reference frames, yuv420p(left), 1920x1080 (1920x1088), 1001/48000, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : 1.h264
      BPS             : 9387229
      BPS-eng         : 9387229
      DURATION        : 00:00:21.313000000
      DURATION-eng    : 00:00:21.313000000
      NUMBER_OF_FRAMES: 511
      NUMBER_OF_FRAMES-eng: 511
      NUMBER_OF_BYTES : 25008754
      NUMBER_OF_BYTES-eng: 25008754
      _STATISTICS_WRITING_APP: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_DATE_UTC: 2015-05-08 01:38:33
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-05-08 01:38:33
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(eng), 467, 1/1000: Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit) (default)
    Metadata:
      title           : 2.dts
      BPS             : 5428927
      BPS-eng         : 5428927
      DURATION        : 00:00:21.355000000
      DURATION-eng    : 00:00:21.355000000
      NUMBER_OF_FRAMES: 2002
      NUMBER_OF_FRAMES-eng: 2002
      NUMBER_OF_BYTES : 14491844
      NUMBER_OF_BYTES-eng: 14491844
      _STATISTICS_WRITING_APP: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_DATE_UTC: 2015-05-08 01:38:33
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-05-08 01:38:33
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng), 159, 1/1000: Audio: dts, 48000 Hz, 2 channels, s32p (24 bit)
    Metadata:
      title           : 3.ac3
      BPS             : 320000
      BPS-eng         : 320000
      DURATION        : 00:00:21.024000000
      DURATION-eng    : 00:00:21.024000000
      NUMBER_OF_FRAMES: 657
      NUMBER_OF_FRAMES-eng: 657
      NUMBER_OF_BYTES : 840960
      NUMBER_OF_BYTES-eng: 840960
      _STATISTICS_WRITING_APP: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_DATE_UTC: 2015-05-08 01:38:33
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-05-08 01:38:33
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Successfully opened the file.
Parsing a group of options: output file C:\Users\Ofek\Desktop\working.w64.
Successfully parsed a group of options.
Opening an output file: C:\Users\Ofek\Desktop\working.w64.
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:1 @ 0000000010c21560] Setting 'time_base' to value '1/48000'
[graph 0 input from stream 0:1 @ 0000000010c21560] Setting 'sample_rate' to value '48000'
[graph 0 input from stream 0:1 @ 0000000010c21560] Setting 'sample_fmt' to value 's32p'
[graph 0 input from stream 0:1 @ 0000000010c21560] Setting 'channel_layout' to value '0x63f'
[graph 0 input from stream 0:1 @ 0000000010c21560] tb:1/48000 samplefmt:s32p samplerate:48000 chlayout:0x63f
[audio format for output stream 0:0 @ 0000000010c216e0] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:0 @ 0000000010c216e0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
[AVFilterGraph @ 0000000002f547a0] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 0000000010c217a0] ch:8 chl:7.1 fmt:s32p r:48000Hz -> ch:8 chl:7.1 fmt:s16 r:48000Hz
Output #0, w64, to 'C:\Users\Ofek\Desktop\working.w64':
  Metadata:
    encoder         : Lavf56.32.100
    Stream #0:0(eng), 0, 1/48000: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 7.1, s16 (24 bit), 6144 kb/s (default)
    Metadata:
      title           : 2.dts
      BPS             : 5428927
      BPS-eng         : 5428927
      DURATION        : 00:00:21.355000000
      DURATION-eng    : 00:00:21.355000000
      NUMBER_OF_FRAMES: 2002
      NUMBER_OF_FRAMES-eng: 2002
      NUMBER_OF_BYTES : 14491844
      NUMBER_OF_BYTES-eng: 14491844
      _STATISTICS_WRITING_APP: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.3.0 ('Nouages') 32bit built on Oct 22 2014 18:44:01
      _STATISTICS_WRITING_DATE_UTC: 2015-05-08 01:38:33
      _STATISTICS_WRITING_DATE_UTC-eng: 2015-05-08 01:38:33
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      encoder         : Lavc56.37.102 pcm_s16le
Stream mapping:
  Stream #0:1 -> #0:0 (dts (libdcadec) -> pcm_s16le (native))
Press [q] to stop, [?] for help
size=   11680kB time=00:00:15.57 bitrate=6144.1kbits/s    
[output stream 0:0 @ 0000000010c21620] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
size=   16016kB time=00:00:21.35 bitrate=6144.2kbits/s    
video:0kB audio:16016kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000780%
Input file #0 (C:\Users\Ofek\Desktop\0.mkv):
  Input stream #0:0 (video): 118 packets read (791278 bytes); 
  Input stream #0:1 (audio): 2002 packets read (14491844 bytes); 2002 frames decoded (1025024 samples); 
  Input stream #0:2 (audio): 160 packets read (204800 bytes); 
  Total: 2280 packets (15487922 bytes) demuxed
Output file #0 (C:\Users\Ofek\Desktop\working.w64):
  Output stream #0:0 (audio): 2002 frames encoded (1025024 samples); 2002 packets muxed (16400384 bytes); 
  Total: 2002 packets (16400384 bytes) muxed
2002 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0000000010ea7280] Statistics: 4 seeks, 2005 writeouts
[AVIOContext @ 0000000002f5a0a0] Statistics: 40385372 bytes read, 2 seeks

Change History (4)

comment:1 by Ofekmeister, 9 years ago

comment:2 by Michael Niedermayer, 9 years ago

Summary: quick fix libdcadec issueAllow selecting decoder per stream or make libdcadec the default

comment:3 by Carl Eugen Hoyos, 9 years ago

Component: ffmpegavcodec
Keywords: dca added; DTS DTS-HD MA removed

comment:4 by Carl Eugen Hoyos, 8 years ago

Resolution: fixed
Status: newclosed

The default decoder is lossless / identical with libdcadec since ae5b2c52

Note: See TracTickets for help on using tickets.