[FFmpeg-user] FFMPEG for encoding to Multichannel ALAC

Rashed mail2rashed.md at gmail.com
Mon Jan 19 13:23:44 CET 2015


Sorry, just subscribed to this list.

C:\AudioTools\ALAC>ffmpeg -i pcmfile_48k_16bit_5.1.wav -acodec alac -ac 6
out.m4a
ffmpeg version N-69146-g90c9899 Copyright (c) 2000-2015 the FFmpeg
developers
  built on Jan 19 2015 01:28:38 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gn
utls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
--enabl
e-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enabl
e-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvo-aacen
c --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs
--enable-libxvid --enable-lzma --enable-decklink --enable-zlib
  libavutil      54. 17.100 / 54. 17.100
  libavcodec     56. 20.100 / 56. 20.100
  libavformat    56. 19.100 / 56. 19.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5.  8.100 /  5.  8.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Guessed Channel Layout for  Input Stream #0.0 : 5.1
Input #0, wav, from 'pcmfile_48k_16bit_5.1.wav':
  Duration: 00:02:50.14, bitrate: 4608 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 6
channels, s16, 4608 kb/s
File 'out.m4a' already exists. Overwrite ? [y/N] y
Output #0, ipod, to 'out.m4a':
  Metadata:
    encoder         : Lavf56.19.100
    Stream #0:0: Audio: alac (alac / 0x63616C61), 48000 Hz, 5.1, s16p, 128
kb/s
    Metadata:
      encoder         : Lavc56.20.100 alac
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> alac (native))
Press [q] to stop, [?] for help
size=   20640kB time=00:02:50.15 bitrate= 993.7kbits/s
video:0kB audio:20631kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.042673%

C:\AudioTools\ALAC>mediainfo out.m4a
General
Complete name                            : out.m4a
Format                                   : MPEG-4
Format profile                           : Apple audio with iTunes info
Codec ID                                 : M4A
File size                                : 20.2 MiB
Duration                                 : 2mn 50s
Overall bit rate mode                    : Variable
Overall bit rate                         : 994 Kbps
Writing application                      : Lavf56.19.100

Audio
ID                                       : 1
Format                                   : ALAC
Codec ID                                 : alac
Codec ID/Info                            : Apple Lossless Format
Duration                                 : 2mn 50s
Duration_LastFrame                       : -15ms
Bit rate mode                            : Variable
Bit rate                                 : 993 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Stream size                              : 20.1 MiB (100%)

On Mon, Jan 19, 2015 at 5:41 PM, Moritz Barsnick <barsnick at gmx.net> wrote:

> Hi Rashed,
>
> On Mon, Jan 19, 2015 at 17:22:18 +0530, Rashed wrote:
> > I am trying to generate multichannel ALAC content using FFMPEG but
> somehow
> > is seem to be getting only up to stereo. Is this a limitation of FFMPEG
> or
> > am i doing something incorrectly.
> >
> > ffmpeg -i pcmfile_48k_16bit_5.1.wav -acodec alac -ac 6 out.m4a
>
> Could you please, as always requested here, show us the complete, uncut
> console output from this command?
>
> Everything else is just guesswork.
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list