Page 1 of 1

[SOLVED] Issues with FLAC

PostPosted: Tue Jul 24, 2012 3:39 pm
by kolotyluk
I am able to play FLAC files via my PlayStation 3 from Servio if the files are songs that I RIPed from CDs, but for some reason I cannot play downloaded FLAC files?

However, if I use my Sony Tablet S (running Android) and the a MediaHouse browser the same downloaded FLAC files play fine.

In both cases the files are coming from Serviio on my Windows 7 system.

Is this some sort of DRM issues, a transcoding issue, or something else?

Cheers, Eric

Re: Issues with FLAC

PostPosted: Tue Jul 24, 2012 9:21 pm
by patters
I may not be able to help, but the first thing you need to do it post the output of:
  Code:
ffmpeg -i yourfile.flac


FFmpeg is in the Serviio/lib folder I think (I use the Linux build which is a bit different).

Re: Issues with FLAC

PostPosted: Tue Jul 24, 2012 9:50 pm
by kolotyluk
Does this help?

Cheers, Eric

C:\Program Files\Serviio\lib>ffmpeg -i "D:\Users\Eric\Google Drive\Music\Downloaded\FLAC\Azureus Vuze\Aerosmith Discography FLAC\Aerosmith - Aerosmith (1973 ) [flac]\03 - Dream On.flac"
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 13 2011 20:46:11 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enablepthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-config
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
[flac @ 018488e0] max_analyze_duration 5000000 reached at 5015510Input #0, flac, from 'D:\Users\Eric\Google Drive\Music\Downloaded\FLAC\Azureus Vuze\Aerosmith Discography FLAC\Aerosmith - Aerosmith (1973 ) [flac]\03 - Dream On.flac':
Metadata:
TITLE : Dream On
ARTIST : Aerosmith
ALBUM ARTIST : Aerosmith
ALBUM : Aerosmith
GENRE : Rock
COMMENT : Box Of Fire, 20 bit Sony SBM 1993 remasters
ENSEMBLE : Aerosmith
track : 3
DATE : 1973
REPLAYGAIN_TRACK_PEAK: 0.829742431640625
REPLAYGAIN_TRACK_GAIN: -3.87 dB
DISCID : 5b085b08
Duration: 00:04:26.06, bitrate: 789 kb/s
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
At least one output file must be specified

Re: Issues with FLAC

PostPosted: Tue Jul 24, 2012 10:50 pm
by zip
is there an error in the log when you play the file?

Re: Issues with FLAC

PostPosted: Tue Jul 24, 2012 11:59 pm
by kolotyluk
OK, can you see the attached log files?

At any rate I cannot see any errors related to Aerosmith, but there are lots of errors related to Led Zeppelin - for example
  Code:
2012-07-24 08:07:39,620 WARN  [LibraryManager] Cannot read metadata of file D:\Users\Eric\Google Drive\Music\Downloaded\FLAC\FrostWire\Led Zeppelin-Flac discography\Led Zeppelin FLAC  discography\Led Zeppelin - Houses Of The Holy (1973) [FLAC] {1994 Remaster}\05 - Dancing Days.flac via extractor EMBEDDED. Message: org.jaudiotagger.audio.exceptions.CannotReadException: Unable to read file because it is too small to be valid audio file: D:\Users\Eric\Google Drive\Music\Downloaded\FLAC\FrostWire\Led Zeppelin-Flac discography\Led Zeppelin FLAC  discography\Led Zeppelin - Houses Of The Holy (1973) [FLAC] {1994 Remaster}\05 - Dancing Days.flac
Another thing I noticed from the PS3, is that I can navigate down to the folders with the .flac files in them, but it does not list the actual files in the folder, which is why I cannot play them.

On the other hand, the browser app on my Android Tablet can see the files as well play them. I am not sure what the difference is between the PS3 and the Tablet ...

Re: Issues with FLAC

PostPosted: Wed Jul 25, 2012 12:21 am
by kolotyluk
OK, I have some more insight...

This seems to be a path length problem with the PS3. I moved the .flac files to a folder higher up and they play fine from the PS3.

The media browser on my Android Tablet does not seem to have this limitation.

I suppose I could try to report this to Sony as a bug in the PS3, but that would be pointless as I am sure Sony does not consider stuff like that important.

It seems the only thing to do is reorganize folder structure so the path lengths are not as long.