[FFmpeg-user] Table_Options.h
Moritz Barsnick
barsnick at gmx.net
Fri Jul 4 10:55:06 CEST 2014
On Thu, Jul 03, 2014 at 22:18:21 -0400, Marcus Johnson wrote:
> any idea why it says ffmpeg can encode DTS-HD MA?
>
> there's this line in the file: {"dts_hd_ma", NULL, 0, AV_OPT_TYPE_CONST,
> {.i64 = FF_PROFILE_DTS_HD_MA }, INT_MIN, INT_MAX, A|E, "profile"}
>
> and A|E means audio and encoding, is there an encoder in there? I mean,
> probably not, but idk what else this could mean...
It probably means exactly that. Have you checked
# ffmpeg -encoders | grep -i dts
??
I can encode something using these command line arguments. (That input
is just some arbitrary sound generation I had in my shell history.):
barsnick at sunshine:~ > ffmpeg -y -f lavfi -i aevalsrc="sin(420*2*PI*t)|cos(430*2*PI*t):c=FC|BC" -vn -t 3 -c:a dca -strict experimental -profile:a dts_hd_ma ~/tmp/test.vob
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 19 2014 12:27:50 with icc (ICC) 14.0.3 20140422
configuration: --prefix=/usr/new/tools/video/install/ffmpeg/20140618 --enable-gpl --enable-version3 --enable-nonfree --disable-shared --enable-x11grab --enable-gnutls --enable-libcdio --enable-libfreetype --enable-libx264 --enable-libmp3lame --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libass --enable-libv4l2 --enable-libvidstab --enable-libfdk-aac --cc=icc --cxx=icpc --extra-ldflags='-L/usr/new/tools/video/install/x264/current/lib -L/usr/new/tools/video/install/fdk-aac/current/lib' --extra-cflags='-I/usr/new/tools/video/install/x264/current/include -I/usr/new/tools/video/install/fdk-aac/current/include'
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 67.100 / 55. 67.100
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 8.100 / 4. 8.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, lavfi, from 'aevalsrc=sin(420*2*PI*t)|cos(430*2*PI*t):c=FC|BC':
Duration: N/A, start: 0.000000, bitrate: 5644 kb/s
Stream #0:0: Audio: pcm_f64le, 44100 Hz, 2 channels (FC+BC), dbl, 5644 kb/s
Output #0, svcd, to '/home/barsnick/tmp/test.vob':
Metadata:
encoder : Lavf55.43.100
Stream #0:0: Audio: dts (dca), 44100 Hz, quad(side), s32, 1411 kb/s
Metadata:
encoder : Lavc55.67.100 dca
Stream mapping:
Stream #0:0 -> #0:0 (pcm_f64le (native) -> dts (dca))
Press [q] to stop, [?] for help
size= 530kB time=00:00:03.00 bitrate=1443.9kbits/s
video:0kB audio:518kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.266667%
My mplayer can play that, so the content seems to make some sort of
sense. Whether that's really "DTS HD MA" is up to others to decide.
Moritz
More information about the ffmpeg-user
mailing list