Opened 4 years ago

Closed 10 months ago

Last modified 10 months ago

#1920 closed enhancement (fixed)

dts-hd core extraction

Reported by: Selur Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: dca
Cc: rodger.combs@gmail.com Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

at the moment ffmpeg can only extract the whole dts-hd stream, would be nice if the core could be extracted additionally. (especially since ffmpeg can only decode the core,...)

Change History (11)

comment:1 Changed 4 years ago by cehoyos

  • Keywords dca added; dts-hd core removed
  • Priority changed from normal to wish
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

For future reports: Please always include a command line together with complete, uncut console output (and point to a sample)!

Sample is for example: http://samples.ffmpeg.org/A-codecs/DTS/hitman_cut.m2ts

$ ffmpeg -i hitman_cut.m2ts -acodec copy -map 0:2 out.dts
ffmpeg version N-46785-g8f42b09 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 16 2012 00:19:45 with gcc 4.7 (SUSE Linux)
  configuration: --enable-libx264 --enable-libvo-aacenc --enable-libfdk-aac --enable-libfaac --disable-indev=jack --enable-gpl --enable-version3 --enable-nonfree
  libavutil      52.  6.100 / 52.  6.100
  libavcodec     54. 72.100 / 54. 72.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.100 /  3. 23.100
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[dca @ 0x23b13c0] Not a valid DCA frame
[h264 @ 0x23b0180] non-existing PPS referenced
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] no frame!
[h264 @ 0x23b0180] non-existing PPS referenced
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] no frame!
[h264 @ 0x23b0180] non-existing PPS referenced
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] no frame!
[h264 @ 0x23b0180] non-existing PPS referenced
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] no frame!
[h264 @ 0x23b0180] non-existing PPS referenced
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] no frame!
[h264 @ 0x23b0180] non-existing PPS referenced
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] non-existing PPS 0 referenced
[h264 @ 0x23b0180] decode_slice_header error
[h264 @ 0x23b0180] no frame!
[mpegts @ 0x23ac240] Stream #8: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #9: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #10: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #11: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #12: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #13: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #14: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #15: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #16: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #17: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #18: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #19: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #20: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #21: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #22: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #23: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #24: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #25: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #26: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #27: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #28: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #29: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #30: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #31: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #32: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #33: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #34: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #35: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Stream #36: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x23ac240] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 9 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 10 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 11 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 12 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 13 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 14 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 15 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 16 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 17 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 18 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 19 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 20 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 21 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 22 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 23 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 24 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 25 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 26 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 27 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 28 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 29 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 30 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 31 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 32 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 33 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 34 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 35 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x23ac240] Could not find codec parameters for stream 36 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x2402140] start time is not set in estimate_timings_from_pts
[NULL @ 0x2408540] start time is not set in estimate_timings_from_pts
[NULL @ 0x240ea20] start time is not set in estimate_timings_from_pts
[NULL @ 0x2414f00] start time is not set in estimate_timings_from_pts
[NULL @ 0x241b3e0] start time is not set in estimate_timings_from_pts
[NULL @ 0x24218c0] start time is not set in estimate_timings_from_pts
[NULL @ 0x2427da0] start time is not set in estimate_timings_from_pts
[NULL @ 0x242e2c0] start time is not set in estimate_timings_from_pts
[NULL @ 0x24347a0] start time is not set in estimate_timings_from_pts
[NULL @ 0x243ad20] start time is not set in estimate_timings_from_pts
[NULL @ 0x2441120] start time is not set in estimate_timings_from_pts
[NULL @ 0x2447520] start time is not set in estimate_timings_from_pts
[NULL @ 0x244da00] start time is not set in estimate_timings_from_pts
[NULL @ 0x2453ee0] start time is not set in estimate_timings_from_pts
[NULL @ 0x245a3c0] start time is not set in estimate_timings_from_pts
[NULL @ 0x24608a0] start time is not set in estimate_timings_from_pts
[NULL @ 0x2466d80] start time is not set in estimate_timings_from_pts
[NULL @ 0x246d340] start time is not set in estimate_timings_from_pts
[NULL @ 0x2473740] start time is not set in estimate_timings_from_pts
[NULL @ 0x2479b40] start time is not set in estimate_timings_from_pts
[NULL @ 0x247ff40] start time is not set in estimate_timings_from_pts
[NULL @ 0x2486420] start time is not set in estimate_timings_from_pts
[NULL @ 0x248c900] start time is not set in estimate_timings_from_pts
[NULL @ 0x2492e20] start time is not set in estimate_timings_from_pts
[NULL @ 0x2499300] start time is not set in estimate_timings_from_pts
[NULL @ 0x249f900] start time is not set in estimate_timings_from_pts
[NULL @ 0x24a5d00] start time is not set in estimate_timings_from_pts
[NULL @ 0x24ac100] start time is not set in estimate_timings_from_pts
[NULL @ 0x24b2500] start time is not set in estimate_timings_from_pts
[mpegts @ 0x23ac240] PES packet size mismatch
    Last message repeated 7 times
