[FFmpeg-user] Firefox supports MP4 FLAC
zeromux at tuta.io
zeromux at tuta.io
Tue Feb 14 00:11:06 EET 2017
Hello. I got it working in the git head version. The versions are kind of confusing though.
apt-get version:
> ffmpeg version 2.8.10-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg developers
> built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
(XXX Too old XXX)
latest stable version:
> ffmpeg version 3.2.4-static http://johnvansickle.com/ffmpeg Copyright (c) 2000-2017 the FFmpeg developers
> built with gcc 5.4.1 (Debian 5.4.1-5) 20170205
> [mp4 @ 0x3b8a260] Could not find tag for codec flac in stream #0, codec not currently supported in container
> Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument Stream mapping:
> Stream #0:0 -> #0:0 (copy)
> Last message repeated 1 times
git head version:
$ ./ffmpeg -i a.flac -acodec copy -vn b.mp4
> ffmpeg version N-83494-g2b9f92fcc5-static http://johnvansickle.com/ffmpeg Copyright (c) 2000-2017 the FFmpeg developers
> built with gcc 5.4.1 (Debian 5.4.1-5) 20170205
> [mp4 @ 0x4bfc0a0] FLAC in MP4 support is experimental, add '-strict -2' if you want to use it.
> Could not write header for output file #0 (incorrect codec parameters ?): Experimental feature
$ ./ffmpeg -i a.flac -strict -2 -acodec copy -vn b.mp4
> [...]
> Stream #0:0: Audio: flac ([193][0][0][0] / 0x00C1), 44100 Hz, stereo, s16
> Stream mapping:
> Stream #0:0 -> #0:0 (copy)
> Press [q] to stop, [?] for help
(Works)
More information about the ffmpeg-user
mailing list