problems with processing AVI - audio out of sync
DVD-Software.info Forum Index DVD-Software.info
Your one stop source for DVD Software
 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
problems with processing AVI - audio out of sync
Goto page 1, 2  Next  
Post new topic   Reply to topic    DVD-Software.info Forum Index -> DivX
Author Message
erik
Guest





Posted: Sun Mar 06, 2005 7:36 pm    Post subject: problems with processing AVI - audio out of sync Reply with quote

I have an AVI encoded with XVID 23.976 fps and VBR MP3 sound. On computer it
plays fine, when I play it on my noname DVD player, the sound gets out of
sync. When I process it in any way, to MPEG2 (AVI2DVD) or just reencode the
sound with CBR and mux it back (Virtualdub), the result is always out of
sync. Is there any other way I could try? I will probably end up buying the
film on DVD, but I'd be interested in solving the problem anyway...

Back to top
Christian Link
Guest





Posted: Sun Mar 06, 2005 8:46 pm    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

Eric,

On Sun, 6 Mar 2005 15:36:45 +0100, "erik" <erik@somewhere.com> wrote:

Quote:
I have an AVI encoded with XVID 23.976 fps and VBR MP3 sound. On computer it
plays fine, when I play it on my noname DVD player, the sound gets out of
sync. When I process it in any way, to MPEG2 (AVI2DVD) or just reencode the
sound with CBR and mux it back (Virtualdub), the result is always out of
sync. Is there any other way I could try? I will probably end up buying the
film on DVD, but I'd be interested in solving the problem anyway...

