Page 1 of 2

track start times drift in CUE files

Posted: Mon Feb 10, 2020 6:10 am
by gdeff
XRECODE v1.99

In Merge/CUE operations, the created CUE file has track start times that drift out of sync. The farther you go into the merged file, the larger the error. That is, a short track merged at the end of a really long track, or the tracks towards the end of a large number of tracks.

Re: track start times drift in CUE files

Posted: Mon Feb 10, 2020 7:15 am
by admin
What type of file were you merging and to which format?
Would it be possible to send the input files to xrecode@gmail.com (you could use https://wetransfer.com)?

Re: track start times drift in CUE files

Posted: Mon Feb 10, 2020 6:45 pm
by gdeff
thanks!

You could use the latest 10 files at https://wtfpod.libsyn.com as an example case. I use the bash one-liner below to download the last X episodes.

for f in $(curl https://wtfpod.libsyn.com/page/1/size/10 | grep -o "http.*mp3"); do wget -nc $f; done

I merge them together as MP3, no transcoding, create CUE file

BTW, is embeded CUE file supported for MP3 in XRECODE?

Re: track start times drift in CUE files

Posted: Mon Feb 10, 2020 8:14 pm
by admin
Here's the update to try - https://xrecode.com/test/setup_xrecode3 ... _1.100.exe
gdeff wrote: Mon Feb 10, 2020 6:45 pm BTW, is embeded CUE file supported for MP3 in XRECODE?
I've not seen such mp3 files. Do you have one? If so, please send it to me.

Re: track start times drift in CUE files

Posted: Mon Feb 10, 2020 9:47 pm
by gdeff
The updated XRECODE seems to drift even worse :shock: if I choose to transcode the tracks, CUE is generated OK.

Here's a webpage with description of embedded chapters and examples for mp3, m4a, opus, and ogg vorbis
https://auphonic.com/blog/2013/07/03/ch ... -podcasts/

Thanks for your time!

Re: track start times drift in CUE files

Posted: Tue Feb 11, 2020 6:29 am
by admin
gdeff wrote: Mon Feb 10, 2020 9:47 pm The updated XRECODE seems to drift even worse :shock: if I choose to transcode the tracks, CUE is generated OK.
Hmm. Which software are you using to listen to them? I tried foobar and they were OK after the fix (originally they were off by couple of seconds).

Re: track start times drift in CUE files

Posted: Tue Feb 11, 2020 9:00 pm
by gdeff
The player I was using is Total Recorder (http://www.totalrecorder.com/). I also see the drift in VLC player 3.0.8.

Foobar2000 plays it OK for me. Hmm. And Android app "Listen Audiobook Player" is OK too.

I tested CUE file generation also with merged m4a files and it still seems to exhibit the original drift in Foobar as well as the other players.

Crazy-making. But no worries. I appreciate your work and I'm in no hurry.

Re: track start times drift in CUE files

Posted: Thu Feb 13, 2020 4:58 pm
by admin
I tried to converted them to m4a/CUE and resulting file played well for me (in foobar). If you're going for m4a, better create Audiobook. This way chapters will be encoded into the file and no need for the CUE file.

Re: track start times drift in CUE files

Posted: Thu Feb 13, 2020 7:11 pm
by gdeff
Thanks for tip about m4b audiobook format.

re: embedded chapters in m4a or mp3, the only tool I've found so far that can do it is a Mac program: https://rogueamoeba.com/fission

Re: track start times drift in CUE files

Posted: Thu Feb 27, 2020 11:39 pm
by gdeff
Following up to this after further XRECODE experimenting:

I think XRECODE always produces an accurate CUE file but sometimes the merged audio does not line up. If I merge the audio files with ffmpeg command line then it lines up OK with XRECODE's CUE file.

ffmpeg -f concat -safe 0 -i files -c copy -map a merged_audio.suffix