Discussion:
[Dvd-audio-devel] flac/96KHz/24bit: noisy audio when sample count is an odd number
Marc Roßkopf
2010-06-22 04:17:24 UTC
Permalink
Hi,
I just burned some DVD-Audios with a purchased album of 14 flac files
from www.HDTracks.com. The audio type is ***@24bit.

I decided to do a plain DVD-Audio with no video or anything so I used
the plain method as described in the How-To:

dvda-author -o DVD -g *.flac -X '/data/audio-dvd/'
mkisofs -o image.iso -sort sort.txt -udf DVD

I tried the following versions of dvda-author:
- V09.09 on ubuntu 9.10
- V09.09 on Windows XP
- V10.06 on ubuntu 10.04

Everything works great until I listen to the music:
When I play the DVD-Audios in a standalone Player (OPPO DV-983H) some
tracks play fine (Tracks 1, 3, 5, 6, 7, 8, 9, 10, 11 and 12), but some
other tracks have white noise added to the audio signal (Tracks 2, 4, 13
and 14). The original audio still can be heard in the background, but
the noise is in the foreground.

In an old post I notice that a few years ago there was a problem with
odd number of samples in 24 bit files, but according to the man page
this is fixed by padding audio files to an even number of samples.

These are my files (output of "metaflac *.flac --show-total-samples")

1-Im Tired Of Crying Over You.flac:21615603
2-Blue Bird.flac:27564591 /////////// PLAYS WITH NOISE
3-Walkin By Myself.flac:14519361
4-Rock Me.flac:25270791 /////////// PLAYS WITH NOISE
5-I Lost A Good Woman.flac:24804332
6-Howlin For My Darling.flac:24425306
7-Why Are You So Mean To Me.flac:31571460
8-Blues Falling.flac:13767516
9-Lemon Squeezer.flac:22861448
10-That Aint It Baby I Need Yo.flac:12410346
11-Smokestack Lighting.flac:25536228
12-Blue And Lonesome.flac:23899235
13-Big Boss Man.flac:17748834 /////////// PLAYS WITH NOISE
14-Jam Session a Jammin With J.flac:24183651 /////////// PLAYS WITH NOISE

It looks like this problem is related to transitions from a track with
an odd sample count to some other track (although track 14 is different,
so I am unsure about the root problem).
If I add one sample (zero) to the end of the "odd" flac files by using
sox (sox in.flac out.flac pad ***@XXXs) I get a DVD-Audio that my Player
runs fine without any noise.
But again, this is only when all flac files have been padded to have an
even number of samples *prior* to using dvda-author.

If this is indeed a bug in dvda-author then can you file this as a bug
report ? If I am missing something I would appreciate any hint.

BTW: I think this is a great piece of software ! Thanks for taking the
time and effort to write this :-)

Best regards,
Marc
Marc Roßkopf
2010-06-22 04:18:40 UTC
Permalink
Hi,
I just burned some DVD-Audios with a purchased album of 14 flac files
from www.HDTracks.com. The audio type is ***@24bit.

I decided to do a plain DVD-Audio with no video or anything so I used
the plain method as described in the How-To:

dvda-author -o DVD -g *.flac -X '/data/audio-dvd/'
mkisofs -o image.iso -sort sort.txt -udf DVD

I tried the following versions of dvda-author:
- V09.09 on ubuntu 9.10
- V09.09 on Windows XP
- V10.06 on ubuntu 10.04

Everything works great until I listen to the music:
When I play the DVD-Audios in a standalone Player (OPPO DV-983H) some
tracks play fine (Tracks 1, 3, 5, 6, 7, 8, 9, 10, 11 and 12), but some
other tracks have white noise added to the audio signal (Tracks 2, 4, 13
and 14). The original audio still can be heard in the background, but
the noise is in the foreground.

In an old post I notice that a few years ago there was a problem with
odd number of samples in 24 bit files, but according to the man page
this is fixed by padding audio files to an even number of samples.

These are my files (output of "metaflac *.flac --show-total-samples")

1-Im Tired Of Crying Over You.flac:21615603
2-Blue Bird.flac:27564591 /////////// PLAYS WITH NOISE
3-Walkin By Myself.flac:14519361
4-Rock Me.flac:25270791 /////////// PLAYS WITH NOISE
5-I Lost A Good Woman.flac:24804332
6-Howlin For My Darling.flac:24425306
7-Why Are You So Mean To Me.flac:31571460
8-Blues Falling.flac:13767516
9-Lemon Squeezer.flac:22861448
10-That Aint It Baby I Need Yo.flac:12410346
11-Smokestack Lighting.flac:25536228
12-Blue And Lonesome.flac:23899235
13-Big Boss Man.flac:17748834 /////////// PLAYS WITH NOISE
14-Jam Session a Jammin With J.flac:24183651 /////////// PLAYS WITH NOISE

