[FFmpeg-user] After disabling Dolby codecs, no conversion to MP4 possible

Takashi ffmpeg-list at dubistmeinheld.de
Tue Dec 9 15:44:48 CET 2014


Hi,

I have disabled Dolby codecs in the ffmpeg configuration statement due
to licensing issues.

Now I can't convert to MP4 anymore. (I have this setup for a while now
and it seems to be a regression, as far as I can remember, it worked
before).

Would you mind to help me find the needed settings?

The following command shows that I can't encode to MP4:

$ /opt/ffmpeg_no_dolby/bin/ffmpeg -formats | grep mp4
ffmpeg version N-68337-g92d47e2 Copyright (c) 2000-2014 the FFmpeg
developers
  built on Dec  9 2014 15:02:48 with gcc 4.8 (SUSE Linux)
  configuration: --enable-gpl --enable-zlib --enable-libopenjpeg
--enable-version3 --disable-shared --enable-static --enable-nonfree
--enable-libx264 --disable-encoder=ac3_fixed --disable-encoder=ac3
--disable-decoder=ac3 --disable-decoder=eac3 --disable-demuxer=ac3
--disable-demuxer=eac3 --disable-demuxer=dts --disable-muxer=ac3
--disable-muxer=eac3 --disable-muxer=dts --disable-parser=ac3
--disable-decoder=mlp --disable-demuxer=mlp --disable-muxer=mlp
--disable-parser=mlp --disable-demuxer=dtshd
--prefix=/opt/ffmpeg_no_dolby --libdir=/opt/ffmpeg_no_dolby/lib
--incdir=/opt/ffmpeg_no_dolby/include --shlibdir=/opt/ffmpeg_no_dolby/lib
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 14.100 / 56. 14.100
  libavformat    56. 15.103 / 56. 15.103
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
 D  mov,mp4,m4a,3gp,3g2,mj2 QuickTime / MOV

Test:

$ /opt/ffmpeg_no_dolby/bin/ffmpeg -i test.mov test.mp4
ffmpeg version N-68337-g92d47e2 Copyright (c) 2000-2014 the FFmpeg
developers
  built on Dec  9 2014 15:02:48 with gcc 4.8 (SUSE Linux)
  configuration: --enable-gpl --enable-zlib --enable-libopenjpeg
--enable-version3 --disable-shared --enable-static --enable-nonfree
--enable-libx264 --disable-encoder=ac3_fixed --disable-encoder=ac3
--disable-decoder=ac3 --disable-decoder=eac3 --disable-demuxer=ac3
--disable-demuxer=eac3 --disable-demuxer=dts --disable-muxer=ac3
--disable-muxer=eac3 --disable-muxer=dts --disable-parser=ac3
--disable-decoder=mlp --disable-demuxer=mlp --disable-muxer=mlp
--disable-parser=mlp --disable-demuxer=dtshd
--prefix=/opt/ffmpeg_no_dolby --libdir=/opt/ffmpeg_no_dolby/lib
--incdir=/opt/ffmpeg_no_dolby/include --shlibdir=/opt/ffmpeg_no_dolby/lib
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 14.100 / 56. 14.100
  libavformat    56. 15.103 / 56. 15.103
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf54.6.100
  Duration: 00:00:55.32, start: 0.000000, bitrate: 393 kb/s
    Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
yuv420p, 432x320 [SAR 1:1 DAR 27:20], 260 kb/s, 25 fps, 25 tbr, 25 tbn,
25 tbc (default)
    Metadata:
      handler_name    : DataHandler
      encoder         : mpeg4
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : DataHandler
[NULL @ 0x3832660] Unable to find a suitable output format for 'test.mp4'
test.mp4: Invalid argument


More information about the ffmpeg-user mailing list