Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 4 of 4
  1. #1

    Can't play m4a files on Squeezebox Radio

    I've recently re-ripped some files to m4a expecting them to play fine on my Squeezebox devices, but I can't get them to play unless I set MPEG4 to disabled.
    mediainfo:
    Complete name : Music/ogg/Bon Jovi/7800░ Fahrenheit/01In and Out of Love.m4a
    Format : MPEG-4
    Format profile : Apple audio with iTunes info
    Codec ID : M4A (M4A /mp42/isom)
    File size : 5.61 MiB
    Duration : 4 min 26 s
    Overall bit rate mode : Variable
    Overall bit rate : 177 kb/s
    Album : 7800░ Fahrenheit
    Album/Performer : Bon Jovi
    Part/Position : 1
    Part/Total : 1
    Track name : In and Out of Love
    Track name/Position : 1
    Track name/Total : 10
    Performer : Bon Jovi
    Genre : Rock
    Recorded date : 1985
    Encoded date : UTC 2019-05-01 07:55:43
    Tagged date : UTC 2019-05-01 07:55:43
    Writing application : FAAC 1.29.7.7

    Audio
    ID : 1
    Format : AAC LC
    Format/Info : Advanced Audio Codec Low Complexity
    Codec ID : mp4a-40-2
    Duration : 4 min 26 s
    Source duration : 4 min 26 s
    Bit rate mode : Variable
    Bit rate : 175 kb/s
    Maximum bit rate : 301 kb/s
    Channel(s) : 2 channels
    Channel layout : L R
    Sampling rate : 44.1 kHz
    Frame rate : 43.066 FPS (1024 SPF)
    Compression mode : Lossy
    Stream size : 5.56 MiB (99%)
    Source stream size : 5.56 MiB (99%)
    Language : English
    Encoded date : UTC 2019-05-01 07:55:43
    Tagged date : UTC 2019-05-01 07:55:43
    mdhd_Duration : 266213

    Logitech Media Server Version: 7.9.2 - 1556632586 @ Tue Apr 30 16:16:52 CEST 2019

    Player Model: Squeezebox Radio
    Firmware: 7.7.3-r16676

  2. #2
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,307
    This is an MPEG4 file. The usual issue is because when the files were ripped, all the metadata & index is at the end of the file (I.e. only one pass was needed for the rip). This is OK for a file based player but for a streaming based player - metadata & index have to be at the start (i.e. the player must be told where audio data starts before it gets the music data).

    The usual way to fix it to use ffmpeg with the "-movflags +faststart" either when ripping or afterwards to convert and existing MPEG4 file.

  3. #3
    Thanks,
    I've created a little BASH script to do it per directory.

    #! /bin/sh

    for a in *.m4a; do
    OUTF=${a%.m4a}_new.m4a
    echo "$a" "$OUTF"
    ffmpeg -hide_banner -loglevel panic -i "$a" -c copy -map 0 -movflags +faststart "$OUTF"
    mv "$OUTF" "$a"
    RESULT=$?
    done

  4. #4
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    18,307
    Good that "faststart" fixed the issue. It'd probably be better to look at the rip procedure so that correct file is output in the first place.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •