[FFmpeg-user] DTS-HD copy same with or without dca_core

sean darcy seandarcy2 at gmail.com
Wed Dec 5 00:24:26 EET 2018


I get the same output if I run command line with or without -bsf:a dca_core:

ffmpeg -i /opt/2T1/video/plex/Movies/Shows/WSS-Dance_t02.mkv -map v -map 
0:1 -bsf:a dca_core -c:a copy -c:v libx265 -crf 26 -preset slower -dn 
-sn -nostdin /opt/2T1/video/plex/Movies/Shows/wss-dance-265.mp4

Output stream without:
Stream #0:1(eng): Audio: dts (DTS-HD MA) (mp4a / 0x6134706D), 48000 Hz, 
7.1, s32p (24 bit) (default)

With:
Stream #0:1(eng): Audio: dts (DTS-HD MA) (mp4a / 0x6134706D), 48000 Hz, 
7.1, s32p (24 bit) (default)

Full output (mostly):
WITHOUT:
ffmpeg -i /opt/2T1/video/plex/Movies/Shows/WSS-Dance_t02.mkv -map v -map 
0:1 -c:a copy -c:v libx265 -crf 25 -preset slower -dn -sn -nostdin 
/opt/2T1/video/plex/Movies/Shows/wss-dance-265.mp4
ffmpeg version git-snapshot-20181112-RPMFusion Copyright (c) 2000-2018 
the FFmpeg developers
   built with gcc 8 (GCC)
   configuration: --prefix=/usr --bindir=/usr/bin 
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg 
--libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 
--optflags='-O2 -ffast-math -march=native -ftree-vectorize 
-fomit-frame-pointer -pipe -fPIC' --enable-bzlib --disable-crystalhd 
--enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls 
--enable-ladspa --enable-libass --enable-libbluray --enable-libcdio 
--enable-libdav1d --enable-libfdk-aac --enable-nonfree 
--enable-indev=jack --enable-libfreetype --enable-libfribidi 
--enable-libgsm --enable-libmp3lame --enable-openal --enable-opencl 
--disable-libopencv --enable-opengl --enable-libopenjpeg 
--enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex 
--enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx 
--enable-libwebp --enable-libx264 --enable-libx265 --enable-avfilter 
--enable-postproc --enable-pthreads --disable-static --enable-shared 
--enable-gpl --enable-version3 --enable-nonfree --disable-debug 
--enable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
   libavutil      56. 23.101 / 56. 23.101
   libavcodec     58. 39.100 / 58. 39.100
   libavformat    58. 22.100 / 58. 22.100
   libavdevice    58.  6.100 / 58.  6.100
   libavfilter     7. 43.100 /  7. 43.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 
'/opt/2T1/video/plex/Movies/Shows/WSS-Dance_t02.mkv':
............
Duration: 02:52:55.80, start: 0.000000, bitrate: 30083 kb/s
     Chapter #0:0: start 0.000000, end 380.380000
     Metadata:
       title           : Chapter 01
     Chapter #0:1: start 380.380000, end 616.657708
     Metadata:
       title           : Chapter 02
     Chapter #0:2: start 616.657708, end 2129.127000
..........
     Metadata:
       title           : Chapter 14
     Chapter #0:14: start 8216.875333, end 10375.797333
     Metadata:
       title           : Chapter 15
     Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 
1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
     Metadata:
       BPS-eng         : 23217291
       DURATION-eng    : 02:52:55.782083333
       NUMBER_OF_FRAMES-eng: 248770
       NUMBER_OF_BYTES-eng: 30112194854
................
     Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 
bit) (default)
     Metadata:
       title           : Surround 7.1
       BPS-eng         : 4986717
       DURATION-eng    : 02:52:55.797333333
       NUMBER_OF_FRAMES-eng: 972731
       NUMBER_OF_BYTES-eng: 6467645948
.................
Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
   Stream #0:1 -> #0:1 (copy)
x265 [info]: HEVC encoder version 2.7
...........
x265 [info]: tools: strong-intra-smoothing lslices=4 deblock sao
[mp4 @ 0x158a480] track 1: codec frame size is not set
Output #0, mp4, to '/opt/2T1/video/plex/Movies/Shows/wss-dance-265.mp4':
   Metadata:
     title           : wss
     encoder         : Lavf58.22.100
     Chapter #0:0: start 0.000000, end 380.380000
     Metadata:
       title           : Chapter 01
     Chapter #0:1: start 380.380000, end 616.657708
