#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 by , 12 years ago
Keywords: | dca added; dts-hd core removed |
---|---|
Priority: | normal → wish |
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
comment:2 by , 12 years ago
Component: | undetermined → avcodec |
---|
AFAIK this means bitstream filter like dtscore_extract should be implemented.
comment:3 by , 9 years ago
Cc: | added |
---|
comment:4 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | open → 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 by , 8 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This seems technically impossible to me, the decoder is not an automatically inserted bitstream filter.
comment:6 by , 8 years ago
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 by , 8 years ago
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 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed in ff982e02b5478ee244d5763d14a55b4215f9939b.
comment:9 by , 8 years ago
Resolution: | fixed |
---|---|
Status: | closed → 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 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Please post all usage questions on the user mailing list.
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