Page 1 of 1
FLAC files in Samsung UE37D6530

Posted:
Sun Jan 01, 2012 9:11 pm
by ajo
Hello.
I have a TV LED Samsung UE37D6530. Serviio runs in my computer with Windows XP and my multimedia files are in a Seagate Blackarmor 440.
I'm trying to play various FLAC files in the TV but I get an error message.
The log file for this FLAC:
2011-12-31 13:31:10,921 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 01 Lamb - Another Language.flac: Unsupported LPCM format of file 01 Lamb - Another Language.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 01 Lamb - Another Language.flac: Unsupported LPCM format of file 01 Lamb - Another Language.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 02 Lamb - Butterfly Effect.flac: Unsupported LPCM format of file 02 Lamb - Butterfly Effect.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 03 Lamb - Build a Fire.flac: Unsupported LPCM format of file 03 Lamb - Build a Fire.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 04 Lamb - Wise Enough.flac: Unsupported LPCM format of file 04 Lamb - Wise Enough.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 05 Lamb - Existential Itch.flac: Unsupported LPCM format of file 05 Lamb - Existential Itch.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 06 Lamb - Strong The Root.flac: Unsupported LPCM format of file 06 Lamb - Strong The Root.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 07 Lamb - Rounds.flac: Unsupported LPCM format of file 07 Lamb - Rounds.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 08 Lamb - She Walks.flac: Unsupported LPCM format of file 08 Lamb - She Walks.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 09 Lamb - Last Night The Sky.flac: Unsupported LPCM format of file 09 Lamb - Last Night The Sky.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 10 Lamb - The Spectacle.flac: Unsupported LPCM format of file 10 Lamb - The Spectacle.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 11 Lamb - Back to Beginning.flac: Unsupported LPCM format of file 11 Lamb - Back to Beginning.flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
2011-12-31 13:31:10,953 WARN [AudioDeliveryEngine] Cannot get media info for transcoded file 12 Lamb - The Spectacle (instrumental).flac: Unsupported LPCM format of file 12 Lamb - The Spectacle (instrumental).flac. Only 44100 / 48000 Hz and Mono / Stereo files are allowed.
This FLAC files aren't in stereo. They are 4 channels (2 front and 2 rear).
It's possible to play this files with serviio in my TV?
Thank's
Re: FLAC files in Samsung UE37D6530

