This is what I am trying to do. I am trying to encode "15 Minutes" into DivX5.02. Does anyone know of the best way to get the deleted scenes back into the movie. What I basically need is a Precise Frame by frame VOB file splitter with preview so I can I make a correct D2V project file with new files. Any help would be greately appreciated.
------------------------------- John BettieII is my Titanium Grey '04 745i Sport
No need to cut before making a .d2v file. I believe the easiest (although still not easy) way would be to just do your .d2v files as usual, and make precise frame accurate cuts in Avisynth. Use VirtualDub to find the correct frames to input in Avisynth's Trim() function. Example: 1) Make .d2v files of the entire movie and of each part you want to insert 2) Load all of these into Avisynth using movie=MPEG2Source("insert_movie_here.d2v") scene1=MPEG2Source("insert_deleted_scene_1_here.d2v") .. .. etc Return movie+scene1+..+.. 3) Open this .avs file in VDub to find the correct frame numbers where you want to insert and add the folowing lines to your .avs: movie_part1=movie.Trim(0,1000) movie_part2=movie.Trim(2000,3000) movie_part3=movie.Trim(8000,8500) Return movie_part1+scene1+movie_part2+scene2+movie_part3+..+.. I hope you get my point? :)
Here's my avs file that i made. Does it look right to you? LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll") # SOURCE movie=mpeg2source("D:\15_MINUTES\VIDEO_TS\movie.d2v") scene1=mpeg2source("D:\15_MINUTES\VIDEO_TS\deleted1.d2v") scene2=mpeg2source("D:\15_MINUTES\VIDEO_TS\deleted2.d2v") scene3=mpeg2source("D:\15_MINUTES\VIDEO_TS\deleted3.d2v") scene4=mpeg2source("D:\15_MINUTES\VIDEO_TS\deleted4.d2v") scene5=mpeg2source("D:\15_MINUTES\VIDEO_TS\deleted5.d2v") scene6=mpeg2source("D:\15_MINUTES\VIDEO_TS\deleted6.d2v") return movie+scene1+scene2+scene3+scene4+scene5+scene6 # # TRIM #trim(startframe,endframe) movie_part1=movie.Trim(0,13444) deleted1=scene1.Trim(163560,166482) movie_part2=movie.Trim(13445,38210) deleted2=scene2.Trim(166484,167937) movie_part3=movie.Trim(38211,52422) deleted3=scene3.Trim(167980,169470) movie_part4=movie.Trim(52423,124400) deleted4=scene4.Trim(169480,171086) movie_part5=movie.Trim(125568,140608) deleted5=scene5.Trim(171094,176953) movie_part6=movie.Trim(140723,144086) deleted6=scene6.Trim(177179,179715) movie_part7=movie.Trim(144503,163542) return movie_part1+deleted1+movie_part2+deleted2+movie_part3+deleted3+movie_part4+deleted4+movie_part5+deleted5+movie_part6+deleted6+movie_part7 # # CROPPING crop(11,55,698,366) # # RESIZING BicubicResize(696,308,0,0.5) # Another question. Now when I open this file in VDub it shows the deleted scenes at the end of the movie and the trimming is not previewed at all. Is there anyway to preview the final location of the files before encoding it?
The first return makes avisynth forget everything after it. Also, do you really need to add the trim to every deleted scene? If the .d2v's are created correctly you should be able to use this script: Code:
------------------------------- 2007 Odyssey EX-L RES (mods Birtax Regent & Roundabout) 1994 Volvo 850 (mods Britax Marathon) had 1992 325i sold 10/1991 build 325i (Dinan chip, Eibach springs, 99 M3 muffler) 1994 Accord EX-L sedan (stolen!) 1972 Pontiac Grand Ville coupe (that's 45
Yes, I do need to trim each scene otherwise i would have a bunch of black frames (as much as 10-15) in the middle of my movie
------------------------------- If I could do it all again, I would, just to be with my friends--my brothers. West Point c/ '03 Always Loyal. Always There!
No replys in 2 days :( . I am also wondering, maybe i should use AllignedSplice instead of Unalligned? Still can't trim all parts of the movie and the scenes. I got the movie to trim with untrimmed extras but it looks pretty bad and the sound is offsynch.
------------------------------- All of my racing videos can be downloaded here. All of my racing videos can be streamed here. Everything you want to know about my car here.