Home › Forums › Breakaway Audio Enhancer › Experience / tips for Breakaway with DVB viewers?
- This topic has 7 replies, 2 voices, and was last updated 14 years, 1 month ago by michi95.
-
AuthorPosts
-
October 15, 2010 at 6:38 am #969AnonymousGuest
Hello,
I use Breakaway Audio Enhancer 1.30.02 on Windows 7 Home Premium 32 bit and all seems fine when playing video through a web browser or from the hard disk.
My Breakaway is at Set Up Wizard defaults (medium buffer), and I use ‘Reference Settings’ with Volume at 0.00 dB, Range, Power and Speed all set at 75.However it appears slight audio delay / latency often appears when watching live TV using DVBViewer.
Is this to be expected? ie is watching live TV not something Breakaway is optimised for?My CPU usage can approach around 70% when watching a live HD broadcast, but I assume that shouldn’t class as the CPU struggling? About half of the available RAM is still available.
In case relevant, below are some of my pc specs. Windows 7 updates and all software / drivers are the latest available.
AMD Phenom 8600 Triple Core Processor 2.30 Ghz
RAM 2 GB
ATI Radeon HD 4350
(latest Catalyst Control Centre software installed at defaults except I lower the gamma slightly)
Realtek HD Audio ControllerI use ffdshow for standard definition video and audio processing; DivX H.264 decoder and ffdshow for high definition broadcasts.
Thank you,
Lee
UKOctober 15, 2010 at 11:53 pm #5290michi95Member[quote author=”leecovuk”]My Breakaway is at Set Up Wizard defaults (medium buffer)[/quote]So, does this mean that you have tried "Small Buffer" and "Tiny Buffer" and hear pops and cracks with these smaller buffer sizes ?
[quote author=”leecovuk”]is watching live TV not something Breakaway is optimised for?[/quote]Medium Buffer = 65 ms latency
Small Buffer = 50 ms latency
Tiny Buffer = 30 ms latencyThese (relative) small differences are only noticeable in conjunction with other (already present) delays ➡ watching TV DVB-T, DVB-C, DVB-S(2).
[quote author=”leecovuk”]However it appears slight audio delay / latency often appears when watching live TV using DVBViewer.[/quote]Only with HD broadcasts or with standard TV, too ?
[quote author=”leecovuk”]I use ffdshow for standard definition video and audio processing; DivX H.264 decoder and ffdshow for high definition broadcasts.[/quote]It really depends on what kind of additional processing you use in ffdshow audio processor/decoder and/or ffdshow video processor/decoder how much latency you have overall.
But the good message is:
You can adjust (compensate) the latency/delay very easy inside the ffdshow video processor/decoder and achieve lip-synchronicity even if the original broadcast is out of sync (it happens more often):
I use the DVBViewer (Pro), too.
I even use ffdshow as video postprocessor for DVB-S2 HD broadcasts (in conjunction with CoreAVC decoder).
I have an ATI HD4850, Athlon X2 6000+, 2 GB RAM on Win XP pro SP2.
As long as HD playback is smooth and stable you should not care too much about (virtual) CPU usage.October 17, 2010 at 3:59 pm #5291AnonymousGuestHello michi95 and thanks for that detailed reply.
I think medium buffer is about the best I can go without pops / crackles.
Yes, the latency seems worse where there is already a slight latency when not using Breakaway. ie it gets exaggerated.
It is generally not an annoyance on standard definition channels. From memory, it is worse on HD channels but it may only be when ffdshow detects the channel audio as AC3 5.1
ie the biggest problem may be that, rather than the fact it’s a HD channel.I can offer an example if you’re in Europe and can tune to it, but it’s not an FTA channel so you might not be able to see it:
Hotbird 10834 V 27500 3/4 BBC HD, English audio track.I think I need to learn / discover the best use of codecs, regardless of Breakaway, don’t I? I have poked around the internet at some length and tried various codecs, but as you know, many are not free. However, a small investment in a paid codec would be fine as long as I could be sure it was better on my pc than the free offerings.
Have you found any settings / options / codec choices in ffdshow (video or audio) that you feel are good or bad for latency? I have tried to research it and have made some adjustments, but rather than list them all at this point, it might be better to hear if you have any specific settings from your experience. I can then see if they match mine, or I can try them.
Regarding any video processing I do in ffdshow, I routinely use Picture Properties to raise brightness and lower saturation for all pc video playback that can use ffdshow as well as live TV.
ffdshow audio is set to use ‘Mixer’ to force 2 channel stereo output and usually I use no other processing in there.
In the DivX H.264 decoder, I again have brightness up and saturation down. I have ticked ‘multithreading’ which wasn’t on by default.Of course, I’m aware that sometimes the video can be slightly lagging after the audio, but I think my problems are all audio lagging after video.
As you know, the problem with setting delays in ffdshow is finding a magical ‘suits all’ setting.
Is there such a thing as a piece of software that can detect lip sync at some point in a chain and automagically make sure it’s exactly right? That would be great, but it appears to be a fantasy of mine.
🙂Thanks,
Lee
UKOctober 17, 2010 at 8:56 pm #5292michi95Member[quote author=”leecovuk”]Regarding any video processing I do in ffdshow, I routinely use Picture Properties to raise brightness and lower saturation for all pc video playback that can use ffdshow as well as live TV.[/quote]On XP I use Overlay Mixer as video renderer (and do brightness, contrast, saturation and hue adjustments with DVBViewer’s built-in control GUI) – no need for ffdshow.
So, if none of the on Windows 7 present alternative video renderers can access hardware colour control, you should try to adjust these (fixed) correction settings inside the catalyst driver control.[quote author=”leecovuk”]ffdshow audio is set to use ‘Mixer’ to force 2 channel stereo output and usually I use no other processing in there.[/quote]For sure there are differences (but relative small) using different codecs, but not that massive in relation to the final delay of video/audio sync.
But ffdshow is special:
There are some (nightly) builds that do not work for me -> results in slowdowns and other unwanted effects.
That’s why I still use an older version:
ffdshow_rev2968_20090525_clsid-> try different ffdshow builds !
[quote author=”leecovuk”]In the DivX H.264 decoder, I again have brightness up and saturation down.[/quote]Does this mean that you do not use ffdshow (processor) in conjunction with HD (DivX H.264 decoder) ?
DVBViewer ➡ Plugins ➡ Video Postprocessor ➡ Exclude for Current Decoder !
With additional ffdshow processor you loose important hardware acceleration (GPU) functions.
Have you tried to use the ATI MPEG Video Decoder (for H.264) instead ?
(The decoder is not included in Catalyst download versions ! You have to install first the old driver from the original installation CD that came with your ATI HD 4350 card and than update it with the latest Catalyst download version !).[quote author=”leecovuk”]As you know, the problem with setting delays in ffdshow is finding a magical ‘suits all’ setting.[/quote]If you (in theory) have audio/video in perfect sync it needs (IMO) adjustments of +/- 150 ms (or more) to notice a delay.
You can try use a standard video delay of 150 ms inside ffdshow processor (decoder) to suit standard and HD TV.Or use the "Preset autoload conditions" in ffdshow:
➡ on decoder match ➡ DivX H.264
This way your preset with additional delay (try 300 ms) is only used for HD broadcasts but not for standard TV.October 19, 2010 at 2:05 am #5293AnonymousGuestHello again Michi and thanks for another detailed reply there.
quote :Does this mean that you do not use ffdshow (processor) in conjunction with HD (DivX H.264 decoder) ?Yes, I set DVBViewer to just use the DivX H.264 codec for that.
It sounds like your pc is similar to mine except I am on 7 and you XP, so it’s probably best if I try to match your setup as exactly as possible. Below is a mixture of questions and comments, in case you can kindly find the further time and will to consider and clarify. It is however asking rather a lot of you.
I use EVR Enhanced Video Renderer in DVBViewer, but I’ll try using Overlay Mixer.
(I have yet to understand what ‘custom renderers’ do in the latest DVBViewer Pro, but then I don’t understand much about any renderers).
I will do as you say and use the DVBViewer Display controls for brightness and saturation. As I recall, they become active when using Overlay Mixer.Regarding Catalyst Control Centre, I have the latest package installed at defaults. Frankly I’ve never understood how to use its options and settings. All I do is lower the gamma setting in there for my visual preference. I also lower the gamma and brightness in my monitor’s settings.
I’ll try to find and install ffdshow_rev2968_20090525_clsid (I will uninstall my current version first of course, which is obsessively always the latest)
You use the DVBViewer Postprocessor plugin do you? I’ve installed it but never used it. What do you do with it?
I’ll try to install the ATI MPEG Video Decoder to give another option for H.264 video.
Which ffdshow codec do you use for MPEG-2 video? libavcodec or libmpeg2? I’ve never understood the differences or known what they actually are.
Which ffdshow codecs do you use for AC3 stereo, AC3 5.1 and MP2 audio?
It sounds like you use CoreAVC decoder for H.264 video? That’s a pay codec isn’t it? My free DivX one is presumably similar. Where do you select that decoder, seeing as it sounds like you also use ffdshow with it?
Do you have any other related and specific settings in ffdshow, CoreAVC or DVBViewer?
Do you routinely use any of the delays you mentioned?
Thanks for anything further,
LeeOctober 20, 2010 at 1:33 pm #5294michi95Member[quote author=”leecovuk”]It sounds like your pc is similar to mine except I am on 7 and you XP[/quote]And except the difference between my 4850 and your 4350.
But you have a better CPU than me.I’ve done some investigation and compared DivX H.264 decoder and CoreAVC.
With CoreAVC I do not need an extra video delay in ffdshow.
But using DivX H.264 decoder (low latency checked !) audio and video is out of sync for me too !
I would suggest to use a video delay in ffdshow of 200 ms to compensate it.You need an uptodate version of DVBViewers Postprocessor Plugin.
And your PostProcessor.ini (the one inside your DVBViewer configuration folder !) should look like this ( ➡ edit it with Notepad):quote :[Setup]
PostProcessor=ffdshow raw video filter
AudioPostProcessor=ffdshow Audio Processor
Version=513
WMAMultiChannel=0[Postprocessors]
CLSID.0={0B390488-D80F-4A68-8408-48DC199F0E97}
Name.0=ffdshow raw video filter[AudioPostprocessors]
CLSID.0={B86F6BEE-E7C0-4D03-8D52-5B4430CF6C88}
Name.0=ffdshow Audio Processor[ExcludeDecoders]
Maybe another Version than 513 ?
I am using Postprocessor version 2.1.0.0 (never change a running system – you know !).
And maybe the CLSID numbers have changed in Windows 7 ?
So if this not works for you, try to get a version of Graphstudio (freeware):
➡ Graph ➡ Insert Filter ➡ DirectShow Filters ➡ ffdshow…. to get the correct CLSID numbers.And then use the Preset autoload conditions function in ffdshow (see my earlier post).
For MPEG2 I still prefer to use MPV Decoder 1.0.0.4 (Gabest), it is free.
And I tell you: I have tried them all (old and new Sonic, NVidia, WinDVD, PowerDVD, DScaler, etc.) !
The MPV (Gabest) is the only MPEG2 decoder that works for Bob De-Interlacing (the look and smooth feel of video we know from our good old PAL TVs) in combination with ffdshow post-processing.
For all other MPEG2 decoder Bob De-Interlacing breaks when you add ffdshow as postprocessor (or you have to use the ffdshow internal Kernel-Bob or Yadif, etc. instead).
➡ use google and search for MPV Decoder 1.0.0.4
But I don’t know if this decoder still works with Windows 7.Using ffdshow as decoder for MPEG2 ( ➡ exclude this from ffdshow raw video filter post processing or you have two ffdshow instances !)
I remember that most people recommend libavcodec.
But in my experience I would prefer libmpeg2 (in some situations libavcodec failed for me).For audio (MP2 and AC3) I prefer InterVideo Audio (WinDVD) or the free DScaler Audio Decoder (Windows 7 ? – I don’t know !).
Good luck !
PS: The ATI MPEG Video Decoder (for H.264) no longer works correct on my system (with and without ffdshow raw processor) ➡ green and violet picture.
Don’t know what went wrong.
CoreAVC is for sure still a good choice.
But the free DivX H.264 Decoder (adding the optional video delay with ffdshow) is a free (and cheap) alternative.October 23, 2010 at 1:35 pm #5295AnonymousGuestThanks again Michi, I do appreciate it.
I will look into and consider what you’ve said and suggested.
I’ve now become more familiar with DVBViewer’s Postprocessor plugin.One of my problems is I find it hard to determine when video is slightly lagging behind audio or vice versa. Randomly trying slightly different delay values drives me towards insanity.
I wish there was some kind of magical ‘automatic V/A sync checker and adjuster’ in DVBViewer or a Directshow filter. Or maybe a slider control, which I could adjust back and forth in real time to adjust sync. That could be in DVBViewer, Directshow or Breakaway.
October 24, 2010 at 3:22 am #5296michi95Member[quote author=”leecovuk”]One of my problems is I find it hard to determine when video is slightly lagging behind audio or vice versa. Randomly trying slightly different delay values drives me towards insanity.[/quote]Don’t drive yourself crazy !
[quote author=”leecovuk”]I wish there was some kind of magical ‘automatic V/A sync checker and adjuster’ in DVBViewer or a Directshow filter. Or maybe a slider control, which I could adjust back and forth in real time to adjust sync. That could be in DVBViewer, Directshow or Breakaway[/quote]It is not necessary at all (especially it is not possible inside Breakaway or any other audio part of the chain, because it has to be done with the video – it is a question of logic) !
Not necessary at all, because:
It is a static delay !
If it is not, there must be something else wrong on your system (a hidden CPU eater that leads to performance instability while HD decoding ?).
Using the same directshow filter chain (decoders) there should be no change !
Only when you switch from standard TV to a HD channel (and vice versa) you change the directshow filter chain (rebuild the decoding graph inside DVBViewer with other decoders needed for HD).
[quote author=”leecovuk”]I wish there was some kind of magical ‘automatic V/A sync checker and adjuster’ in DVBViewer[/quote]There are thousands and thousands people that use DVBViewer (or other DVB apps) for standard and HD TV without any need for such thing.
If there is noticeable delay, than it is your special problem – a problem caused by your system (a decoder like DivX H.264 or whatever else ?), because you have written that even without BAE you have a noticeable delay.Have you ever seen a standalone TV with a manually audio/video sync adjustment option ?
It is not necessary (or it should not be) !
There are only some very rare exceptions (cheap, low budget TV shops, etc.).
But on regular TV stations it is very seldom that the broadcasted content is already out of sync (it is more or less three or four times a year that I manually adjust the video delay, but most of the time I use none !).[quote author=”michi95″]If you (in theory) have audio/video in perfect sync it needs (IMO) adjustments of +/- 150 ms (or more) to notice a delay.[/quote]
➡ Use steps of +/- 50 ms to determine the static (!) delay !
Even for AVI muxing (in the past) I have never used smaller steps than +/- 25 ms, because everything else (smaller steps) is beyond the human reception capabilities (because the human brain has its own built-in sync compensation adjustment processing).
So, I am not surprised about your problems you have described:
[quote author=”leecovuk”]Randomly trying slightly different delay values drives me towards insanity.[/quote]You are a human being and not a machine !Though human individuals are very different in their subjective recognition capabilities.
I know some people that do not notice even a delay of 250 ms.
These people need a 400 ms delay to feel that something is wrong.
We are talking about a/v sync for playback (and broadcasts are playback).For real human to machine interaction ➡ live processing while recording: singing, playing (virtual) instruments you cannot live with delays.
There you need ultra low latency (less than 5 ms using ASIO).
But 25 ms more or less delay watching TV (videos) is IMO irrelevant (as long as the general present a/v delay on your system is ok).Of course, if you want (with ambitions to win the Nerd Of The Year award) you can calculate the additional delay introduced by BAE, the driver of your soundcard and every decoder, etc. and add this as standard delay inside ffdshow video processing options (include it in every ffdshow preset you use).
And keep in mind that with every change of your position in the room relative to your loudspeakers the audio delay changes also.
One meter makes a difference of 3,3 ms for an audio signal (the sound through the air) !
While the light needs only 0,000000003333…. ms for a meter !
This is not exact, but this way it looks more elegant !For some people mathematics is their hobby. 8)
For other mathematics is a sick perversion. 😥 -
AuthorPosts
- You must be logged in to reply to this topic.