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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 28th December 2009, 18:42   #11021  |  Link
flanger216
Registered User
 
Join Date: Mar 2004
Posts: 140
Quote:
Originally Posted by madshi View Post
That depends very much on how exactly the decimation is done and how much further processing will be done by the receiver/processor. If you use rounding or truncating then sound quality will be affected. If you use TPDF dithering, sound quality should stay identical, but noise levels will increase slightly. The idea of transporting more than 16bit to the receiver is that the receiver will probably add some more audio processing (room correction etc). If you do audio processing in the source *and* in the receiver, transporting more than 16bit makes sense, because otherwise you're adding multiple 16bit dithering layers on top of each other. At some point, the noise increase will be in the audible range. If you chain multiple noise shaped dithering passes, it's even worse: Audio quality will suffer in that case.
Well, obviously I meant a dithered scenario; bit-depth truncation is rather disastrous. And sure, >16-bit is important in DAW environments where per-track additive noise-floors become a concern: in fact, on some epic mixdowns I've seen, even 64fp was ideal (!). But that was with hundreds upon hundreds of tracks, busses and effects being flattened to a 5.1 mix. For the consumer arena, I'd still like to see some hard, journaled data on the psychoacoustical efficacy of 24-bits in an HTPC environment compared to 16, even with a noise-shaped dither at the sound card and the receiver.

And to Tetsuo: sure, all E/AC3 variants and most lossy codecs (DTS, Vorbis, etc.) should be decoded to 32fp. PCM output bit-depth is a separate issue.

But really, I wasn't saying that you shouldn't use 24-bit output. If you can, then heck, why not. I was just advising the guy that, although he can't get 24-bits to work ATM, it's really not something to worry too much about. And I'd say that for anyone having similar problems. Apologies for my further OT blathering

Last edited by flanger216; 28th December 2009 at 18:48.
flanger216 is offline  
Old 28th December 2009, 19:14   #11022  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by flanger216 View Post
For the consumer arena, I'd still like to see some hard, journaled data on the psychoacoustical efficacy of 24-bits in an HTPC environment compared to 16, even with a noise-shaped dither at the sound card and the receiver.
A while ago I tried to google what happens if multiple noise shaped dithers are applied after each other and I found only two links even talking about that. Both said that it would be bad for audio quality. One link is wikipedia, and although I know that there's much garbage information on wikipedia, I haven't found any contradicting information on the net, so here goes:

http://en.wikipedia.org/wiki/Dither

"If colored dither is used at these intermediate processing stages then the frequency content can "bleed" into other, more noticeable frequency ranges and become distractingly audible."

It's worth noting that some studios are using colored dither for 16bit lossless tracks (I checked that myself). So if 16bit lossless Blu-Ray tracks are processed by the source device *and* by the receiver, and the transport is done in 16bit, there may be 3 colored dithers added on top of each other.

Quote:
Originally Posted by flanger216 View Post
But really, I wasn't saying that you shouldn't use 24-bit output. If you can, then heck, why not.
Sure, I did understand your point of view...

Quote:
Originally Posted by flanger216 View Post
I was just advising the guy that, although he can't get 24-bits to work ATM, it's really not something to worry too much about. And I'd say that for anyone having similar problems.
Well, I think you are a bit too hasty here. E.g. ffmpeg/libav for a long time rounded audio to 16bit. Not sure if they fixed that in the meanwhile. How do we know that PowerDVD etc are applying proper dithering? I'm not even sure if ffdshow applies dithering when downconverting 24bit to 16bit, but maybe it does. Anybody knows?

Generally, I guess my point of view is that studio provided 16bit Blu-Ray tracks are ok, but I prefer 24bit transport, because that should reduce chances of audio ever being truncated or rounded down to 16bit somewhere in the chain...

Last edited by madshi; 28th December 2009 at 19:17.
madshi is offline  
Old 28th December 2009, 19:32   #11023  |  Link
krbo
Registered User
 
Join Date: Nov 2003
Posts: 63
Quote:
Originally Posted by Andy o View Post
So, 20 thousand seconds jitter?

Anyway, have you tried messing with renderer settings (for instance, change to 8-bit) or using other renderers (regular EVR, VMR9)?

DXVA is also coming to ffdshow, by the way, so there will be another option for you soon.
VMR9 is OK (although it switches DXVA off), regular EVR on quick look is better but as I depend on subtitles it's no option.

Even EVR custom is much better without loaded subs. Subs are heavy burden for MPC.

With M$ decoder I can even use bicubic resizer (but not for 4:3 stretched to 16:9) and MPC HC works great
despite small problem with internal decoder @Win7
krbo is offline  
Old 28th December 2009, 19:33   #11024  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
dithering is nice, but it adds white noise...and post-processing white noise ain't cool...native 16 bit can be great, but going 24>16 w/ dithering in eac3to sounds ugly to me...apparently each bit decimation adds twice more white noise.
Quote:
Originally Posted by madshi View Post
ffmpeg/libav for a long time rounded audio to 16bit. Not sure if they fixed that in the meanwhile.
I don't think they did...decoding lossy audio to anything else than 32fp doesn't make much sense(liba52 and libdts do decode to 32fp)

Last edited by leeperry; 28th December 2009 at 20:41.
leeperry is offline  
Old 29th December 2009, 04:57   #11025  |  Link
mikelebron
Registered User
 
Join Date: Nov 2008
Location: NY
Posts: 104
How do I get VC1 to play back smoothly with high quality (no noise)... If I enable frame time correction the quality has a ton of "noise" (all i can say..) Any help appreciated.
mikelebron is offline  
Old 29th December 2009, 07:11   #11026  |  Link
73ChargerFan
Registered User
 
73ChargerFan's Avatar
 
Join Date: Dec 2006
Posts: 523
We need more info about your system to help. Also what kind of video?
73ChargerFan is offline  
Old 29th December 2009, 09:46   #11027  |  Link
thrawnrulz68
Registered User
 
Join Date: Mar 2008
Posts: 59
Does anyone know of a way to get MPC-HC to read .m3u8 playlists? The player already can read and write playlists in UTF-8 but when I attempt to open a .m3u8 file created in winamp it will not open. I was under the impression the encoding was the only thing different about these types of files in comparison to regular .m3u files but perhaps there is something in the header that MPC-HC is missing?
thrawnrulz68 is offline  
Old 29th December 2009, 10:36   #11028  |  Link
khagaroth
Registered User
 
khagaroth's Avatar
 
Join Date: Feb 2006
Posts: 103
Seem like MPC can't handle the .m3u8 extension (even if it's the correct extension in this case), just rename the file to .m3u and it will work.
khagaroth is offline  
Old 29th December 2009, 14:23   #11029  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,647
If renaming works, then you could add .m3u8 to the playlists entry in options->player->formats
__________________
MPC-HC 2.2.1
clsid is offline  
Old 29th December 2009, 15:28   #11030  |  Link
betaking
Fantasy Codecs writer
 
betaking's Avatar
 
Join Date: Nov 2007
Location: Yang Zhou,Jiang Su,China
Posts: 392
Quote:
Originally Posted by clsid View Post
If renaming works, then you could add .m3u8 to the playlists entry in options->player->formats
add .m3u8 to the playlists entry in options->player->formats not work!
betaking is offline  
Old 29th December 2009, 16:31   #11031  |  Link
flanger216
Registered User
 
Join Date: Mar 2004
Posts: 140
Quote:
Originally Posted by madshi View Post
Well, I think you are a bit too hasty here. E.g. ffmpeg/libav for a long time rounded audio to 16bit. Not sure if they fixed that in the meanwhile. How do we know that PowerDVD etc are applying proper dithering? I'm not even sure if ffdshow applies dithering when downconverting 24bit to 16bit, but maybe it does. Anybody knows?
I can't speak for PowerDVD (shudder), but ffdshow at least has a 'sound processing' tab that lets you enable dithering, noise-shaping and set noise-shaping strength. From my testing, it seems to work as expected, though unfortunately it's turned off by default (?), so some users might overlook it.
flanger216 is offline  
Old 29th December 2009, 16:47   #11032  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by flanger216 View Post
I can't speak for PowerDVD (shudder), but ffdshow at least has a 'sound processing' tab that lets you enable dithering, noise-shaping and set noise-shaping strength. From my testing, it seems to work as expected, though unfortunately it's turned off by default (?), so some users might overlook it.
Glad to hear that ffdshow has dithering support. But now imagine what happens if you don't use kernel streaming or WASAPI exclusive mode: ffdshow applies dithering, and afterwards the OS and the audio drivers reprocess the data another time before sending it to the receiver. Not sure if the OS and audio drivers use dithering or not. Again, I think the safest solution is to keep the audio data in 24bit. To me using 16bit audio transport feels dangerous. 24bit has a nice safety net. 16bit has not. With 16bit everything needs to be done correctly to keep full audio quality. If one processing stage drops the ball, you're screwed. Even if all processing stages are correct, audio quality could eventually still suffer, if noise shaped dithering is applied multiple times. With 24bit it doesn't matter as much if there are multiple processing stages with (or even without) dithering at the end of each stage...
madshi is offline  
Old 29th December 2009, 16:53   #11033  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by flanger216 View Post
ffdshow at least has a 'sound processing' tab that lets you enable dithering, noise-shaping and set noise-shaping strength. From my testing, it seems to work as expected
what "testing" procedure if I may ask? I've tried really really hard on many occasions, but I've never been able to hear any difference whatsoever...and there's no infos about what algorithms are used either.
leeperry is offline  
Old 29th December 2009, 17:19   #11034  |  Link
Andy o
Registered User
 
