View Full Version : every encoder jumps back
gyzel01
10th December 2011, 13:38
hello,
I am in a extremelly hurry situation for a dvd delivery..
as i mention in the title i am trying to encode a video through avisynth. i tried the procoder3 and tmpenc and both of those jump back some seconds back.
that occures only in a specific part of the video.
any ideas about what causing it?
i have upload the resulting video (3.4MB)
(only the part that jumps back)
www.megaupload.com/?d=GHH5YMUA
gyzel01
10th December 2011, 13:45
avisinth code :
........
.........
.......
###############################################################################14
AVISource("gramma.avi", false)
ConvertToYUY2()
AssumeTFF()
tdeint(mode=1)
#ROTATE
ConvertToRGB(matrix="Rec601") #Rec601 gia SD Rec709 gia HD
Rotate(0.0)
#CROPARISMA
#RESIZE
LanczosResize(720,576,0,0,0,0,4)
#CALIBRARISMA
ConvertToYUY2()
tweak(0,1,0,1)
#ADDITION FILTERS (DENOISERS)
AssumeTFF()
separatefields().selectevery(4,0,3).weave()
#ConvertToRGB(matrix="Rec601") #Rec601 gia SD Rec709 gia HD
#ONOMA
clip14=last
################################################################################14
.......
.......
......
clip1++clip2++clip3++clip4++clip5++clip6++clip7++clip8++clip9++clip10++clip11++clip12++clip13++clip14++clip15++clip16
sneaker_ger
10th December 2011, 13:49
If all encoders have the same problem, that would point to a problem of the source file itself or the AviSynth source filter. If the source is not broken, you'd have to cut it out yourself (Trim()). I'm not sure if encoding 4:3 video with the 16:9 PAL AR is a good idea, btw.
/edit:
saw your script after my post: why are you converting back and forth between RGB and YUY2?
gyzel01
10th December 2011, 13:56
sneaker thanks so much for the reply.
yes the display format will be corrected.
i have also tred to encode only the problematic clip, alone in a new script and no jumps back happend. how do you explain that?
about trimming..
you mean to go with something like that?
clip1++clip2++clip3++clip4++clip5++clip6++clip7++clip8++clip9++clip10++clip11++clip12++clip13++Trim(mpla,mpla)++clip15++clip16
thanks again. really appreciate it
gyzel01
10th December 2011, 15:33
i have tried clip1++clip2++clip3++clip4++clip5++clip6++clip7++clip8++clip9++clip10++clip11++clip12++clip13++Trim(clip14,mpla,mpla)++clip15++clip16
just in case. nothing happend.
i dont get it.
i ve tried
CODE:
....
.....
all=clip1++clip2++clip3++clip4++clip5++clip6++clip7++clip8++clip9++clip10++clip11++clip12++clip13++clip14++clip15++clip16
Trim(all,5900,6000)
and feed the encoder with the resulting .avs but i still get this jumping back (only in this specific point of the video chain.
I didn't use any Trims elsewere in the script.
All the clips use the same functions.
the only triming is at the last line. (so i dont have to wait to encode entire video chain, and check if the jumping back still exists)
the source is not problematic cause i ve tested it alone in another script.
its like a bug.
any ideas?
sneaker_ger
10th December 2011, 17:15
You need at least two "Trim()"s. Load your script in e.g. VirtualDub first and note down the frame numbers of the doubled scene you need to delete, then it should look similar to this:
all=clip1++clip2++clip3++clip4++clip5++clip6++clip7++clip8++clip9++clip10++clip11++clip12++clip13++clip14++clip15++clip16
all = trim(all, 0, 800) + trim(all, 900, 0)
return all
This should delete frames 801 to 899.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.