[FFmpeg-user] DTS-HD MA decoding error
Felix Muster
felixjan.muster at icloud.com
Sun Feb 3 00:02:13 EET 2019
Hello,
I'm trying to convert DTS-HD Master Audio track embedded in mkv container to
alac and mux it into mp4(m4v)-container.
After the half I get the following messages:
[dca @ 0000000002a7bb80] Failed to decode block code(s)
Error while decoding stream #0:1: Invalid data found when processing input
[dca @ 0000000002a7bb80] Residual encoded channels are present without core
Error while decoding stream #0:1: Invalid argument
Console output:
ffmpeg -i input.mkv -map 0:1 -c:a alac output.m4v
ffmpeg version N-93069-g6dc06e979c Copyright (c) 2000-2019 the FFmpeg
developers
built with gcc 8.2.1 (GCC) 20181201
configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libdav1d --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid
--enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
--enable-avisynth --enable-libopenmpt
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 46.100 / 58. 46.100
libavformat 58. 26.100 / 58. 26.100
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Input #0, matroska,webm, from 'input.mkv':
Metadata:
title : input
encoder : libebml v1.3.4 + libmatroska v1.4.5
creation_time : 2019-01-18T12:11:38.000000Z
Duration: 02:54:56.42, start: 0.000000, bitrate: 24998 kb/s
Chapter #0:0: start 0.000000, end 259.200000
Metadata:
title : (01)00:00:00:000
Chapter #0:1: start 259.200000, end 505.600000
Metadata:
title : (02)00:04:19:200
Chapter #0:2: start 505.600000, end 816.720000
Metadata:
title : (03)00:08:25:600
Chapter #0:3: start 816.720000, end 1306.480000
Metadata:
title : (04)00:13:36:720
Chapter #0:4: start 1306.480000, end 1608.400000
Metadata:
title : (05)00:21:46:480
Chapter #0:5: start 1608.400000, end 1981.800000
Metadata:
title : (06)00:26:48:400
Chapter #0:6: start 1981.800000, end 2627.440000
Metadata:
title : (07)00:33:01:800
Chapter #0:7: start 2627.440000, end 3016.480000
Metadata:
title : (08)00:43:47:440
Chapter #0:8: start 3016.480000, end 3168.480000
Metadata:
title : (09)00:50:16:480
Chapter #0:9: start 3168.480000, end 3545.920000
Metadata:
title : (10)00:52:48:480
Chapter #0:10: start 3545.920000, end 3914.800000
Metadata:
title : (11)00:59:05:920
Chapter #0:11: start 3914.800000, end 4100.000000
Metadata:
title : (12)01:05:14:800
Chapter #0:12: start 4100.000000, end 4389.480000
Metadata:
title : (13)01:08:20:000
Chapter #0:13: start 4389.480000, end 4749.800000
Metadata:
title : (14)01:13:09:480
Chapter #0:14: start 4749.800000, end 5232.080000
Metadata:
title : (15)01:19:09:800
Chapter #0:15: start 5232.080000, end 5441.560000
Metadata:
title : (16)01:27:12:080
Chapter #0:16: start 5441.560000, end 5695.440000
Metadata:
title : (17)01:30:41:560
Chapter #0:17: start 5695.440000, end 6067.880000
Metadata:
title : (18)01:34:55:440
Chapter #0:18: start 6067.880000, end 6356.160000
Metadata:
title : (19)01:41:07:880
Chapter #0:19: start 6356.160000, end 6661.360000
Metadata:
title : (20)01:45:56:160
Chapter #0:20: start 6661.360000, end 7058.120000
Metadata:
title : (21)01:51:01:360
Chapter #0:21: start 7058.120000, end 7483.200000
Metadata:
title : (22)01:57:38:120
Chapter #0:22: start 7483.200000, end 7731.080000
Metadata:
title : (23)02:04:43:200
Chapter #0:23: start 7731.080000, end 8085.080000
Metadata:
title : (24)02:08:51:080
Chapter #0:24: start 8085.080000, end 8376.000000
Metadata:
title : (25)02:14:45:080
Chapter #0:25: start 8376.000000, end 8863.200000
Metadata:
title : (26)02:19:36:000
Chapter #0:26: start 8863.200000, end 9153.680000
Metadata:
title : (27)02:27:43:200
Chapter #0:27: start 9153.680000, end 9467.560000
Metadata:
title : (28)02:32:33:680
Chapter #0:28: start 9467.560000, end 9970.360000
Metadata:
title : (29)02:37:47:560
Chapter #0:29: start 9970.360000, end 10373.320000
Metadata:
title : (30)02:46:10:360
Chapter #0:30: start 10373.320000, end 10406.040000
Metadata:
title : (31)02:52:53:320
Chapter #0:31: start 10406.040000, end 10496.416000
Metadata:
title : (32)02:53:26:040
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, top first),
1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Metadata:
BPS : 23000720
BPS-eng : 23000720
DURATION : 02:54:56.160000000
DURATION-eng : 02:54:56.160000000
NUMBER_OF_FRAMES: 262404
NUMBER_OF_FRAMES-eng: 262404
NUMBER_OF_BYTES : 30177405937
NUMBER_OF_BYTES-eng: 30177405937
_STATISTICS_WRITING_APP: DVDFab 11.0.1.0
_STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0
_STATISTICS_WRITING_DATE_UTC: 2019-01-18 12:11:38
_STATISTICS_WRITING_DATE_UTC-eng: 2019-01-18 12:11:38
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(deu): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p
(default)
Metadata:
BPS : 1994394
BPS-eng : 1994394
DURATION : 02:54:56.416000000
DURATION-eng : 02:54:56.416000000
NUMBER_OF_FRAMES: 984039
NUMBER_OF_FRAMES-eng: 984039
NUMBER_OF_BYTES : 2616749380
NUMBER_OF_BYTES-eng: 2616749380
_STATISTICS_WRITING_APP: DVDFab 11.0.1.0
_STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0
_STATISTICS_WRITING_DATE_UTC: 2019-01-18 12:11:38
_STATISTICS_WRITING_DATE_UTC-eng: 2019-01-18 12:11:38
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
Stream #0:1 -> #0:0 (dts (dca) -> alac (native))
Press [q] to stop, [?] for help
Output #0, ipod, to 'output.m4v':
Metadata:
title : input
encoder : Lavf58.26.100
Chapter #0:0: start 0.000000, end 259.200000
Metadata:
title : (01)00:00:00:000
Chapter #0:1: start 259.200000, end 505.600000
Metadata:
title : (02)00:04:19:200
Chapter #0:2: start 505.600000, end 816.720000
Metadata:
title : (03)00:08:25:600
Chapter #0:3: start 816.720000, end 1306.480000
Metadata:
title : (04)00:13:36:720
Chapter #0:4: start 1306.480000, end 1608.400000
Metadata:
title : (05)00:21:46:480
Chapter #0:5: start 1608.400000, end 1981.800000
Metadata:
title : (06)00:26:48:400
Chapter #0:6: start 1981.800000, end 2627.440000
Metadata:
title : (07)00:33:01:800
Chapter #0:7: start 2627.440000, end 3016.480000
Metadata:
title : (08)00:43:47:440
Chapter #0:8: start 3016.480000, end 3168.480000
Metadata:
title : (09)00:50:16:480
Chapter #0:9: start 3168.480000, end 3545.920000
Metadata:
title : (10)00:52:48:480
Chapter #0:10: start 3545.920000, end 3914.800000
Metadata:
title : (11)00:59:05:920
Chapter #0:11: start 3914.800000, end 4100.000000
Metadata:
title : (12)01:05:14:800
Chapter #0:12: start 4100.000000, end 4389.480000
Metadata:
title : (13)01:08:20:000
Chapter #0:13: start 4389.480000, end 4749.800000
Metadata:
title : (14)01:13:09:480
Chapter #0:14: start 4749.800000, end 5232.080000
Metadata:
title : (15)01:19:09:800
Chapter #0:15: start 5232.080000, end 5441.560000
Metadata:
title : (16)01:27:12:080
Chapter #0:16: start 5441.560000, end 5695.440000
Metadata:
title : (17)01:30:41:560
Chapter #0:17: start 5695.440000, end 6067.880000
Metadata:
title : (18)01:34:55:440
Chapter #0:18: start 6067.880000, end 6356.160000
Metadata:
title : (19)01:41:07:880
Chapter #0:19: start 6356.160000, end 6661.360000
Metadata:
title : (20)01:45:56:160
Chapter #0:20: start 6661.360000, end 7058.120000
Metadata:
title : (21)01:51:01:360
Chapter #0:21: start 7058.120000, end 7483.200000
Metadata:
title : (22)01:57:38:120
Chapter #0:22: start 7483.200000, end 7731.080000
Metadata:
title : (23)02:04:43:200
Chapter #0:23: start 7731.080000, end 8085.080000
Metadata:
title : (24)02:08:51:080
Chapter #0:24: start 8085.080000, end 8376.000000
Metadata:
title : (25)02:14:45:080
Chapter #0:25: start 8376.000000, end 8863.200000
Metadata:
title : (26)02:19:36:000
Chapter #0:26: start 8863.200000, end 9153.680000
Metadata:
title : (27)02:27:43:200
Chapter #0:27: start 9153.680000, end 9467.560000
Metadata:
title : (28)02:32:33:680
Chapter #0:28: start 9467.560000, end 9970.360000
Metadata:
title : (29)02:37:47:560
Chapter #0:29: start 9970.360000, end 10373.320000
Metadata:
title : (30)02:46:10:360
Chapter #0:30: start 10373.320000, end 10406.040000
Metadata:
title : (31)02:52:53:320
Chapter #0:31: start 10406.040000, end 10496.416000
Metadata:
title : (32)02:53:26:040
Stream #0:0(deu): Audio: alac (alac / 0x63616C61), 48000 Hz, 5.1, s16p,
128 kb/s (default)
Metadata:
BPS : 1994394
BPS-eng : 1994394
DURATION : 02:54:56.416000000
DURATION-eng : 02:54:56.416000000
NUMBER_OF_FRAMES: 984039
NUMBER_OF_FRAMES-eng: 984039
NUMBER_OF_BYTES : 2616749380
NUMBER_OF_BYTES-eng: 2616749380
_STATISTICS_WRITING_APP: DVDFab 11.0.1.0
_STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0
_STATISTICS_WRITING_DATE_UTC: 2019-01-18 12:11:38
_STATISTICS_WRITING_DATE_UTC-eng: 2019-01-18 12:11:38
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
encoder : Lavc58.46.100 alac
size= 1793kB time=00:00:22.44 bitrate= 654.5kbits/s speed=43.6x
[...]
size= 791041kB time=01:27:02.31 bitrate=1240.9kbits/s speed=31.4x
[dca @ 0000000002a7bb80] Failed to decode block code(s)
Error while decoding stream #0:1: Invalid data found when processing input
[dca @ 0000000002a7bb80] Residual encoded channels are present without core
Error while decoding stream #0:1: Invalid argument
size= 792577kB time=01:27:20.42 bitrate=1239.0kbits/s speed=31.4x
[...]
size= 1593767kB time=02:54:56.44 bitrate=1243.9kbits/s speed=31.8x
video:0kB audio:1592466kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.081648%
MediaInfo:
General
Complete name : C:\input.mkv
Format : Matroska
Format version : Version 2
File size : 30.5 GiB
Duration : 2 h 54 min
Overall bit rate mode : Variable
Overall bit rate : 25.0 Mb/s
Movie name : input
Encoded date : UTC 2019-01-18 12:11:38
Writing application : DVDFab 11.0.1.0
Writing library : libebml v1.3.4 + libmatroska
v1.4.5
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High at L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 h 54 min
Bit rate mode : Variable
Bit rate : 23.0 Mb/s
Maximum bit rate : 33.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : MBAFF
Scan type, store method : Interleaved fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.444
Stream size : 28.1 GiB (92%)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 2 h 54 min
Bit rate mode : Variable
Bit rate : 1 994 kb/s
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless
Stream size : 2.44 GiB (8%)
Language : German
Default : Yes
Forced : No
Menu
00:00:00.000 : en:(01)00:00:00:000
00:04:19.200 : en:(02)00:04:19:200
00:08:25.600 : en:(03)00:08:25:600
00:13:36.720 : en:(04)00:13:36:720
00:21:46.480 : en:(05)00:21:46:480
00:26:48.400 : en:(06)00:26:48:400
00:33:01.800 : en:(07)00:33:01:800
00:43:47.440 : en:(08)00:43:47:440
00:50:16.480 : en:(09)00:50:16:480
00:52:48.480 : en:(10)00:52:48:480
00:59:05.920 : en:(11)00:59:05:920
01:05:14.800 : en:(12)01:05:14:800
01:08:20.000 : en:(13)01:08:20:000
01:13:09.480 : en:(14)01:13:09:480
01:19:09.800 : en:(15)01:19:09:800
01:27:12.080 : en:(16)01:27:12:080
01:30:41.560 : en:(17)01:30:41:560
01:34:55.440 : en:(18)01:34:55:440
01:41:07.880 : en:(19)01:41:07:880
01:45:56.160 : en:(20)01:45:56:160
01:51:01.360 : en:(21)01:51:01:360
01:57:38.120 : en:(22)01:57:38:120
02:04:43.200 : en:(23)02:04:43:200
02:08:51.080 : en:(24)02:08:51:080
02:14:45.080 : en:(25)02:14:45:080
02:19:36.000 : en:(26)02:19:36:000
02:27:43.200 : en:(27)02:27:43:200
02:32:33.680 : en:(28)02:32:33:680
02:37:47.560 : en:(29)02:37:47:560
02:46:10.360 : en:(30)02:46:10:360
02:52:53.320 : en:(31)02:52:53:320
02:53:26.040 : en:(32)02:53:26:040
More information about the ffmpeg-user
mailing list