Join Date: Mar 2009
Posts: 962
Quote:
Originally Posted by madshi View Post
Glad to hear that ffdshow has dithering support. But now imagine what happens if you don't use kernel streaming or WASAPI exclusive mode: ffdshow applies dithering, and afterwards the OS and the audio drivers reprocess the data another time before sending it to the receiver. Not sure if the OS and audio drivers use dithering or not. Again, I think the safest solution is to keep the audio data in 24bit. To me using 16bit audio transport feels dangerous. 24bit has a nice safety net. 16bit has not. With 16bit everything needs to be done correctly to keep full audio quality. If one processing stage drops the ball, you're screwed. Even if all processing stages are correct, audio quality could eventually still suffer, if noise shaped dithering is applied multiple times. With 24bit it doesn't matter as much if there are multiple processing stages with (or even without) dithering at the end of each stage...
The Windows 7/Vista mixer works at 32 float, then you can output at 24-bit as set on the device properties. I don't think dithering will be applied more than once.
Andy o is offline  
Old 29th December 2009, 17:22   #11035  |  Link
tetsuo55
MPC-HC Project Manager
 
Join Date: Mar 2007
Posts: 2,317
Quote:
Originally Posted by Andy o View Post
The Windows 7/Vista mixer works at 32 float, then you can output at 24-bit as set on the device properties. I don't think dithering will be applied more than once.
if windows7 works at 32bit float, its best to ouput the same thing straight from the decoder, in this case we have full control over the dithering used (if any)
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC
tetsuo55 is offline  
Old 29th December 2009, 18:08   #11036  |  Link
nlnl
Registered User
 
Join Date: Aug 2008
Posts: 176
Quote:
Originally Posted by nlnl View Post
albain
Nvidia 9400 Hdmi+ Vista + MPC Audio Renderer (new)

Can not play 24/48 5.1 Flac audio stream in mkv, but can play 16/48 5.1.
Foobar can play 24/48 in WASAPI mode, so Nvidia Hdmi driver does accept 24 bits? Or Foo converts 24/48 --> 32/48?
Tested Nvidia 9400 Hdmi+ Vista + Foobar + ASIO (asio4all driver).
No problem for 24/48 5.1.

Will MPC-HC audio renderer sometime support ASIO protocol output?
nlnl is offline  
Old 29th December 2009, 18:16   #11037  |  Link
mikelebron
Registered User
 
Join Date: Nov 2008
Location: NY
Posts: 104
I have tested the issue on two systems:

Software Setup
Windows 7 64 bit
32 bit ffdshow 3171
32 bit MPC-HC 1453
32 bit Gabest Splitter for all codecs applicable (no Haali)
AnyDVD (latest)
EVR Custom
Playing Bluray Movies right from disc -
Public Enemy
Superman


System 1
Core i5 - 4GB RAM
ATI 4870 x2
HDMI to Samsung 52" LCD

System 2
Core 2 Quad Q9400 - 4 GB RAM
Geforce 275]
DVI to 24" monitor

Without "Enable Frame Time Correction" it stutters and I see there is significant frame loss. With enabled plays smoothly but I see significant pixelation but is random. Depends on the scene and its not the whole image just certain parts - almost as if the bit depth of the color has decreased... I am using the default Windows codec but have tried FFDSHOW built in and WM9 codecs.. same results...

any ideas?



Quote:
Originally Posted by mikelebron View Post
How do I get VC1 to play back smoothly with high quality (no noise)... If I enable frame time correction the quality has a ton of "noise" (all i can say..) Any help appreciated.
mikelebron is offline  
Old 29th December 2009, 20:36   #11038  |  Link
thrawnrulz68
Registered User
 
Join Date: Mar 2008
Posts: 59
Strangely enough, renaming the .m3u8 playlist to .m3u works for me but, similar to betaking, leaving the extension alone and just adding it to the list in options>formats does not work. BTW, I downloaded a video file the other day that was .asx but was not a stream, it was a full video file stored locally. When I used MPC-HC to open the file, it crashed. However, when I renamed the file to .asf, it worked perfectly. Whether or not "use WM ASF reader" was checked made no difference. It seems the player is either looking for something in these playlist/streaming files (.asx, .pls, .m3u, .m3u8, etc.) that its not finding or it is failing to do something correctly.
thrawnrulz68 is offline  
Old 29th December 2009, 20:47   #11039  |  Link
73ChargerFan
Registered User
 
73ChargerFan's Avatar
 
Join Date: Dec 2006
Posts: 523
mikelebron,

Are you are using ffdshow to decode h264/vc1, I don't think we can help with ffdshow.

Try the default mpc-hc setup - enable internal filters, and output "EVR Custom Pres.", Bilinear PS2.0, EVR Buffers 5, and enable "Reinitialize when display changing." Remove ffdshow from external filters, if present.

Also, nVidia & ATI drivers behave differently, so the same settings may not work on both, and may exhibit different behavior / bugs.
73ChargerFan is offline  
Old 29th December 2009, 20:50   #11040  |  Link
73ChargerFan
Registered User
 
73ChargerFan's Avatar
 
Join Date: Dec 2006
Posts: 523
Quote:
Originally Posted by thrawnrulz68 View Post
It seems the player is either looking for something in these playlist/streaming files (.asx, .pls, .m3u, .m3u8, etc.) that its not finding or it is failing to do something correctly.
The player can identify some files by content alone, even with a bad extension. Rename any .mkv file to "1.001" and it will still play.
73ChargerFan is offline  
Closed Thread

Tags
dxva, h264, home cinema, media player classic, mpc-hc


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.