track start times drift in CUE files

Bug reports go here.
gdeff
Posts: 6
Joined: Mon Feb 10, 2020 5:56 am

track start times drift in CUE files

Post 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.
admin
Site Admin
Posts: 567
Joined: Wed Nov 17, 2010 12:56 pm

Re: track start times drift in CUE files

Post 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)?
gdeff
Posts: 6
Joined: Mon Feb 10, 2020 5:56 am

Re: track start times drift in CUE files

Post 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?
admin
Site Admin
Posts: 567
Joined: Wed Nov 17, 2010 12:56 pm

Re: track start times drift in CUE files

Post 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.
gdeff
Posts: 6
Joined: Mon Feb 10, 2020 5:56 am

Re: track start times drift in CUE files

Post 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!
admin
Site Admin
Posts: 567
Joined: Wed Nov 17, 2010 12:56 pm

Re: track start times drift in CUE files

Post 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).
gdeff
Posts: 6
Joined: Mon Feb 10, 2020 5:56 am

Re: track start times drift in CUE files

Post 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.
admin
Site Admin
Posts: 567
Joined: Wed Nov 17, 2010 12:56 pm

Re: track start times drift in CUE files

Post 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.
gdeff
Posts: 6
Joined: Mon Feb 10, 2020 5:56 am

Re: track start times drift in CUE files

Post 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
gdeff
Posts: 6
Joined: Mon Feb 10, 2020 5:56 am

Re: track start times drift in CUE files

Post 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
Post Reply