Posted:
Sun Jan 01, 2012 11:30 pm
by zip
It's transcoding to LPCM which only supports 2 channels max. You could try to change the C/D profile to transcode audio to mp3 instead of lpcm.
- Code:
<Audio targetContainer="mp3">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="adts" />
</Audio>
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 10:32 am
by ajo
Thenk you Zip but I try with this code and this is the result:
I have add the code lines to the profile and the Serviio server not run.
I change the audio code lines from the profile and then the servioo server runs but the TV not recognize the server nor the serviio not recognizes the TV.
I let the original code from now.
I have something bad?
Thanks you
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 10:46 am
by zip
replace
- Code:
<Audio targetContainer="lpcm">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
</Audio>
with
- Code:
<Audio targetContainer="mp3">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
</Audio>
in the C/D profile inside profiles.xml.
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 11:05 am
by ajo
Really. The problem was in <Matches container="adts" />
I have change the code and the serviio server runs and the TV is recognize but I try to play the FLAC files and the log file shows:
2012-01-05 12:02:04,000 WARN [ProcessExecutor] Process cmd has a return code of 1! This is a possible error.
2012-01-05 12:02:11,046 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:117)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:93)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:118)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 11:55 am
by zip
Ok, the FFmpeg command is probably wrong. Can you enable
detailed logging and try it again? You should see ffmpeg command used for the transcode, try to run it manually and post the result here.
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 1:49 pm
by ajo
C:\Archivos de programa\Serviio\lib>ffmpeg.exe -i "\\Blackarmor\Musica\My Music\
Lamb\5\01 Lamb - Another Language.flac" -y -ab 192k -ac 0 -f mp3 "C:\TEMP\Servii
o\transcoding-temp-217713-MP3.stf"
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 14 2011 23:37:53 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0
[flac @ 01829ea0] max_analyze_duration 5000000 reached at 5015510
Input #0, flac, from '\\Blackarmor\Musica\My Music\Lamb\5\01 Lamb - Another Lang
uage.flac':
Metadata:
ALBUM ARTIST : LAMB
PERFORMER : Louise Rhodes
TITLE : Another Language
TOTALDISCS : 1
TOTALTRACKS : 12
WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x0033
ALBUM : 5
ARTIST : Lamb
GENRE : Trip Hop
COMPOSER : Andy Barlow
disc : 1
DATE : 2011-08-22
track : 01
Duration: 00:04:18.90, bitrate: 3169 kb/s
Stream #0.0: Audio: flac, 44100 Hz, quad, s32
Output #0, mp3, to 'C:\TEMP\Serviio\transcoding-temp-217713-MP3.stf':
Stream #0.0: Audio: libmp3lame, 44100 Hz, quad, s32, 192 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Error while opening encoder for output stream #0.0 - maybe incorrect parameters
such as bit_rate, rate, width or height
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 2:20 pm
by Illico
Could you try this :
ffmpeg.exe -i "\\Blackarmor\Musica\My Music\Lamb\5\01 Lamb - Another Language.flac" -y -ab 192k -ac 2 -f mp3 "C:\TEMP\Serviio\transcoding-temp-217713-MP3.stf
or
ffmpeg.exe -i "\\Blackarmor\Musica\My Music\Lamb\5\01 Lamb - Another Language.flac" -y -ab 384k -ac 2 -f mp3 "C:\TEMP\Serviio\transcoding-temp-217713-MP3.stf
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 3:39 pm
by ajo
Thank you Illico.
This is the result:
C:\Archivos de programa\Serviio\lib>ffmpeg.exe -i "\\Blackarmor\Musica\My Music\
Lamb\5\01 Lamb - Another Language.flac" -y -ab 192k -ac 2 -f mp3 "C:\TEMP\Servii
o\transcoding-temp-217713-MP3.stf
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 14 2011 23:37:53 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0
[flac @ 01829e80] max_analyze_duration 5000000 reached at 5015510
Input #0, flac, from '\\Blackarmor\Musica\My Music\Lamb\5\01 Lamb - Another Lang
uage.flac':
Metadata:
ALBUM ARTIST : LAMB
PERFORMER : Louise Rhodes
TITLE : Another Language
TOTALDISCS : 1
TOTALTRACKS : 12
WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x0033
ALBUM : 5
ARTIST : Lamb
GENRE : Trip Hop
COMPOSER : Andy Barlow
disc : 1
DATE : 2011-08-22
track : 01
Duration: 00:04:18.90, bitrate: 3169 kb/s
Stream #0.0: Audio: flac, 44100 Hz, quad, s32
Output #0, mp3, to 'C:\TEMP\Serviio\transcoding-temp-217713-MP3.stf':
Metadata:
ALBUM ARTIST : LAMB
TPE3 : Louise Rhodes
TIT2 : Another Language
TOTALDISCS : 1
TOTALTRACKS : 12
WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x0033
TALB : 5
TPE1 : Lamb
TCON : Trip Hop
TCOM : Andy Barlow
TPOS : 1
TDRL : 2011-08-22
TRCK : 01
TSSE : Lavf53.6.0
Stream #0.0: Audio: libmp3lame, 44100 Hz, 2 channels, s32, 192 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
Warning, using s16 intermediate sample format for resampling
Unsupported audio resampling. Allowed output channels for 4 input channels: 4
Can not resample 4 channels @ 44100 Hz to 2 channels @ 44100 Hz
And
C:\Archivos de programa\Serviio\lib>ffmpeg.exe -i "\\Blackarmor\Musica\My Music\
Lamb\5\01 Lamb - Another Language.flac" -y -ab 384k -ac 2 -f mp3 "C:\TEMP\Servii
o\transcoding-temp-217713-MP3.stf
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 14 2011 23:37:53 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0
[flac @ 01829ea0] max_analyze_duration 5000000 reached at 5015510
Input #0, flac, from '\\Blackarmor\Musica\My Music\Lamb\5\01 Lamb - Another Lang
uage.flac':
Metadata:
ALBUM ARTIST : LAMB
PERFORMER : Louise Rhodes
TITLE : Another Language
TOTALDISCS : 1
TOTALTRACKS : 12
WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x0033
ALBUM : 5
ARTIST : Lamb
GENRE : Trip Hop
COMPOSER : Andy Barlow
disc : 1
DATE : 2011-08-22
track : 01
Duration: 00:04:18.90, bitrate: 3169 kb/s
Stream #0.0: Audio: flac, 44100 Hz, quad, s32
Output #0, mp3, to 'C:\TEMP\Serviio\transcoding-temp-217713-MP3.stf':
Metadata:
ALBUM ARTIST : LAMB
TPE3 : Louise Rhodes
TIT2 : Another Language
TOTALDISCS : 1
TOTALTRACKS : 12
WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x0033
TALB : 5
TPE1 : Lamb
TCON : Trip Hop
TCOM : Andy Barlow
TPOS : 1
TDRL : 2011-08-22
TRCK : 01
TSSE : Lavf53.6.0
Stream #0.0: Audio: libmp3lame, 44100 Hz, 2 channels, s32, 384 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
Warning, using s16 intermediate sample format for resampling
Unsupported audio resampling. Allowed output channels for 4 input channels: 4
Can not resample 4 channels @ 44100 Hz to 2 channels @ 44100 Hz
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 4:00 pm
by Illico
OK and this:
Could you try this :
ffmpeg.exe -i "\\Blackarmor\Musica\My Music\Lamb\5\01 Lamb - Another Language.flac" -y -ab 192k -ac 4 -f mp3 "C:\TEMP\Serviio\transcoding-temp-217713-MP3.stf
or
ffmpeg.exe -i "\\Blackarmor\Musica\My Music\Lamb\5\01 Lamb - Another Language.flac" -y -ab 384k -ac 4 -f mp3 "C:\TEMP\Serviio\transcoding-temp-217713-MP3.stf
EDIT: But not sure it results a MP3 DLNA compliant :
I think its something like Maximum 2 channels at 320kbps.
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 5:12 pm
by zip
Are the 2 channels supposed to be front and rear speakers?
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 5:38 pm
by ajo
The channels are front and rear.
C:\Archivos de programa\Serviio\lib>ffmpeg.exe -i "\\Blackarmor\Musica\My Music\
Lamb\5\01 Lamb - Another Language.flac" -y -ab 384k -ac 4 -f mp3 "C:\TEMP\Servii
o\transcoding-temp-217713-MP3.stf
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 14 2011 23:37:53 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0
[flac @ 01829ea0] max_analyze_duration 5000000 reached at 5015510
Input #0, flac, from '\\Blackarmor\Musica\My Music\Lamb\5\01 Lamb - Another Lang
uage.flac':
Metadata:
ALBUM ARTIST : LAMB
PERFORMER : Louise Rhodes
TITLE : Another Language
TOTALDISCS : 1
TOTALTRACKS : 12
WAVEFORMATEXTENSIBLE_CHANNEL_MASK: 0x0033
ALBUM : 5
ARTIST : Lamb
GENRE : Trip Hop
COMPOSER : Andy Barlow
disc : 1
DATE : 2011-08-22
track : 01
Duration: 00:04:18.90, bitrate: 3169 kb/s
Stream #0.0: Audio: flac, 44100 Hz, quad, s32
Output #0, mp3, to 'C:\TEMP\Serviio\transcoding-temp-217713-MP3.stf':
Stream #0.0: Audio: libmp3lame, 44100 Hz, 4 channels, s32, 384 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Error while opening encoder for output stream #0.0 - maybe incorrect parameters
such as bit_rate, rate, width or height
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 7:26 pm
by Illico
Did you try with 192kbps option value?
So we probably have to transcode to AC3 (multichannel support 2,4,6 and maximum bitrate up to 640kbps), no?
Re: FLAC files in Samsung UE37D6530

Posted:
Thu Jan 05, 2012 11:18 pm
by ajo
Yes, I try with 192 kbps option value with the same result.
Re: FLAC files in Samsung UE37D6530

Posted:
Thu May 31, 2012 12:17 pm
by jlcooke
Hello,
I have a mountain of multi-channel FLAC in 4.0, 4.1, 5.0 and 5.1.
I'm also new to Serviio - downloaded yesterday and have to say I love it so far! mediatomb just couldn't work with my 2012 Samsung 6100 LED SmartTV (UN55ES6100).
I want my m.ch to be m.ch on my TV. Can I suggest when transcoding m.ch music Serviio use DTS @ 1.5MB/sec?
ffmpeg -i $INPUT -acodec dca -strict experimental -ab 1509k $OUTPUT
I can also live with AC3 @ 640k But I gotta have my multichannel!
How do I add this transcoding (FLAC-->DTS) to the list of profiles?
Re: FLAC files in Samsung UE37D6530

Posted:
Thu May 31, 2012 12:28 pm
by jlcooke