Ticket #1920 (open enhancement)
dts-hd core extraction
| Reported by: | Selur | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | avcodec |
| Version: | git-master | Keywords: | dca |
| Cc: | 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
Note: See
TracTickets for help on using
tickets.



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