Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-2 Encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th December 2011, 13:38   #1  |  Link
gyzel01
Registered User
 
Join Date: Nov 2011
Posts: 7
every encoder jumps back

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

Last edited by gyzel01; 10th December 2011 at 13:44. Reason: edit:
gyzel01 is offline   Reply With Quote
Old 10th December 2011, 13:45   #2  |  Link
gyzel01
Registered User
 
Join Date: Nov 2011
Posts: 7
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
gyzel01 is offline   Reply With Quote
Old 10th December 2011, 13:49   #3  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
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?

Last edited by sneaker_ger; 10th December 2011 at 13:53.
sneaker_ger is offline   Reply With Quote
Old 10th December 2011, 13:56   #4  |  Link
gyzel01
Registered User
 
Join Date: Nov 2011
Posts: 7
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

Last edited by gyzel01; 10th December 2011 at 13:59. Reason: edit: color conversing needed because individual filters need different color format. but its ok cause it is blackNwhite
gyzel01 is offline   Reply With Quote
Old 10th December 2011, 15:33   #5  |  Link
gyzel01
Registered User
 
Join Date: Nov 2011
Posts: 7
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?

Last edited by gyzel01; 10th December 2011 at 15:36.
gyzel01 is offline   Reply With Quote
Old 10th December 2011, 17:15   #6  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
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:
Code:
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.

Last edited by sneaker_ger; 10th December 2011 at 17:19.
sneaker_ger is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.