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. |
17th May 2011, 19:34 | #3181 | Link |
Registered User
Join Date: Aug 2010
Posts: 576
|
question, perhaps slightly off topic since it's likely an arcsoft issue, but do you guys notice that with the arcsoft dll, for anything outside of 6 channels, it can intelligently choose the sample format, but for 6 channels, it always uses 24 bit pcm?
is there a a technical explanation for that? |
17th May 2011, 20:04 | #3182 | Link |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
Nev, with some more general use of 0.26 I find that in general the new AV sync option for AC3 bitstreaming causes sync issues. I think DTS is ok, but haven't done much checking on that one.
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) |
17th May 2011, 20:12 | #3183 | Link | |
Registered User
Join Date: May 2004
Posts: 5,351
|
Quote:
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED |
|
17th May 2011, 20:14 | #3184 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Quote:
If so, then its all in your mind, AC3 is perfectly packed into all containers, the sync option will not affect it at all, unless there is an actual sync problem. I have not seen a single AC3 file that had any jitter whatsoever, so there is no chance the sync option gets confused (unless you have a special file again). The only possibility would be that my duration calculations for AC3 bitstreaming are wrong, but that would show no matter if the sync option is on or not (same problem DTS suffered from on your special file, but maybe not so severe) AC3 is really one of the easiest formats to get right, especially because everyone knows how to mux it perfectly, so i don't see any margin for error there. I should really figure out a way for you to produce debug logs. Every action the AV sync option takes is output there, if it does anything at all.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 17th May 2011 at 20:20. |
|
17th May 2011, 20:18 | #3185 | Link | |
Registered User
Join Date: Mar 2009
Posts: 962
|
Quote:
My main reason not to use it is the channel switching, but that's more of a problem when you're running 7.1 channels. If I was using just 5.1 I'd probably be happy with DirectSound. Last edited by Andy o; 17th May 2011 at 20:21. |
|
17th May 2011, 20:22 | #3186 | Link | |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
Quote:
Edit: I have VS installed, so just let me know on what debugging or whatever you need me to do
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) Last edited by VipZ; 17th May 2011 at 20:30. |
|
17th May 2011, 20:26 | #3187 | Link | |
Registered User
Join Date: Mar 2009
Posts: 962
|
Quote:
|
|
17th May 2011, 20:29 | #3188 | Link | |
Registered User
Join Date: May 2004
Posts: 5,351
|
Quote:
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED |
|
17th May 2011, 20:29 | #3189 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Quote:
The A/V sync option is not constantly adjusting things, its just monitoring, and keeping track of things. If it sees a drift in timestamps, it'll adjust. But it really has to go bad for that to happen. Maybe i should've named it differently, so peoples minds dont directly associate it with any sync issues they think to see. Its a funny thing, really. To a certain degree, if you think there are issues, you'll see issues. Does it happen for all AC3 files? You're compiling now, right? You can launch MPC-HC from within Visual Studio, and get me a debug log. - Set workspace profile to debug - Set LAV Audio as startup project (right click on it in the solution explorer) - Open LAV Audio project properties, in the Debugging tab (under Configuration Properties), set the MPC-HC executable as "Command" Remember to register the output file with regsvr32 first, don't move it, it has to stay in the output folder (bin_Win32d) Launch, open file, watch the Output box. All the thread infos and dll loading messages you can ignore, but during playback LAV Audio will say something like "Jitter Stats: min: 0 - max: 0 - avg: 0", 0's everwhere are perfect. If the A/V sync option does somethign, it'll say "::Deliver(): corrected A/V sync by <number>" Look for those.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 17th May 2011 at 20:36. |
|
17th May 2011, 20:44 | #3190 | Link |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
Ok I will do that and let you know.
With the sync at 1st its always ok, but at some stage it does seem to change, its not a drifting sync. I will watch something with it on and keep my eye on the debugging to see if the event you mentioned shows.
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) |
17th May 2011, 20:45 | #3191 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
I'll try to get soem debug file logging going.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
17th May 2011, 21:05 | #3192 | Link |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
Here is the debug log http://www.mediafire.com/?y96sec6k4p9pbgw
There weren't any AV sync messaged you asked to look out for, maybe that log will prove it my mind playing tricks on me or there is a possible issue Surprised I got it going without much effort
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) |
17th May 2011, 21:26 | #3193 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Yeah that looks perfect, jitter is constantly 0, no A/V sync messages. No other warnings or errors.
The A/V sync option has no influence whatsoever in that log, and from what i can see, sync should just be perfect.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 17th May 2011 at 21:30. |
17th May 2011, 21:30 | #3194 | Link |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
I guessed as much, maybe the file is just bit bad or my mind is playing ticks on me.
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) |
17th May 2011, 21:31 | #3195 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
If its just the file, it doesn't make sense that toggling the option changes anything
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
17th May 2011, 22:02 | #3198 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
For the future, i just added debug logging into a file to LAV Splitter and LAV Audio. Both will dump their log into LAVAudio.txt and LAVSplitter.txt respectively, on your Desktop. Of course only when running debug builds, but no longer required to run it from a debugger or anything like that.
I'll be supplying debug versions of those two dlls with the next release as well then. PS: The log files will be truncated every launch, so only one run will be shown in there. But at least the files don't grow excessively.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 17th May 2011 at 22:09. |
17th May 2011, 22:51 | #3199 | Link |
Registered User
Join Date: Jun 2009
Location: London
Posts: 378
|
Cool, at least I got to play with debugging in VS before you made it nice and easy.
Is there any negative aspect to run the debug builds most of the time?
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1) |
17th May 2011, 23:10 | #3200 | Link |
Registered User
Join Date: Apr 2010
Posts: 49
|
I apologize if this is a known problem but the thread is long and the changes are fast
I have a couple of mkv files with a 768k DTS 1.0 (core only no -HD MA) stream in them (old ~1968-1970 films that originally had mono PCM audio). These DTS audio streams don't decode with LAV Audio on PC with a 2.0 speaker system. I can bitstream it with LAV Audio on a different PC that goes to a receiver with 5.1 configuration. I can decode the DTS 1.0 stream to the 2.0 speakers when I use MPC's internal DTS codec or AC3Filter just fine, but it's a total no-go with LAV. MPC just hangs and never starts playing the file at all. Interestingly the Arcsoft decoder from TMT2 (1.1.0.8) can't handle it either. At least when I try to decode the stream to PCM or wav with eac3to, it throws an error and quits. So is this just me or is it a bug? Oh, and stellar job on the filters in general. Incredible effort. Last edited by glorp; 17th May 2011 at 23:15. |
Tags |
decoders, directshow, filters, splitter |
Thread Tools | Search this Thread |
Display Modes | |
|
|