Input #0, mpegts, from 'hitman_cut.m2ts':
  Duration: 00:00:16.56, start: 193.496000, bitrate: 24152 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1100]: Audio: dts (DTS) ([130][0][0][0] / 0x0082), 48000 Hz, 5.1(side), fltp, 768 kb/s
    Stream #0:2[0x1101]: Audio: dts (DTS-HD HRA) ([133][0][0][0] / 0x0085), 48000 Hz, 5.1(side), fltp, 1536 kb/s
    Stream #0:3[0x1102]: Audio: dts (DTS) ([130][0][0][0] / 0x0082), 48000 Hz, 5.1(side), fltp, 768 kb/s
    Stream #0:4[0x1103]: Audio: dts (DTS) ([130][0][0][0] / 0x0082), 48000 Hz, 5.1(side), fltp, 768 kb/s
    Stream #0:5[0x1104]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s16, 448 kb/s
    Stream #0:6[0x1105]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), s16, 448 kb/s
    Stream #0:7[0x1106]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 224 kb/s
    Stream #0:8[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:9[0x1201]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:10[0x1202]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:11[0x1203]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:12[0x1204]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:13[0x1205]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:14[0x1206]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:15[0x1207]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:16[0x1208]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:17[0x1209]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:18[0x120a]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:19[0x120b]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:20[0x120c]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:21[0x120d]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:22[0x120e]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:23[0x120f]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:24[0x1210]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:25[0x1211]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:26[0x1212]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:27[0x1213]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:28[0x1214]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:29[0x1215]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:30[0x1216]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:31[0x1217]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:32[0x1218]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:33[0x1219]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:34[0x121a]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:35[0x121b]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:36[0x121c]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Output #0, dts, to 'out.dts':
  Metadata:
    encoder         : Lavf54.36.100
    Stream #0:0: Audio: dts ([133][0][0][0] / 0x0085), 48000 Hz, 5.1(side), 1536 kb/s
Stream mapping:
  Stream #0:2 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x23ac240] PES packet size mismatch
size=    5839kB time=00:00:15.85 bitrate=3017.6kbits/s
video:0kB audio:5839kB subtitle:0 global headers:0kB muxing overhead 0.000000%
$ ffmpeg -i out.dts
ffmpeg version N-46785-g8f42b09 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 16 2012 00:19:45 with gcc 4.7 (SUSE Linux)
  configuration: --enable-libx264 --enable-libvo-aacenc --enable-libfdk-aac --enable-libfaac --disable-indev=jack --enable-gpl --enable-version3 --enable-nonfree
  libavutil      52.  6.100 / 52.  6.100
  libavcodec     54. 72.100 / 54. 72.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.100 /  3. 23.100
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[dca @ 0x1c65660] Not a valid DCA frame
[dts @ 0x1c5f240] max_analyze_duration 5000000 reached at 5002667
[dts @ 0x1c5f240] Estimating duration from bitrate, this may be inaccurate
Input #0, dts, from 'out.dts':
  Duration: 00:00:31.14, start: 0.000000, bitrate: 1536 kb/s
    Stream #0:0: Audio: dts (DTS-HD HRA), 48000 Hz, 5.1(side), fltp, 1536 kb/s
