FAQ  •  Register  •  Login

FLAC files in Samsung UE37D6530

<<

ajo

Serviio newbie

Posts: 10

Joined: Sat Jun 18, 2011 9:14 pm

Post Sun Jan 01, 2012 9:11 pm

FLAC files in Samsung UE37D6530

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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jan 01, 2012 11:30 pm

Re: FLAC files in Samsung UE37D6530

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>
<<

ajo

Serviio newbie

Posts: 10

Joined: Sat Jun 18, 2011 9:14 pm

Post Thu Jan 05, 2012 10:32 am

Re: FLAC files in Samsung UE37D6530

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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 05, 2012 10:46 am

Re: FLAC files in Samsung UE37D6530

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.
<<

ajo

Serviio newbie

Posts: 10

Joined: Sat Jun 18, 2011 9:14 pm

Post Thu Jan 05, 2012 11:05 am

Re: FLAC files in Samsung UE37D6530

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)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 05, 2012 11:55 am

Re: FLAC files in Samsung UE37D6530

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.
<<

ajo

Serviio newbie

Posts: 10

Joined: Sat Jun 18, 2011 9:14 pm

Post Thu Jan 05, 2012 1:49 pm

Re: FLAC files in Samsung UE37D6530

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
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Jan 05, 2012 2:20 pm

Re: FLAC files in Samsung UE37D6530

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
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

ajo

Serviio newbie

Posts: 10

Joined: Sat Jun 18, 2011 9:14 pm

Post Thu Jan 05, 2012 3:39 pm

Re: FLAC files in Samsung UE37D6530

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
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Jan 05, 2012 4:00 pm

Re: FLAC files in Samsung UE37D6530

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.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jan 05, 2012 5:12 pm

Re: FLAC files in Samsung UE37D6530

Are the 2 channels supposed to be front and rear speakers?
<<

ajo

Serviio newbie

Posts: 10

Joined: Sat Jun 18, 2011 9:14 pm

Post Thu Jan 05, 2012 5:38 pm

Re: FLAC files in Samsung UE37D6530

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
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Jan 05, 2012 7:26 pm

Re: FLAC files in Samsung UE37D6530

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?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

ajo

Serviio newbie

Posts: 10

Joined: Sat Jun 18, 2011 9:14 pm

Post Thu Jan 05, 2012 11:18 pm

Re: FLAC files in Samsung UE37D6530

Yes, I try with 192 kbps option value with the same result.
<<

jlcooke

Streaming enthusiast

Posts: 22

Joined: Wed May 30, 2012 7:46 pm

Post Thu May 31, 2012 12:17 pm

Re: FLAC files in Samsung UE37D6530

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?
<<

jlcooke

Streaming enthusiast

Posts: 22

Joined: Wed May 30, 2012 7:46 pm

Post Thu May 31, 2012 12:28 pm

Re: FLAC files in Samsung UE37D6530

I've added my Samsung TV (E-Series) to http://wiki.serviio.org/doku.php?id=dev ... t&#samsung

Return to Samsung

Who is online

Users browsing this forum: No registered users and 52 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.