[SOLVED] Some FLAC don’t play in Rhythmbox via DAAP

FireFly Media Server (formerly mt-daapd) Firefly Media Server Forums Firefly Media Server General Discussion [SOLVED] Some FLAC don’t play in Rhythmbox via DAAP

This topic contains 12 replies, has 3 voices, and was last updated by  Anonymous 7 years, 11 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2910

    Anonymous

    Hello community,

    I’m 90 % happy user of FMS. However, there are few issues that I need to ask you. I’ve got 7000 files in my database (Ubuntu 8.04 server/svn-1696), most of them are FLAC files. The problem is some of them don’t play. I’ve enabled log level to 9 so that you are able to see everything.

    Please see the attachment. What I did in Rhythmbox was:
    1) connecting and obtaining the database into Rhythmbox
    2) selecting John Mayall & The Bluesbreakers With Eric Clapton, selecting first song
    3) song is going to play, but it never will. I’ve tried to wait for few minutes and it doesn’t help (I’m connected through ethernet)

    4) killall mt-daapd and creating this output.txt:
    http://michal.penka.name/output.txt

    I’ve got these problems often, for e.g. Mike Oldfield’s 1971 FLAC demos – strange thing there is that only very long (20+ minutes) files don? play. Normal one’s of this album (like 3-6 minutes) play without any problem. Mike Oldfield’s problem isn’t in log attached though.

    Thank you for any help – I really appreciate it!

    I’m also at jabber/e-amil: michal [_a_t_] penka [_d_o_t_] name

    #18574

    Anonymous

    One more thing – I’ve tried to set:

    never_transcode = flac

    and it works, but for just for a few of these problematic FLACs. For e.g. now I’m able to play some Cream’s albums. Mike Oldfield’s demos and John Mayall’s playback now behave different. It doesn’t wait for anything like before – it immediately switches to following song and displays a red “driving ban” sign (not found?) next to each song.

    the log now changes to:
    http://michal.penka.name/output2.txt

    Any ideas? Thank you!

    #18583

    Anonymous

    Compare a problematic file with a non-problematic one and see how they differ. It’s possible one file is a raw FLAC stream and the other is a FLAC stream in an OGG container.

    ffmpeg’s handling of FLAC files sucks, and both types must be treated differently. Raw FLAC streams are what is commonly referred to as a FLAC file, FLAC in OGG is not that common.

    It could also be an encoder problem with files produced by older/buggy encoders.

    #18580

    Anonymous

    Thank you for your answer!

    Is there any simple way (in terminal) how to check whether it is raw flac or flac/ogg? But I think flac/ogg would me “smaller” in MBs than raw flac. I think this isn’t my problem.

    However, I’ve tried to re-convert some files again with program called SoundConverter 1.4.1 (GNOME application) which seems to work for me (Mayall, Cream and Oldfield in Rhythmbox/DAAP), but I have to keep

    never_transcode = flac

    which is unpleasant for itunes users in my network I think.

    Do you have any idea where’s the problem?

    Thank you again!

    #18579

    Anonymous

    Just running file on the files should tell you, IIRC.

    #18581

    Anonymous

    @jblache wrote:

    Just running file on the files should tell you, IIRC.

    Now I don’t understand, sorry πŸ™‚ But thanks for answering πŸ˜‰

    #18582

    EVILRipper
    Participant

    @jblache wrote:

    Just running file on the files should tell you, IIRC.

    Seriously, what are you saying? πŸ˜•

    #18578

    Anonymous

    Ever heard of file(1)? πŸ™‚

    For reference, this is the output I get on two FLAC files, one being a raw FLAC stream and the other being FLAC-in-OGG:


    testfiles% file When I Grow Up.*
    When I Grow Up.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 9062784 samples
    When I Grow Up.ogg: Ogg data
    #18584

    Anonymous

    Thanks! It makes sense now πŸ˜€

    However, there is output of problematic file:

    1 - Intro.flac: FLAC audio bitstream data, 16 bit, stereo, 44.1 kHz, 2299080 samples

    It seems it’s normal FLAC. In Rhythmbox it shows red sign and skips it immediately. Maybe initial encoding was wrong?

    Exact Audio Copy V0.99 prebeta 4 from 23. January 2008

    EAC extraction logfile from 19. November 2008, 21:53

    Nirvana / From The Muddy Banks Of The Wishkah

    Used drive : PIONEER DVD-RW DVR-112D Adapter: 3 ID: 0

    Read mode : Fast

    Read offset correction : 48
    Overread into Lead-In and Lead-Out : No
    Fill up missing offset samples with silence : Yes
    Delete leading and trailing silent blocks : No
    Null samples used in CRC calculations : Yes
    Used interface : Installed external ASPI interface
    Gap handling : Appended to previous track

    Used output format : User Defined Encoder
    Selected bitrate : 896 kBit/s
    Quality : High
    Add ID3 tag : Yes
    Command line compressor : C:Program FilesExact Audio CopyFLACFLAC.EXE
    Additional command line options : -8 -V -T "ARTIST=%a" -T "TITLE=%t" -T "ALBUM=%g" -T "DATE=%y" -T "TRACKNUMBER=%n" -T "GENRE=%m" -T "COMMENT=%e" %s -o %d


    TOC of the extracted CD

    Track | Start | Length | Start sector | End sector
    1 | 0:00.00 | 0:52.10 | 0 | 3909
    2 | 0:52.10 | 2:40.17 | 3910 | 15926
    3 | 3:32.27 | 3:34.68 | 15927 | 32044
    4 | 7:07.20 | 4:31.50 | 32045 | 52419
    5 | 11:38.70 | 4:47.02 | 52420 | 73946
    6 | 16:25.72 | 2:07.23 | 73947 | 83494
    7 | 18:33.20 | 4:10.07 | 83495 | 102251
    8 | 22:43.27 | 1:55.73 | 102252 | 110949
    9 | 24:39.25 | 3:10.35 | 110950 | 125234
    10 | 27:49.60 | 3:31.07 | 125235 | 141066
    11 | 31:20.67 | 4:41.48 | 141067 | 162189
    12 | 36:02.40 | 3:45.47 | 162190 | 179111
    13 | 39:48.12 | 2:43.48 | 179112 | 191384
    14 | 42:31.60 | 2:30.05 | 191385 | 202639
    15 | 45:01.65 | 3:28.20 | 202640 | 218259
    16 | 48:30.10 | 1:55.27 | 218260 | 226911
    17 | 50:25.37 | 3:36.18 | 226912 | 243129


    Track 1

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 01 - Intro.wav

    Pre-gap length 0:00:02.00

    Peak level 97.9 %
    Test CRC AE7AE5FF
    Copy CRC AE7AE5FF
    Accurately ripped (confidence 9) [1AA69DB0]
    Copy OK

    Track 2

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 02 - School.wav

    Pre-gap length 0:00:01.85

    Peak level 97.8 %
    Test CRC 68AD49FA
    Copy CRC 68AD49FA
    Accurately ripped (confidence 9) [1EB4737E]
    Copy OK

    Track 3

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 03 - Drain You.wav

    Pre-gap length 0:00:07.77

    Peak level 97.8 %
    Test CRC 6004E636
    Copy CRC 6004E636
    Accurately ripped (confidence 9) [68A296E1]
    Copy OK

    Track 4

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 04 - Aneurysm.wav

    Pre-gap length 0:00:01.90

    Peak level 97.8 %
    Test CRC 073AF7B8
    Copy CRC 073AF7B8
    Accurately ripped (confidence 9) [E2B7B5FB]
    Copy OK

    Track 5

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 05 - Smells Like Teen Spirit.wav

    Pre-gap length 0:00:04.46

    Peak level 97.8 %
    Test CRC 39ACBEAB
    Copy CRC 39ACBEAB
    Accurately ripped (confidence 9) [93D87208]
    Copy OK

    Track 6

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 06 - Been A Son.wav

    Pre-gap length 0:00:08.34

    Peak level 98.8 %
    Test CRC CAF14D27
    Copy CRC CAF14D27
    Accurately ripped (confidence 9) [7ECBC25B]
    Copy OK

    Track 7

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 07 - Lithium.wav

    Pre-gap length 0:00:01.80

    Peak level 97.9 %
    Test CRC 0BED5905
    Copy CRC 0BED5905
    Accurately ripped (confidence 9) [E4F8AC93]
    Copy OK

    Track 8

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 08 - Sliver.wav

    Pre-gap length 0:00:04.53

    Peak level 99.4 %
    Test CRC 61897C45
    Copy CRC 61897C45
    Accurately ripped (confidence 9) [875EAE7B]
    Copy OK

    Track 9

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 09 - Spank Thru.wav

    Pre-gap length 0:00:01.84

    Peak level 98.1 %
    Test CRC 3E1A14F5
    Copy CRC 3E1A14F5
    Accurately ripped (confidence 9) [ED8AE1B3]
    Copy OK

    Track 10

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 10 - Scentless Apprentice.wav

    Pre-gap length 0:00:04.93

    Peak level 98.9 %
    Test CRC 43E1B1B2
    Copy CRC 43E1B1B2
    Accurately ripped (confidence 9) [8337DD4F]
    Copy OK

    Track 11

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 11 - Heart-Shaped Box.wav

    Pre-gap length 0:00:07.36

    Peak level 99.4 %
    Test CRC 4212886E
    Copy CRC 4212886E
    Accurately ripped (confidence 9) [B913DA67]
    Copy OK

    Track 12

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 12 - Milk It.wav

    Pre-gap length 0:00:01.78

    Peak level 97.8 %
    Test CRC 6F077FDD
    Copy CRC 6F077FDD
    Accurately ripped (confidence 9) [9CF8E154]
    Copy OK

    Track 13

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 13 - Negative Creep.wav

    Pre-gap length 0:00:07.42

    Peak level 100.0 %
    Test CRC 3F231B1A
    Copy CRC 3F231B1A
    Accurately ripped (confidence 9) [01BB232C]
    Copy OK

    Track 14

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 14 - Polly.wav

    Pre-gap length 0:00:00.69

    Peak level 98.8 %
    Test CRC F22DD0F4
    Copy CRC F22DD0F4
    Accurately ripped (confidence 9) [573B00DC]
    Copy OK

    Track 15

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 15 - Breed.wav

    Pre-gap length 0:00:04.77

    Peak level 97.9 %
    Test CRC A0EDD63A
    Copy CRC A0EDD63A
    Accurately ripped (confidence 9) [8A23EAB3]
    Copy OK

    Track 16

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 16 - Tourette's.wav

    Pre-gap length 0:00:17.76

    Peak level 97.9 %
    Test CRC 370DDCF9
    Copy CRC 04EA4A8F
    Cannot be verified as accurate (confidence 6) [0BA111F0], AccurateRip returned [E20D5195]
    Copy OK

    Track 17

    Filename C:Documents and SettingssradamsMy DocumentsDownloadsNirvanaFrom The Muddy Banks Of The WishkahNirvana - From The Muddy Banks Of The Wishkah - 17 - Blew.wav

    Pre-gap length 0:00:01.76

    Peak level 99.4 %
    Test CRC DA8BCBD3
    Copy CRC DA8BCBD3
    Accurately ripped (confidence 7) [0B891B96]
    Copy OK


    16 track(s) accurately ripped
    1 track(s) could not be verified as accurate

    Some tracks could not be verified as accurate

    No errors occurred

    End of status report

    I’ve got problems with every song in this album πŸ™

    #18577

    Anonymous

    Can you make the problematic files available? The very long one and one of the other files that don’t play should be enough to find out what’s going on.

    I have ideas for both of the issues you’re encountering (as I think there are 2 separate issues), but it’s going to be waaaaaaay faster if I can just test that out myself πŸ™‚

    #18576

    Anonymous

    @jblache wrote:

    Can you make the problematic files available? The very long one and one of the other files that don’t play should be enough to find out what’s going on.

    I have ideas for both of the issues you’re encountering (as I think there are 2 separate issues), but it’s going to be waaaaaaay faster if I can just test that out myself πŸ™‚

    Hi, could you please hit me on jabber or mail? I don’t want to (can’t) share these files with whole Internet πŸ™‚ It’s michal [_a_t_] penka {.d.o.t.} name

    Thanks!

    #18585

    Anonymous

    So the problem was that Michal was hitting the “ffmpeg can’t handle FLAC files with more than 64k of metadata”.

    Fortunately for him, most of the metadata on the problematic files were actually padding as they had been deleted without using the proper options to not generate padding.

    #18575

    Anonymous

    Yes, jblanche helped me. The solution was:

    metaflac --dont-use-padding --remove --block-type=PADDING *.flac

    Because before it looked like:

    METADATA block #3
    type: 1 (PADDING)
    is last: true
    length: 423601

    after doing

     metaflac --list

    for each file.

    Now every song seems to be playable, but I’ll check my database during the following times.

    Thanks everybody who was involved!

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Register here