At least one output file must be specified

comment:2 Changed 4 years ago by richardpl

  • Component changed from undetermined to avcodec

AFAIK this means bitstream filter like dtscore_extract should be implemented.

comment:3 Changed 2 years ago by 11rcombs

  • Cc rodger.combs@gmail.com added

comment:4 Changed 11 months ago by jamrial

  • Resolution set to fixed
  • Status changed from open to closed

This can now be achieved by doing a codec copy when using the -core_only option from the internal dca decoder.

./ffmpeg -core_only 1 input.dtshd -c:a copy core.dts

comment:5 Changed 11 months ago by cehoyos

  • Resolution fixed deleted
  • Status changed from closed to reopened

This seems technically impossible to me, the decoder is not an automatically inserted bitstream filter.

comment:6 Changed 11 months ago by jamrial

Not sure what you mean with "technically impossible". With the -core_only option the decoder ignores every dtshd extension in the stream and handles only the core.
But if you don't want to depend on the presence of ffdca then a bitstream filter would be nice, yes.

comment:7 Changed 11 months ago by cehoyos

But the option is unable to replace the requested bitstream filter and the option has no effect for the command line you posted (except for the console output).

comment:8 Changed 11 months ago by richardpl

  • Resolution set to fixed
  • Status changed from reopened to closed

comment:9 Changed 10 months ago by Selur

  • Resolution fixed deleted
  • Status changed from closed to reopened

doesn't work here using:

ffmpeg -y -threads 8 -analyzeduration 100M -probesize 100M -i "F:\TestClips&Co\VC-1\T2 DTS-HD 7.1.m2ts"  -vn -sn -core_only 1 -acodec copy -map_metadata -1 -map 0:1 -y -map_metadata -1 "H:\Temp\iId_7_aid_4352_lang_eng_08_46_57_1310_01.dts"
ffmpeg version N-79276-gde9abfe-gb0c026a+1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (Rev5, Built by MSYS2 project)
  configuration:  --disable-w32threads --enable-fontconfig --enable-gcrypt --enable-libass --enable-libbluray --enable-libbs2b --enable-libfreetype --enable-libfribidi --enable-libkvazaar --enable-libmp3lame --enable-libopus --enable-libsoxr --enable-libspeex --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avisynth --enable-gpl --disable-debug
  libavutil      55. 20.100 / 55. 20.100
  libavcodec     57. 34.100 / 57. 34.100
  libavformat    57. 32.100 / 57. 32.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 41.100 /  6. 41.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mpegts @ 0000022edb9e36a0] Failed to open codec in av_find_stream_info
Input #0, mpegts, from 'F:\TestClips&Co\VC-1\T2 DTS-HD 7.1.m2ts':
  Duration: 00:00:25.56, start: 600.000000, bitrate: 29338 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: vc1 (Advanced) (VC-1 / 0x312D4356), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1100](eng): Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 7.1, s32p (24 bit)
    Stream #0:2[0x1101](eng): Audio: dts (DTS-HD HRA) ([133][0][0][0] / 0x0085), 48000 Hz, 5.1(side), fltp
    Stream #0:3[0x1102](eng): Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s32p (24 bit)
Output #0, dts, to 'H:\Temp\iId_7_aid_4352_lang_eng_08_46_57_1310_01.dts':
  Metadata:
    encoder         : Lavf57.32.100
    Stream #0:0: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 7.1 (24 bit)
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=    9003kB time=00:00:25.55 bitrate=2885.7kbits/s speed= 297x
video:0kB audio:9035kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

I still get a dts-hd and not the core dts stream.

uploaded the input file I used to my google drive:
https://drive.google.com/folderview?id=0B_WxUS1XGCPASUZibG5XZkRfeTg&usp=sharing

comment:10 Changed 10 months ago by cehoyos

  • Resolution set to fixed
  • Status changed from reopened to closed

Please post all usage questions on the user mailing list.

comment:11 Changed 10 months ago by richardpl

You are not using bsf filter in your command.

Note: See TracTickets for help on using tickets.