Solved single flac + cuesheet playback - seek broken
#1
i've noticed this yesterday, but not sure how long the issue exists. it was definitely working fine before.

when playing a cd rip encoded as a single flac + cuesheet, starting the playback somewhere "in the middle" (not from the first song) results in playback from the incorrect position in the file. the delay is random in the sense that it varies from file to file, but for any given file it is consistent. the example from below is for a rip of joni mitchell's "hejira". selecting the 2nd song, "amelia" and playback starts 45 sec before the 1st song "coyote" ends. the problem does not exist if the playback is started from the beginning, so i'm assuming it's some kind of seek problem. Problem also happens if I start the playback from the 1st song and then skip to 2nd.

Here's the debug log with ffmpeg verbose logging. I'm noticing the errors:

Code:
09:22:29 T:139851150714752   ERROR: ffmpeg[A228E780]: [flac] invalid sync code
09:22:29 T:139851150714752   ERROR: ffmpeg[A228E780]: [flac] invalid frame header
09:22:29 T:139851150714752   ERROR: ffmpeg[A228E780]: [flac] decode_frame() failed

However, these errors happen regardless of where I start the playback, so not sure if this is really related. I would expect this to be an ffmpeg issue, however was not able to find any applicable ffmpeg bug, would be interested to learn if other people experience the same.

The cuesheet is here:

Code:
PERFORMER "Joni Mitchell"
TITLE "Hejira"
FILE "Hejira.flac" WAVE
  TRACK 01 AUDIO
    TITLE "Coyote"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "Amelia"
    INDEX 01 05:01:30
  TRACK 03 AUDIO
    TITLE "Furry Sings The Blues"
    INDEX 01 11:03:15
  TRACK 04 AUDIO
    TITLE "A Strange Boy"
    INDEX 01 16:10:70
  TRACK 05 AUDIO
    TITLE "Hejira"
    INDEX 01 20:29:67
  TRACK 06 AUDIO
    TITLE "Song for Sharon"
    INDEX 01 27:11:10
  TRACK 07 AUDIO
    TITLE "Black Crow"
    INDEX 01 35:49:67
  TRACK 08 AUDIO
    TITLE "Blue Motel Room"
    INDEX 01 40:12:55
  TRACK 09 AUDIO
    TITLE "Refuge of the Roads"
    INDEX 01 45:16:60

Running 2:14.0~git20140330.0501-c625271-0saucy on Ubuntu 13.10

Thanks for looking,
-- Stanislav
Reply
#2
Please check whether you have https://github.com/xbmc/xbmc/commit/fdcb...8e0f09ffed in your build.

Ref: https://github.com/xbmc/xbmc/pull/4500
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
I did not. I confirm that the latest fernetmenta build 2:14.0~git20140403.0500-68b48f7-0saucy solves the issue.

Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
single flac + cuesheet playback - seek broken0