Skip to main content
Topic: WAV (DTS) Cue sheet anomoly 2nd track >> forward (Read 783 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

WAV (DTS) Cue sheet anomoly 2nd track >> forward

Recently, I acquired Quadraphonic transfers in the form of One Large WAV file (DTS encoded) and a CUE sheet.

I Enqueue in Foobar successfully. All the tracks load correctly however starting from the second track through to the last track, approximately the first 10 seconds are static much like you'd expect when loading a DTS file into a Sound Application without the DTS encoder. Once I skip past the first 10 seconds or so, the song plays fine.  Of further note, is while the track is playing, I drag back to the very beginning of the very same track and the static sound is gone. The entire song plays without issue.

Lastly, if I don't use the Cue Sheet, the entire WAV file plays without issue in Foobar as one large DTS encoded file.  The WAV files and CUE sheet were encoded/created in 2010 if this helps.

Might anyone know the cause for the first 10 seconds on the first try of every track (except the first) plays improperly but if I drag the slider to the very beginning of the track it then plays fine?

Rev

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #1
Are you using latest foo_input_dts? Can you test what happens if you convert this image+cue to separate wav tracks? (just be sure to  disable option "Enable decoding postpsocessing" and do not use any DSP in section "Processing" of converter's settings)

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #2
Yes, the absolute latest DTS encoder was installed yesterday and successfully to version 0.6.8
Rollin..you are a life saver, the next suggestion worked Great.
For others that may experience this issue I just wish to add details
1)load the original CUE file in Foobar
2)select all tracks so they are highlighted
3)right click choose Convert, then choose the 3 dots (elipsis)
4) on the pop up Output format should be FLAC, level 0,
Processing should be set to NONE, click Processing hyperlink as well and as Rollin pointed out, Deselect "enable decode..." and be sure there are no active DSP's are listed, the lower check box should be unchecked. The file conversion should take place. Reload the individual songs and issue Solved

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #3
on the pop up Output format should be FLAC, level 0
Notice that FLAC doesn't compress DTSWAV well. Size of resulting FLAC can be even larger than source DTSWAV' size.

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #4
yes I did notice this. the bit rate went from 1411kpbs to 1258kbps (slight improvement). Kind of the same principle when a RAR or ZIP is created with JPGs, an implosion can occur.

I've been using the formula you provided and its worked flawlessly on approx 25 large WAV's except on one large WAV which had ten tracks.  of 10 tracks only the first track plays with the static sound unless I back queue the track.  I also found a different CUE file online to match the catalog number of the recording, and still same result Foobar plays the intro with the static sound. I loaded the CUE separately and also embedded the CUE, first track. (file bit rate and type did not change with CUE Splitter). I verified the other 9 tracks show as 6 channel in Foobar 1.46

Thanks for your kind assistance Rollin'.

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #5
interesting, this same occurrence whereby only the first track plays with static, just happened again on a DTS encoded large WAV.  Remaining tracks 2 - 10 converted fine.

Is there a buffer or spin up up type option that may help to shave off the track 1 static ?

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #6
There must be two consecutive DTS packets within the first 10 seconds of the audio, or else the stream decoder will give up and let it be decoded as plain PCM.

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #7
yes I did notice this. the bit rate went from 1411kpbs to 1258kbps (slight improvement).
DTS in WAV have the two MSBs zero, don't they?
1411*14/16 is a little below 1258.
High Voltage socket-nose-avatar

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #8
yes I did notice this. the bit rate went from 1411kpbs to 1258kbps (slight improvement).
DTS in WAV have the two MSBs zero, don't they?
1411*14/16 is a little below 1258.

this drop in KBPS happened when I had completed the file conversion as Rollin had suggested. I had converted from 1 large WAV [DTS] to FLAC .  All plays fine except the first few seconds of the first track which never resolves unless I move the slider backward to about 4 seconds just after the intro while in play mode, then all plays normal.

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #9
There must be two consecutive DTS packets within the first 10 seconds of the audio, or else the stream decoder will give up and let it be decoded as plain PCM.
thanks good point. it appears the 1st track should be tossed then unless there's a superficial way to add a DTS packet or a potential work around

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #10
There is another potential workaround, it involves letting the DTS postprocessing decoder absorb a lot more before it gives up. Of course, just know that it's doing this to every single FLAC file it sees with 44100/16/Stereo configuration, converting it back to integer from float, and attempting to perform basic DTS decoding on it, advancing byte by byte through the data. This isn't terribly heavy, since it's mostly only scanning for the sync field and headers, in at least four different encodings. (14 bit, 16 bit, little/big endian)

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #11
There is another potential workaround, it involves letting the DTS postprocessing decoder absorb a lot more before it gives up. Of course, just know that it's doing this to every single FLAC file it sees with 44100/16/Stereo configuration, converting it back to integer from float, and attempting to perform basic DTS decoding on it, advancing byte by byte through the data. This isn't terribly heavy, since it's mostly only scanning for the sync field and headers, in at least four different encodings. (14 bit, 16 bit, little/big endian)

Kode54 - I'm intrigued.  Might you be kind enough to offer where I can acquire the details to perform your suggestion? In addition, once this processing is set up, perhaps then I can run the Foobar Convert to create a new DTS WAV or a DTS FLAC, then disable the tip you've provided.

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #12
It's something I need to change in my plugin, not something you need to do. Well, other than maybe:

1) Remove foo_input_dts.
2) Open the converter on the first track.
3) Add a Skip Silence DSP to skip the startup silence.
4) Configure Skip Silence DSP to only skip a minimum of 2 seconds of silence or so, so it doesn't delete the padding between DTS packets.
5) Convert this to a separate FLAC track for later use.


Or I could make it scan for 30 seconds of data first, which will just use slightly more memory, and maybe cause some lossless tracks to take a moment (unlikely to be noticed) to open.

Re: WAV (DTS) Cue sheet anomoly 2nd track >> forward

Reply #13
It's something I need to change in my plugin, not something you need to do. Well, other than maybe:

1) Remove foo_input_dts.
2) Open the converter on the first track.
3) Add a Skip Silence DSP to skip the startup silence.
4) Configure Skip Silence DSP to only skip a minimum of 2 seconds of silence or so, so it doesn't delete the padding between DTS packets.
5) Convert this to a separate FLAC track for later use.


Or I could make it scan for 30 seconds of data first, which will just use slightly more memory, and maybe cause some lossless tracks to take a moment (unlikely to be noticed) to open.

If you believe this may help others, I can wait for the update. No hurry. And if it helps you, I can upload 2 files to a Cloud location for your testing and IM the link.

 
SimplePortal 1.0.0 RC1 © 2008-2019