ALAC

Posted:
Sat May 21, 2011 3:00 pm
by mbzh11
Hi, I suspect I know the answer to this already given how few mentions of ALAC i can find... but will serviio transcode .m4a ALAC files to LPCM? I initially thought i had profile issues (Sony BDV-e370) but I found they are not being added to my library (see example below), am I doing something wrong or is there no way to add ALAC. The ffmpeg that intalls with serviio happily converts the ALAC files itself. Could serviio do this in the future?
Thanks
2011-05-17 21:22:20,113 DEBUG [LibraryAdditionsCheckerThread] Found file '02 Gods and Monsters.m4a', checking if it's already in the Library
2011-05-17 21:22:20,113 DEBUG [MediaItemDAOImpl] Checking if DB already contains media item 02 Gods and Monsters.m4a
2011-05-17 21:22:20,118 DEBUG [MediaItemDAOImpl] Media item 02 Gods and Monsters.m4a doesn't exist in DB yet
2011-05-17 21:22:20,118 DEBUG [LibraryAdditionsCheckerThread] File not in Library, will add it
2011-05-17 21:22:20,220 DEBUG [MediaItemDAOImpl] Getting file of media item 1083
2011-05-17 21:22:20,234 DEBUG [MetadataDescriptorDAOImpl] Reading MetadataDescriptor for MediaItem (id = 1083) and extractor EMBEDDED
2011-05-17 21:22:20,283 DEBUG [MetadataDescriptorDAOImpl] Reading MetadataDescriptor for MediaItem (id = 1083) and extractor COVER_IMAGE_IN_FOLDER
2011-05-17 21:22:20,556 DEBUG [LibraryManager] Skipping processing metadata for an unsupported file. Message: MP4 file '\\LS-MINI\share\iTunes\Music\I Am Kloot\Gods and Monsters\02 Gods and Monsters.m4a' has unsupported codec (Apple Lossless)
Re: ALAC

Posted:
Sat May 21, 2011 4:55 pm
by Illico
Could you provide "ffmpeg -i" result of your .m4a file ?
Re: ALAC

Posted:
Sat May 21, 2011 6:08 pm
by mbzh11
yep, an example is:
ffmpeg -i test1.m4a
- Code:
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test1.m4a':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
creation_time : 2005-10-10 23:39:22
title : Opera Singer
artist : Cake
composer : J. McCrea & M. Kornweibel
album : Comfort Eagle
genre : Alternative & Punk
track : 1
date : 2002
encoder : iTunes v5.0.1.4
Duration: 00:04:06.56, start: 0.000000, bitrate: 884 kb/s
Stream #0.0(und): Audio: alac, 44100 Hz, 2 channels, s16, 883 kb/s
Metadata:
creation_time : 2005-10-10 23:39:22
At least one output file must be specified
and if i specify output files it goes on to create working wav, mp3, etc:
ffmpeg -i test1.m4a test1.mp3
- Code:
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test1.m4a':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
creation_time : 2005-10-10 23:39:22
title : Opera Singer
artist : Cake
composer : J. McCrea & M. Kornweibel
album : Comfort Eagle
genre : Alternative & Punk
track : 1
date : 2002
encoder : iTunes v5.0.1.4
Duration: 00:04:06.56, start: 0.000000, bitrate: 884 kb/s
Stream #0.0(und): Audio: alac, 44100 Hz, 2 channels, s16, 883 kb/s
Metadata:
creation_time : 2005-10-10 23:39:22
Output #0, mp3, to 'test1.mp3':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
TDEN : 2005-10-10 23:39:22
TIT2 : Opera Singer
TPE1 : Cake
TCOM : J. McCrea & M. Kornweibel
TALB : Comfort Eagle
TCON : Alternative & Punk
TRCK : 1
TDRL : 2002
TSSE : Lavf52.92.0
Stream #0.0(und): Audio: libmp3lame, 44100 Hz, 2 channels, s16, 64 kb/s
Metadata:
creation_time : 2005-10-10 23:39:22
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
size= 1927kB time=246.60 bitrate= 64.0kbits/s
video:0kB audio:1927kB global headers:0kB muxing overhead 0.022811%
Re: ALAC

Posted:
Sat May 21, 2011 6:36 pm
by Illico
Zip will confirm, but ALAC is not supported yet by Serviio but could probably added to the next 0.6 release.
There were an open ticket for lossless audio file :
https://bitbucket.org/xnejp03/serviio/i ... e-lossless
Re: ALAC

Posted:
Sun May 22, 2011 10:57 am
by zip
Not supported yet, but add it to the ticket above and I'll see what can be done

Re: ALAC

Posted:
Mon May 23, 2011 7:20 pm
by mbzh11
Thanks for that (and the fast replies), hope it goes well

Re: ALAC

Posted:
Sat Apr 21, 2012 1:57 pm
by The Hemulen
Did ALAC file support get added in the end? I use 0.6.2 for video files and mp3 files both of which work fine but can't get apple lossless files to show up on Roku Soundbridges or Sony Bluray players. Thanks.