Quantcast TMPGEnc Produces Errors on Audio VBR Conversion? - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
11-07-2002, 11:38 AM
Yoda Yoda is offline
Free Member
 
Join Date: Apr 2002
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
What does line 2 of the .avs file say?
__________________
May the code force be with you
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
11-07-2002, 01:15 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Yoda
What does line 2 of the .avs file say?
That's the EnsureVBRMP3Sync () line...
__________________
j3llyG0053
Reply With Quote
  #23  
11-07-2002, 02:57 PM
Yoda Yoda is offline
Free Member
 
Join Date: Apr 2002
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
That's the EnsureVBRMP3Sync () line...
I don't use that function.

-Yoda
__________________
May the code force be with you
Reply With Quote
  #24  
11-07-2002, 04:19 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Yoda
I don't use that function.

-Yoda
:P Me neither... kwag told me to use it because when i tried to encode DivX Movie with the VBR MP3 Audio the audio was like 4 seconds behind the video...

Guess I'll give it a shot without that line... thanks a lot for your help yoda...

BtW: I liked your fighting Action in Episode II...
__________________
j3llyG0053
Reply With Quote
  #25  
02-09-2003, 01:17 PM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Arrgh! I'm still have problems with audio sync when converting an Xvid of Sweet Home Alabama with VBR MP3 audio. When I stumbled upon this thread about EnsureVBRMP3Sync I thought I found the solution, but it seems I'm having the same problems as Jellygoose! I've tried every combination possible, from loading the AVS into vdub and extracting the wav and the mux'ing vid+aud at the end, to letting Tmpgenc do all the muxing and encoding. Then I tried this:

Kwag:
Quote:
If you're encoding to MPEG-1, remember to playback on WMP. Not on WinDVD or PowerDVD. For MPEG-2 then you can use WinDVD. WinDVD doesn't like MPEG-1 VBR. Try loading your .avs directly with WMP. It should play and the audio and video should be in sync.
But even when I load my avs directly into WMP v8 my audio is still earlier than the video! But the original avi file plays perfectly in sync. What is wrong with me?!?! Here is my current AVS file:

Code:
LoadPlugin("d:\program files\avisynth2\plugins\MPEG2DEC2.dll")
LoadPlugin("d:\program files\avisynth2\plugins\LegalClip.dll")
LoadPlugin("d:\program files\avisynth2\plugins\Blockbuster.dll")
LoadPlugin("d:\program files\avisynth2\plugins\FluxSmooth.dll")
LoadPlugin("d:\program files\avisynth2\plugins\Sampler.dll")
LoadPlugin("d:\program files\avisynth2\plugins\GripFit_Preview.dll")
LoadPlugin("d:\program files\avisynth2\plugins\decomblegacy.dll") 
LoadPlugin("d:\program files\avisynth2\plugins\dustv5.dll")
LoadPlugin("d:\program files\avisynth2\plugins\temporalcleanerold.dll") 
LoadPlugin("d:\program files\avisynth2\plugins\convolution3d.dll")

avisource("E:\Movies\Sweet.Home.Albama.DVDRip.XViD-ViTE\sha-xvid.avi")
EnsureVBRMP3Sync() 
Trim( 0, 0 )
LegalClip()
#FieldDeinterlace()
GripCrop(528, 480, overscan=2)
GripSize()
SpaceDust()
TemporalCleaner()
#Blockbuster(method="noise", variance=.3, seed=1) 
GripBorders() 
LegalClip()
My last thought is perhaps I don't have the right codecs. I've tried removing all codecs and packs (e.g. nimo) and then installing only the ones I need. But I was having trouble finding a good MP3 audio codec. Does anyone have a link to one, and also the recommended Xvid codec? There seem to be so many... Thanks!
Reply With Quote
  #26  
02-09-2003, 01:41 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by J-Wo

But even when I load my avs directly into WMP v8 my audio is still earlier than the video! But the original avi file plays perfectly in sync. What is wrong with me?!?!
Try a script like this and see if it plays out of sync in WMP. It shouldn't.

Code:
LoadPlugin("d:\program files\avisynth2\plugins\MPEG2DEC2.dll")
avisource("E:\Movies\Sweet.Home.Albama.DVDRip.XViD-ViTE\sha-xvid.avi")
EnsureVBRMP3Sync()
Just to remove the possibilities of a filter interaction in your machine.

-kwag
Reply With Quote
  #27  
02-10-2003, 09:32 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Try a script like this and see if it plays out of sync in WMP. It shouldn't.
Well this is weird, it DIDN'T work! But fear not, I finally figured out what to do. I loaded the same template I posted earlier into Tmpgenc as video source, then for audio source I loaded the original AVI file. But the big thing I had to learn was I needed to turn on Directshow Multimedia File Reader in the VFAPI settings. The reason this took me forever (like we're talking weeks) to get to work is that there's a post here in these forums on how to optimize tmpgenc for KVCDs, and they say to have all VFAPI plugins turned off *except* ReadAVS.dll. Maybe there should be a note somewhere about this!

Now here's my new question. I used SCMPX as an external audio encoder, and I was wondering if the result would be the same as encoding the audio seperately with Besweet or Headache. I kinda like letting Tmpgenc handle the audio because it certainly saves a lot of steps (e.g. extracting audio, encoding audio, muxing vid+aud) and HD space for temp files. It it just seems like the process is faster with SCMPX (I could be wrong though).
Reply With Quote
  #28  
02-10-2003, 10:17 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by J-Wo

Now here's my new question. I used SCMPX as an external audio encoder, and using this I was able to preserve the origianl 48khz audio without downsampling, and my final MPEG sounds fine. However if I use Besweet or Headache, I always HAVE to downsample to 44khz, otherwise the final muxed video sounds low in pitch and out of sync. Any idea what's going on here???
Do you mean that the audio done with SCMPX at 48Khz does play correctly on your standalone, but the same audio at 48Khz done with HeadAC3he doesn't

-kwag
Reply With Quote
  #29  
02-10-2003, 10:25 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Do you mean that the audio done with SCMPX at 48Khz does play correctly on your standalone, but the same audio at 48Khz done with HeadAC3he doesn't
Ack my apologies. The file plays fine on my computer but when I burned it and played it on my player the sound WAS low and out of sync. So I guess my player can't handle 48khz audio. I just edited my msg in the hopes that no one would reply so quickly, but guess I was wrong!
Reply With Quote
  #30  
02-11-2003, 03:48 AM
francks francks is offline
Free Member
 
Join Date: Jan 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
I have the same exact problem with that same movie and the audio is like 3 s before the video. I had tried just about everyhing except the VFAPI settings. Which I did last night but I still get the sync problem. The funny part is that the orignal movie is 1:48:51 in lenght but the wav extracted by besweet is 1:48:48. Could that be the problem and why would that happen?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD2SVCD: No Color Conversion in TMPGEnc produces unsupported files ragrost Video Encoding and Conversion 14 09-13-2004 07:40 AM
BBMpeg: errors muxing mp2 audio with m1v movie Clessy Video Encoding and Conversion 0 01-20-2004 10:33 PM
TMPGenc errors and Avisynth plugin errors? mbbrinker Video Encoding and Conversion 13 12-10-2003 05:03 AM
Audio Sync errors - In trouble again it seems Drisanna Video Encoding and Conversion 13 11-09-2003 05:22 AM
TMPGEnc: Kvcd audio sync problem on pal to ntsc conversion DawnOfTheDuke Video Encoding and Conversion 2 05-30-2003 04:43 PM

Thread Tools



 
All times are GMT -5. The time now is 02:52 PM  —  vBulletin Jelsoft Enterprises Ltd