It looks like this problem is related to transitions from a track with
an odd sample count to some other track (although track 14 is different,
so I am unsure about the root problem).
If I add one sample (zero) to the end of the "odd" flac files by using
sox (sox in.flac out.flac pad ***@XXXs) I get a DVD-Audio that my Player
runs fine without any noise.
But again, this is only when all flac files have been padded to have an
even number of samples *prior* to using dvda-author.

If this is indeed a bug in dvda-author then can you file this as a bug
report ? If I am missing something I would appreciate any hint.

BTW: I think this is a great piece of software ! Thanks for taking the
time and effort to write this :-)

Best regards,
Marc
f***@aol.com
2010-06-22 08:15:07 UTC
Permalink
Interesting.

I'm currently reworking the app to fix the issues that have been reported and improve/stabilize menu authoring, quite an effort that will soon be fruitful I hope.
This padding issue may have been underestimated, so I forward your msg to Lee hoping he'll have any idea.
It should be easy to fix in any event.
Best,
Fab



PS: if you're in for tests, you may try adding one of the following switches to your command line with version >= 09.05:

--lossy-rounding

or with version >= 09.09

--minimal-padding --pad-count



================



Hi,

I just burned some DVD-Audios with a purchased album of 14 flac files

from www.HDTracks.com. The audio type is ***@24bit.



I decided to do a plain DVD-Audio with no video or anything so I used

the plain method as described in the How-To:



dvda-author -o DVD -g *.flac -X '/data/audio-dvd/'

mkisofs -o image.iso -sort sort.txt -udf DVD



I tried the following versions of dvda-author:

- V09.09 on ubuntu 9.10

- V09.09 on Windows XP

- V10.06 on ubuntu 10.04



Everything works great until I listen to the music:

When I play the DVD-Audios in a standalone Player (OPPO DV-983H) some

tracks play fine (Tracks 1, 3, 5, 6, 7, 8, 9, 10, 11 and 12), but some

other tracks have white noise added to the audio signal (Tracks 2, 4, 13

and 14). The original audio still can be heard in the background, but

the noise is in the foreground.



In an old post I notice that a few years ago there was a problem with

odd number of samples in 24 bit files, but according to the man page

this is fixed by padding audio files to an even number of samples.



These are my files (output of "metaflac *.flac --show-total-samples")



1-Im Tired Of Crying Over You.flac:21615603

2-Blue Bird.flac:27564591 /////////// PLAYS WITH NOISE

3-Walkin By Myself.flac:14519361

4-Rock Me.flac:25270791 /////////// PLAYS WITH NOISE

5-I Lost A Good Woman.flac:24804332

6-Howlin For My Darling.flac:24425306

7-Why Are You So Mean To Me.flac:31571460

8-Blues Falling.flac:13767516

9-Lemon Squeezer.flac:22861448

10-That Aint It Baby I Need Yo.flac:12410346

11-Smokestack Lighting.flac:25536228

12-Blue And Lonesome.flac:23899235

13-Big Boss Man.flac:17748834 /////////// PLAYS WITH NOISE

14-Jam Session a Jammin With J.flac:24183651 /////////// PLAYS WITH NOISE



It looks like this problem is related to transitions from a track with

an odd sample count to some other track (although track 14 is different,

so I am unsure about the root problem).

If I add one sample (zero) to the end of the "odd" flac files by using

sox (sox in.flac out.flac pad ***@XXXs) I get a DVD-Audio that my Player

runs fine without any noise.

But again, this is only when all flac files have been padded to have an

even number of samples *prior* to using dvda-author.



If this is indeed a bug in dvda-author then can you file this as a bug

report ? If I am missing something I would appreciate any hint.



BTW: I think this is a great piece of software ! Thanks for taking the

time and effort to write this :-)



Best regards,

Marc









------------------------------------------------------------------------------

ThinkGeek and WIRED's GeekDad team up for the Ultimate

GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the

lucky parental unit. See the prize list and enter to win:

http://p.sf.net/sfu/thinkgeek-promo

_______________________________________________

dvd-audio-devel mailing list

dvd-audio-***@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dvd-audio-devel
Don
2011-12-15 18:14:29 UTC
Permalink
Post by f***@aol.com
Interesting.
I'm currently reworking the app to fix the issues that have been reported and
improve/stabilize menu authoring, quite an effort that will soon be fruitful I
hope.
Post by f***@aol.com
This padding issue may have been underestimated, so I forward your msg to Lee
hoping he'll have any idea.
Post by f***@aol.com
It should be easy to fix in any event.
Best,
Fab
Version 8.09 works perfectly on Windows and Ubuntu, the white noise problem
happens in the later versions of dvda-author.

Loading...