................
     Metadata:
       title           : Chapter 15
     Stream #0:0(eng): Video: hevc (libx265) (hev1 / 0x31766568), 
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 24k tbn, 23.98 tbc
     Metadata:
       BPS-eng         : 23217291
       DURATION-eng    : 02:52:55.782083333
       NUMBER_OF_FRAMES-eng: 248770
       NUMBER_OF_BYTES-eng: 30112194854
       NUMBER_OF_BYTES-eng: 30112194854
       SOURCE_ID-eng   : 001011
       _STATISTICS_WRITING_APP-eng: linux(x64-release)
       _STATISTICS_WRITING_DATE_UTC-eng: 2018-12-02 21:30:59
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES 
     NUMBER_OF_BYTES SOURCE_ID
       encoder         : Lavc58.39.100 libx265
     Stream #0:1(eng): Audio: dts (DTS-HD MA) (mp4a / 0x6134706D), 48000 
Hz, 7.1, s32p (24 bit) (default)
     Metadata:
       title           : Surround 7.1
       BPS-eng         : 4986717
       DURATION-eng    : 02:52:55.797333333
       NUMBER_OF_FRAMES-eng: 972731
       NUMBER_OF_BYTES-eng: 6467645948
       SOURCE_ID-eng   : 001100
       _STATISTICS_WRITING_APP-eng: linux(x64-release)
       _STATISTICS_WRITING_DATE_UTC-eng: 2018-12-02 21:30:59
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES 
NUMBER_OF_BYTES SOURCE_ID


WITH:
ffmpeg -i /opt/2T1/video/plex/Movies/Shows/WSS-Dance_t02.mkv -map v -map 
0:1 -bsf:a dca_core -c:a copy -c:v libx265 -crf 26 -preset slower -dn 
-sn -nostdin /opt/2T1/video/plex/Movies/Shows/wss-dance-265.mp4
..............
Input #0, matroska,webm, from 
'/opt/2T1/video/plex/Movies/Shows/WSS-Dance_t02.mkv':
............
Duration: 02:52:55.80, start: 0.000000, bitrate: 30083 kb/s
     Chapter #0:0: start 0.000000, end 380.380000
     Metadata:
       title           : Chapter 01
     Chapter #0:1: start 380.380000, end 616.657708
     Metadata:
       title           : Chapter 02
     Chapter #0:2: start 616.657708, end 2129.127000
..........
     Metadata:
       title           : Chapter 14
     Chapter #0:14: start 8216.875333, end 10375.797333
     Metadata:
       title           : Chapter 15
     Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 
1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
     Metadata:
       BPS-eng         : 23217291
       DURATION-eng    : 02:52:55.782083333
       NUMBER_OF_FRAMES-eng: 248770
       NUMBER_OF_BYTES-eng: 30112194854
................
     Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 
bit) (default)
     Metadata:
       title           : Surround 7.1
       BPS-eng         : 4986717
       DURATION-eng    : 02:52:55.797333333
       NUMBER_OF_FRAMES-eng: 972731
       NUMBER_OF_BYTES-eng: 6467645948
.................
Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
   Stream #0:1 -> #0:1 (copy)
x265 [info]: HEVC encoder version 2.7
...........
x265 [info]: tools: strong-intra-smoothing lslices=4 deblock sao
[mp4 @ 0x158a480] track 1: codec frame size is not set
Output #0, mp4, to '/opt/2T1/video/plex/Movies/Shows/wss-dance-265.mp4':
   Metadata:
     title           : wss
     encoder         : Lavf58.22.100
     Chapter #0:0: start 0.000000, end 380.380000
     Metadata:
       title           : Chapter 01
     Chapter #0:1: start 380.380000, end 616.657708
................
     Metadata:
       title           : Chapter 15
     Stream #0:0(eng): Video: hevc (libx265) (hev1 / 0x31766568), 
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 24k tbn, 23.98 tbc
     Metadata:
       BPS-eng         : 23217291
       DURATION-eng    : 02:52:55.782083333
       NUMBER_OF_FRAMES-eng: 248770
       NUMBER_OF_BYTES-eng: 30112194854
       NUMBER_OF_BYTES-eng: 30112194854
       SOURCE_ID-eng   : 001011
       _STATISTICS_WRITING_APP-eng: linux(x64-release)
       _STATISTICS_WRITING_DATE_UTC-eng: 2018-12-02 21:30:59
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES 
     NUMBER_OF_BYTES SOURCE_ID
       encoder         : Lavc58.39.100 libx265
     Stream #0:1(eng): Audio: dts (DTS-HD MA) (mp4a / 0x6134706D), 48000 
Hz, 7.1, s32p (24 bit) (default)
     Metadata:
       title           : Surround 7.1
       BPS-eng         : 4986717
       DURATION-eng    : 02:52:55.797333333
       NUMBER_OF_FRAMES-eng: 972731
       NUMBER_OF_BYTES-eng: 6467645948
       SOURCE_ID-eng   : 001100
       _STATISTICS_WRITING_APP-eng: linux(x64-release)
       _STATISTICS_WRITING_DATE_UTC-eng: 2018-12-02 21:30:59
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES 
NUMBER_OF_BYTES SOURCE_ID



More information about the ffmpeg-user mailing list