While the above approach would seem reasonable at first glance, I've
personally had some less than good experiences with directly re-encoding VBR
streams to CBR from within VirtualDub. You may try to first decode the
former VBR track by using "Full processing mode" in the audio section, no
(!) audio compression, and then "Save as WAV...". After that re-encode the
decoded WAV (preferrably by muxing it at the same time, i. e. load your
movie into VirtualDub, but use an external sound source (namely your WAV
file). Then save the movie in Direct stream copy mode (Video) and Full
processing mode with the desired compression parameters for audio. If the
audio - the VBR shit notwithstanding, of course - did sync nicely before, it
should do so after this process, on all devices.

Another approach would be using AVISynth for importing the video, and use
its function EnsureVBRMP3Sync() for the audio track. Of course, this would
feed an _uncompressed_ video to VirtualDub (or whatever application you want
to use), but you could still save the audio part only and ditch the video
(replace it with the original, compressed source later while re-muxing).

Finally, if it's not just your external player, but if the "VBR-audioed"
original video was just muxed improperly, you may also try remuxing it with
AVIMuxGUI. That one would leave both data streams untouched (so you don't
lose any quality due to recompression) and just ensure the muxing is done
correctly. Sometimes, this cures the problem if an external player is just
too picky.

In general, however ("ceterum censeo", so to speak ;-) ...): Stick away from
VBR-MP3s in AVIs. The debate is old, I know, and I also know there are still
more than enough people advocating it, but still - it does cause
compatibility problems in some cases, and you can hardly foresee if
virtually every player you will eventually play your video on can handle VBR
MP3s in AVIs. (Yeah, I'll stop ranting here, okay ;-) ...)

Greetings,
Chris.
Back to top
erik
Guest





Posted: Sun Mar 06, 2005 9:01 pm    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

Chris,
thanks, that's a lot of interesting ideas, I'll try them out!

Erik
Back to top
Just Me
Guest





Posted: Tue Mar 08, 2005 5:21 am    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

Funny you should bring that up. I have three stand alone DVD players in
addition to the one in the computer. I've seen DVD's I've burned on the
computer play differently on all three stand alone players. Yes, it would
be out of sync on an older player and then perfect on another (the Philips
one that also plays Divx). So, the solution to your problem might be your
DVD player is a little old or something. You might want to buy the Philips
player for Divx. Everyone here likes it a lot. No need in spending hours
trying to adapt your DVD disc to that one DVD player (its an older one,
right?) when DVD players cost about $80 or even less now.


"erik" <erik@somewhere.com> wrote in message
news:422b1583_3@news.bluewin.ch...
Quote:
I have an AVI encoded with XVID 23.976 fps and VBR MP3 sound. On computer
it plays fine, when I play it on my noname DVD player, the sound gets out
of sync. When I process it in any way, to MPEG2 (AVI2DVD) or just reencode
the sound with CBR and mux it back (Virtualdub), the result is always out
of sync. Is there any other way I could try? I will probably end up buying
the film on DVD, but I'd be interested in solving the problem anyway...
Back to top
Jan Panteltje
Guest





Posted: Tue Mar 08, 2005 4:04 pm    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

On a sunny day (Tue, 08 Mar 2005 00:21:56 GMT) it happened "Just Me"
<theclient@hotmail.com> wrote in
<Ee6Xd.3327$oO4.3215@newsread3.news.pas.earthlink.net>:

Quote:
Funny you should bring that up. I have three stand alone DVD players in
addition to the one in the computer. I've seen DVD's I've burned on the
computer play differently on all three stand alone players. Yes, it would
be out of sync on an older player and then perfect on another (the Philips
one that also plays Divx). So, the solution to your problem might be your
DVD player is a little old or something. You might want to buy the Philips
player for Divx. Everyone here likes it a lot. No need in spending hours
trying to adapt your DVD disc to that one DVD player (its an older one,
right?) when DVD players cost about $80 or even less now.
I would not buy I Philips crap player if I got 2 for free.

They blackmailed the EU into software patents.
Back to top
Just Me
Guest





Posted: Wed Mar 09, 2005 5:17 am    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

What country do you live in? Holland?

"Jan Panteltje" <pNaonStpealmtje@yahoo.com> wrote in message
news:1110279866.03fd592093a6e459bcf391722ce43d4d@teranews...
Quote:
On a sunny day (Tue, 08 Mar 2005 00:21:56 GMT) it happened "Just Me"
theclient@hotmail.com> wrote in
Ee6Xd.3327$oO4.3215@newsread3.news.pas.earthlink.net>:

Funny you should bring that up. I have three stand alone DVD players in
addition to the one in the computer. I've seen DVD's I've burned on the
computer play differently on all three stand alone players. Yes, it would
be out of sync on an older player and then perfect on another (the Philips
one that also plays Divx). So, the solution to your problem might be your
DVD player is a little old or something. You might want to buy the
Philips
player for Divx. Everyone here likes it a lot. No need in spending hours
trying to adapt your DVD disc to that one DVD player (its an older one,
right?) when DVD players cost about $80 or even less now.
I would not buy I Philips crap player if I got 2 for free.
They blackmailed the EU into software patents.
Back to top
Jan Panteltje
Guest





Posted: Wed Mar 09, 2005 6:33 pm    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

On a sunny day (Wed, 09 Mar 2005 00:17:05 GMT) it happened "Just Me"
<client@hotmail.com> wrote in
<5grXd.5024$cN6.3368@newsread1.news.pas.earthlink.net>:

Quote:
What country do you live in? Holland?
Do you think it is different in one country from an other?

I know pHilips inside out, AND pHilips service.
It is the company that had unxeperienced technicans repair the video
recorders, they replacing parts until it worked, and charging the customer
for ever part and the time too.
It is the same company that misused gov money for a specific project
to build their own experiments.
It is [run by] a computer programmed for max profit, and since programmed by
Philips they had nothing but problems.
Some of there lightbubls have air in them (flash white).
Some of their transistors have nothing in the case.
It is a multinational, in the WW2 they worked for the Nazis, now they work for
the US nazis, IN the US etc..
Hope they get the defense contracts for the US, then for sure it will be wiped out.
'Let's make things better' is no longer the slogan, was to high a target likely.


Quote:
"Jan Panteltje" <pNaonStpealmtje@yahoo.com> wrote in message
news:1110279866.03fd592093a6e459bcf391722ce43d4d@teranews...
On a sunny day (Tue, 08 Mar 2005 00:21:56 GMT) it happened "Just Me"
theclient@hotmail.com> wrote in
Ee6Xd.3327$oO4.3215@newsread3.news.pas.earthlink.net>:

Funny you should bring that up. I have three stand alone DVD players in
addition to the one in the computer. I've seen DVD's I've burned on the
computer play differently on all three stand alone players. Yes, it would
be out of sync on an older player and then perfect on another (the Philips
one that also plays Divx). So, the solution to your problem might be your
DVD player is a little old or something. You might want to buy the
Philips
player for Divx. Everyone here likes it a lot. No need in spending hours
trying to adapt your DVD disc to that one DVD player (its an older one,
right?) when DVD players cost about $80 or even less now.
I would not buy I Philips crap player if I got 2 for free.
They blackmailed the EU into software patents.


Back to top
Larc
Guest





Posted: Wed Mar 09, 2005 7:17 pm    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

On Wed, 09 Mar 2005 13:33:33 GMT, Jan Panteltje
<pNaonStpealmtje@yahoo.com> wrote:

| On a sunny day (Wed, 09 Mar 2005 00:17:05 GMT) it happened "Just Me"
| <client@hotmail.com> wrote in
| <5grXd.5024$cN6.3368@newsread1.news.pas.earthlink.net>:
|
| >What country do you live in? Holland?
| Do you think it is different in one country from an other?
| I know pHilips inside out, AND pHilips service.
| It is the company that had unxeperienced technicans repair the video
| recorders, they replacing parts until it worked, and charging the customer
| for ever part and the time too.
| It is the same company that misused gov money for a specific project
| to build their own experiments.
| It is [run by] a computer programmed for max profit, and since programmed by
| Philips they had nothing but problems.
| Some of there lightbubls have air in them (flash white).
| Some of their transistors have nothing in the case.
| It is a multinational, in the WW2 they worked for the Nazis, now they work for
| the US nazis, IN the US etc..
| Hope they get the defense contracts for the US, then for sure it will be wiped out.
| 'Let's make things better' is no longer the slogan, was to high a target likely.

I've used Philips products for years and have rarely had any problems
with them. No company that I am aware of is uninterested in the
"bottom line." After all, why is any company in business if not to
make money? If they don't make it, they'll damned sure not be around
to either please or displease anybody for long.

Larc



§§§ - Change planet to earth to reply by email - §§§
Back to top
Jan Panteltje
Guest





Posted: Wed Mar 09, 2005 8:21 pm    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

On a sunny day (Wed, 09 Mar 2005 14:17:55 GMT) it happened Larc
<larc-news@jupiterlink.net> wrote in
<311u21himlh2qd2868qe4vg945mqraihl3@4ax.com>:
Quote:
| Hope they get the defense contracts for the US, then for sure it will be wiped out.
| 'Let's make things better' is no longer the slogan, was to high a target likely.

I've used Philips products for years and have rarely had any problems
with them.
So was Tjernobyl
Back to top
Just Me
Guest





Posted: Thu Mar 10, 2005 5:25 am    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

In my first reply, I wasn't even recommending the Philips player. I was
just recommending a more up to date one than he was using. In my
experience, a newer player on the market might be much less trouble and he
wouldn't have to spend 6 to 8 hours trying to encode in a way that the older
player would accept. I have 3 DVD players and when playing the same DVD
disc, I might get 3 different results.


"Jan Panteltje" <pNaonStpealmtje@yahoo.com> wrote in message
news:1110375227.0c8b585b97b4698b95555b871b77ffb7@teranews...
Quote:
On a sunny day (Wed, 09 Mar 2005 00:17:05 GMT) it happened "Just Me"
client@hotmail.com> wrote in
5grXd.5024$cN6.3368@newsread1.news.pas.earthlink.net>:

What country do you live in? Holland?
Do you think it is different in one country from an other?
I know pHilips inside out, AND pHilips service.
It is the company that had unxeperienced technicans repair the video
recorders, they replacing parts until it worked, and charging the customer
for ever part and the time too.
It is the same company that misused gov money for a specific project
to build their own experiments.
It is [run by] a computer programmed for max profit, and since programmed
by
Philips they had nothing but problems.
Some of there lightbubls have air in them (flash white).
Some of their transistors have nothing in the case.
It is a multinational, in the WW2 they worked for the Nazis, now they work
for
the US nazis, IN the US etc..
Hope they get the defense contracts for the US, then for sure it will be
wiped out.
'Let's make things better' is no longer the slogan, was to high a target
likely.


"Jan Panteltje" <pNaonStpealmtje@yahoo.com> wrote in message
news:1110279866.03fd592093a6e459bcf391722ce43d4d@teranews...
On a sunny day (Tue, 08 Mar 2005 00:21:56 GMT) it happened "Just Me"
theclient@hotmail.com> wrote in
Ee6Xd.3327$oO4.3215@newsread3.news.pas.earthlink.net>:

Funny you should bring that up. I have three stand alone DVD players in
addition to the one in the computer. I've seen DVD's I've burned on the
computer play differently on all three stand alone players. Yes, it
would
be out of sync on an older player and then perfect on another (the
Philips
one that also plays Divx). So, the solution to your problem might be
your
DVD player is a little old or something. You might want to buy the
Philips
player for Divx. Everyone here likes it a lot. No need in spending
hours
trying to adapt your DVD disc to that one DVD player (its an older one,
right?) when DVD players cost about $80 or even less now.
I would not buy I Philips crap player if I got 2 for free.
They blackmailed the EU into software patents.


Back to top
Jan Panteltje
Guest





Posted: Thu Mar 10, 2005 6:49 pm    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

On a sunny day (Thu, 10 Mar 2005 00:25:29 GMT) it happened "Just Me"
<theclient@hotmail.com> wrote in
<ZtMXd.5812$cN6.3534@newsread1.news.pas.earthlink.net>:

Quote:
In my first reply, I wasn't even recommending the Philips player. I was
just recommending a more up to date one than he was using. In my
experience, a newer player on the market might be much less trouble and he
wouldn't have to spend 6 to 8 hours trying to encode in a way that the older
player would accept. I have 3 DVD players and when playing the same DVD
disc, I might get 3 different results.
This is an interesting view.

I think this way, I want everything on the PC.
The PC as 'home' media center.
Here in front of me, on the table, I have piled up 2 DVD players and 1 old
VHS.
I only use the DVD players to test multi language DVDs I make that are for
'export'.
If I want to play ANYTHING AVI, VOB, DVD, VCD, network, I do it on / via the
PC.
Maybe there is still a life for a portable DVD / AVI player.
But then a laptop wil win too.
If I see what PC power you can now get for < 1000 Euro at for example Aldi
in Germany, like DVD-S DVDB-T DVB-C(?), 3.5 GHz, any interface you can
think of, and how much room space you save by throwing out all those
boxes, then there is a strong case for PC as media center.
Also in my case the PC is providing background music, controlling the
temperatures in the house, managing alarms, remote controlled webcam
so I can check and control everything in the house form any webbrowser
when away.
Put the PC in a cabinet somewhere, just like the heating kettle, and
have just the display device(s) in the living room.
One remote !!! for everything too.
Maybe I will give away those DVD players and other old stuff.
Back to top
erik
Guest





Posted: Sun Mar 13, 2005 7:12 pm    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

I am stupid, I've just realised what my problem is, the audio stream has a
delay and starts about 25 seconds after video track! All these tools I used
obviously use 0ms delay which results in out-of-sync sound... Can anybody
recommend a tool for finding out this delay exactly? I probably cut
everything before the sound starts, it's just some logos anyway...

Erik
Back to top
Christian Link
Guest





Posted: Sun Mar 13, 2005 7:51 pm    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

Hi, Erik,

On Sun, 13 Mar 2005 15:12:09 +0100, "erik" <erik@somewhere.com> wrote:

Quote:
I am stupid, I've just realised what my problem is, the audio stream has a
delay and starts about 25 seconds after video track! All these tools I used

were you the guy with the VBR-encoded video? If so, nice to see your problem
seems to be (almost) soved now :-) !

