View Full Version : Audio/video out of sync...
charge
7th February 2007, 01:59
when trying to make an Xvid or Divx file out of a MS DV AVI file made with Adobe Premiere Pro 2.0.
Also, the first 4-5 seconds of the source file is cut.
Must be bugs.
BigDid
7th February 2007, 03:53
when trying to make an Xvid or Divx file out of a MS DV AVI file made with Adobe Premiere Pro 2.0.
Also, the first 4-5 seconds of the source file is cut.
Must be bugs.
Hi,
AGK or GK ?
We need more info like the log file ...
Did
charge
7th February 2007, 14:09
[07.02.2007 01:14:44] AutoGK 2.40
[07.02.2007 01:14:44] OS: WinXP (5.1.2600).2
[07.02.2007 01:14:44] Job started.
[07.02.2007 01:14:44] Input file: D:\video work\demo feb 2007\demo_feb_2007.avi
[07.02.2007 01:14:44] Input codec: Sony DV
[07.02.2007 01:14:44] Source duration: 4mn 29s 80ms
[07.02.2007 01:14:44] Output file: D:\video work\demo feb 2007\demo_feb_2007_agk75.avi
[07.02.2007 01:14:44] Output codec: XviD
[07.02.2007 01:14:44] Audio 1: 1536 Kbps PCM 2ch
[07.02.2007 01:14:44] Subtitles: none
[07.02.2007 01:14:44] Format: AVI
[07.02.2007 01:14:44] Target quality: 75%
[07.02.2007 01:14:44] Audio 1 settings: CBR MP3 with bitrate: 160Kbps
[07.02.2007 01:14:44] Started encoding.
[07.02.2007 01:14:44] Source resolution: 720x576
[07.02.2007 01:14:44] Source fps: 25
[07.02.2007 01:14:44] Analyzing source.
[07.02.2007 01:16:03] Source has percentage of interlacing in motion areas: 99,01
[07.02.2007 01:16:03] Source is considered to be interlaced.
[07.02.2007 01:16:03] Output will contain 6727 frames
[07.02.2007 01:16:03] Demuxing audio.
[07.02.2007 01:16:21] Normalizing audio.
[07.02.2007 01:16:23] Encoding audio.
[07.02.2007 01:17:01] Running single pass encoding.
[07.02.2007 01:17:01] Writing the following script to D:\video work\demo feb 2007\agk_tmp\demo_feb_2007_agk75_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\leakkerneldeint.dll")
movie = DirectShowSource("D:\video work\demo feb 2007\demo_feb_2007.avi",25).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie,true) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie,true) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.0925
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 720
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
LeakKernelDeInt(movie,order=0,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
===========================================================
[07.02.2007 01:19:36] Duration was: 2 minutes 35 seconds
[07.02.2007 01:19:36] Speed was: 43,35 fps.
[07.02.2007 01:19:36] Job finished. Total time: 4 minutes 52 seconds
charge
7th February 2007, 14:11
both VBR and CBR for the MP3, and I also tried a fixed MB for the output file, as well as 75%, 80%, 90% and 100% as quality. Every time the output file comes out without the sync in order.
BigDid
7th February 2007, 19:15
Hi,
The log seems fine and I suppose there is no desynch when viewing/hearing the source ...?
A few things you can try like
run some avi fix tool like http://forum.doom9.org/showthread.php?t=120813
and/or encode (1pass) with the original PCM (keep original) audio to see if the desynch is still there.
AGK can be picky with avi input so you may want to try another encoding tool like Automkv or staxrip to see if better...
Other suggestions welcome.
Did
charge
8th February 2007, 01:09
The source is fine. I tried virtualdub with divx compression, and then the sync is preserved. I was a little disappointed about the picture quality versus size on a 4:30 min music video. At 64 MB it is not too bad, but not that good either. I expected to be able to at least reduce it to around 45 MB with a satisfactory result.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.