Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#201 | Link |
Registered User
Join Date: Aug 2007
Posts: 19
|
I think I've tracked down the source of the 0:00 track length problem in WMP11.
For some reason, WMP reports the FLAC bitrate as 0 kbps. I guess WMP11 calculates the track length by dividing the file size by the bitrate, leading to a 0 (or infinite!) track length. The reason other programs display the track length correctly is probably because they use the track length reported by the filter, instead of calculating it on the fly. Looking at the MadFlac filter properties in GraphEdit, the filter reports the track length correctly, but it doesn't report the bitrate. Could this be the problem? Chris Last edited by cbemoore; 2nd April 2008 at 02:30. |
![]() |
![]() |
![]() |
#203 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
![]() |
![]() |
![]() |
#204 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
![]() |
![]() |
![]() |
#206 | Link | |
Registered User
Join Date: Apr 2007
Posts: 60
|
Quote:
The other thing I wanted to ask, was that some tracks that I extract with DVD-Audio Explorer, decode and then re-encode into flac with a number of methods (DVD-Audio Explorer invoking flac.exe, or eac3to converting mlp to flac, or decoding mlp to wav then encoding into flac with dBpoweramp)...do not seem to work properly with madflac, but they do in the latest foobar which uses the latest libflac. In MPC: - 2.0ch 24-bit 192kHz track (tried Alan Parson's HDADs, Chicago V) - appears to play through track but silently! - 4.0ch 24-bit 96kHz track (e.g. Janis Joplin - Pearl bootleg) - crashes MPC upon open. - 4.1ch 24-bit 96kHz track (e.g. DSOTM bootleg) - crashes MPC upon open. - 5.0ch 24-bit 96kHz track (e.g. Frank Zappa - Quaudiophiliac) - crashes MPC upon open. Tracks of all other common resolution combinations I've tried work fine. To make sure it's nothing at all to do with DVDAExplorer, I made my own 192kHz 24-bit stereo files, as well as 4.0-5.0, and the flac encoded from those had exactly the same results. Last edited by frenchglen; 3rd April 2008 at 16:38. |
|
![]() |
![]() |
![]() |
#207 | Link |
*****
Join Date: Feb 2005
Posts: 5,717
|
If you reencode DTS to FLAC then it becomes FLAC and it has nothing to do with DTS anymore. If you decode FLAC you'll get uncompressed PCM audio.
__________________
MPC-HC 2.4.2 |
![]() |
![]() |
![]() |
#208 | Link | |
Registered User
Join Date: Apr 2007
Posts: 60
|
Quote:
These files give noise in foobar, so they're definitely DTS-encoded files, encoded "again" in flac. |
|
![]() |
![]() |
![]() |
#209 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
![]() |
![]() |
![]() |
#210 | Link |
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
I think DTS-WAV is a DTS file with a WAV header on it, same as DD WAV. Can't confirm though.
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
![]() |
![]() |
![]() |
#211 | Link |
*****
Join Date: Feb 2005
Posts: 5,717
|
From what I found with google, that seems about right. Compatible decoders will automatically recognize that its actually DTS instead of plain WAV. Incompatible decoders will decode it as regular WAV audio and that results in static.
__________________
MPC-HC 2.4.2 |
![]() |
![]() |
![]() |
#214 | Link |
Author of ImgBurn
![]() Join Date: Oct 2001
Location: United Kingdom
Posts: 1,973
|
madshi,
I've been playing around with your filter today figuring out why it didn't work with ImgBurn and I found that it's because I use WAVE_FORMAT_PCM for the wFormatTag and not WAVE_FORMAT_EXTENSIBLE. I guess that's just something missing from your implementation? The second thing I noticed is that if I rip a cd track to a wav, encode with flac.exe and then decode it with flac.exe again, the files are identical. The same cannot be said if I use your filter to do the decoding. (I'm ignoring the wave header, don't worry!) The bulk of the file matches perfectly but the 'silence' at the start/end isn't always faithfully reproduced - it falls a little short. The problem for me is that this then causes problems for 'INDEX 0' markers within a CUE file. Is there any chance you could look into it? I've attached a picture of showing the comparison (in hex workshop) between the source and encoded/decoded files. The 2nd line in the comparison shows 1 byte difference in the files. It was a random 0x02 in the madFlac decoded file amongst a load of digital silence. The real issue here is the missing 0x4001 bytes of digital silence shown in line 4.
__________________
The Official ImgBurn Website |
![]() |
![]() |
![]() |
#215 | Link | |||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
![]() Quote:
I won't have time to check this out until Sunday, though. |
|||
![]() |
![]() |
![]() |
#216 | Link | ||
Author of ImgBurn
![]() Join Date: Oct 2001
Location: United Kingdom
Posts: 1,973
|
Quote:
![]() If connecting the source to the samplegrabber fails when I've set the media type using WAVE_FORMAT_PCM, I then try again having set it to WAVE_FORMAT_EXTENSIBLE. I haven't yet decided if I should try WAVE_FORMAT_EXTENSIBLE first and then fall back to WAVE_FORMAT_PCM... hmm decisions decisions! Quote:
![]() The all sound fine, they're just not bit for bit perfect copies of the original wav files. For most of them it's just a case of missing digital silence but some have some 0xFF and 0x00 sequences that don't match (I won't pretend to know what I'm talking about here! lol). For research purposes, I also tried the illiminable filters. Out of the 14 tracks I decoded, only 2 matched the originals. The DC-Bass Source v1.11 filters are currently the only ones I've found that output perfectly matching data. If you want/need more info, please let me know.
__________________
The Official ImgBurn Website Last edited by LIGHTNING UK!; 10th April 2008 at 18:48. |
||
![]() |
![]() |
![]() |
#218 | Link | ||||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
![]() Quote:
Quote:
Quote:
![]() |
||||||
![]() |
![]() |
![]() |
#219 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
madFlac v1.8 released
http://madshi.net/madFlac.rar Code:
* added support for WAVE_FORMAT_PCM * changed standalone file decoding a bit to (hopefully) improve bit for bit correctness * fixed handling of multiple FLAC tracks with different parameters in a container |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|