Quote:
obviously use 0ms delay which results in out-of-sync sound... Can anybody

Actually, that's a bit hard to believe, as most programs wouldn't use a
delay chunk of the AVI format (I'm not even sure there is such a chunk, but
I think I once saw it listed in ABCAVI), but simply fill the empty space
before the actual audio data with silent samples (or compressed blocks, as
the case may be). Otherwise, how could it be possible to "direct stream
copy" them later without having to adjust the audio skew all the time?

(Then again, yeah, it looks like you've stumbled across a program / source
file that poses exactly this problem. A bit strange, though ...)

Quote:
recommend a tool for finding out this delay exactly? I probably cut
everything before the sound starts, it's just some logos anyway...

Sorry, you have to do it the "let your ears be the judge" way. Depending on
how fast your system is, that's not a bit problem, though. Just use
VirtualDub for adjusting the audio skew (Audio/Interleave...) and check out
the results *without* processing the whole file, but from within
VirtualDub's preview section. Disable the output window, enable Direct Draw
overlays, and use "Skip frames when behind", if your system is a bit too
slow. This should still give you a playback speed high enough to judging the
results of your efforts. Use a sentence with lots of "B" and "P" sounds (my
favorite example is still "Thank you, am_b_assador, _b_ut my _p_lace is with
my _p_eo_p_le" from Star Wars Episode I ;-) ...), and see it from there.

Once you're there, just do the audio stuff the way we've talked about (*if*
you're the dude with the VBR stream), because skewing with VirtualDub(Mod)
really means padding the start with silent samples. So after that, there
shouldn't be any problems anymore. No need to cut anything unless you really
want to.

Greetings,
Chris.
Back to top
erik
Guest





Posted: Sun Mar 13, 2005 8:07 pm    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

"Christian Link" <C.LinkSPAMBLOCK@GMX.net> schrieb im Newsbeitrag
news:3ek83112v50rimtkpdinsi0fr57ghfmnjc@4ax.com...

Quote:
Sorry, you have to do it the "let your ears be the judge" way. Depending
on
how fast your system is, that's not a bit problem, though. Just use
VirtualDub for adjusting the audio skew (Audio/Interleave...) and check
out
the results *without* processing the whole file, but from within
VirtualDub's preview section. Disable the output window, enable Direct
Draw
overlays, and use "Skip frames when behind", if your system is a bit too
slow. This should still give you a playback speed high enough to judging
the
results of your efforts. Use a sentence with lots of "B" and "P" sounds
(my

Thanks Chris,
I did just that and it worked like a charm, thanks! I am kind of an
"exact" person, so I thought if bloody video players can detect this, there
must be a utility that can do the same thing...

Erik
Back to top
Larc
Guest





Posted: Sun Mar 13, 2005 8:49 pm    Post subject: Re: problems with processing AVI - audio out of sync Reply with quote

On Sun, 13 Mar 2005 16:07:31 +0100, "erik" <erik@somewhere.com> wrote:

| "Christian Link" <C.LinkSPAMBLOCK@GMX.net> schrieb im Newsbeitrag
| news:3ek83112v50rimtkpdinsi0fr57ghfmnjc@4ax.com...
|
| > Sorry, you have to do it the "let your ears be the judge" way. Depending
| > on
| > how fast your system is, that's not a bit problem, though. Just use
| > VirtualDub for adjusting the audio skew (Audio/Interleave...) and check
| > out
| > the results *without* processing the whole file, but from within
| > VirtualDub's preview section. Disable the output window, enable Direct
| > Draw
| > overlays, and use "Skip frames when behind", if your system is a bit too
| > slow. This should still give you a playback speed high enough to judging
| > the
| > results of your efforts. Use a sentence with lots of "B" and "P" sounds
| > (my
|
| Thanks Chris,
| I did just that and it worked like a charm, thanks! I am kind of an
| "exact" person, so I thought if bloody video players can detect this, there
| must be a utility that can do the same thing...

Unfortunately, there's no utility yet that's capable of exercising
reasoned judgement. There's only one thing I know of that can see
lips moving and hear whether the sound is in sync with them or not —
and you're one of those things! ;-)

I just wish somebody would come up with a program that could handle
real time sync adjustments rather than the trial and error input
necessary for programs such as VirtualDub.

Larc



§§§ - Change planet to earth to reply by email - §§§
Back to top
 
Post new topic   Reply to topic    DVD-Software.info Forum Index -> DivX All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forum Access Forum Exchange Server

Powered by phpBB