Delete the red bits after indexing the .m2v files with DGIndex:
Code:DGDecode_mpeg2source("YourSourceFile'sPath.d2v", cpu=4, info=3) LoadPlugin("F:\[0]StandAloneApps\MeGUI-64bit[Portable]\tools\avisynth_plugin\ColorMatrix.dll") ColorMatrix(hints=true, threads=0)
+ Reply to Thread
Results 61 to 90 of 136
-
-
So what I ended up doing for the minute is COMPLETELY wiping everything, AviSynth and MEGUI as I realised that I had created a whole mess - apparently MEGUI's portable version of AviSynth and the standalone can cause some sort of weird interplay - it gets entered in the registry and as such can try and cross polinate plugins with each other. I'm sure someone more familiar with it can figure it out but I figured it would be better to start anew.
Plus I've decided to re-do Futurama as the old versions I have for some reason were 710x480, not sure why!
With all that said (and again, thank you so much for all your help) if I am to use your version with a completely clean slate, what's going to be the best way? I realise...I've never actually done more than one episode at a time with AviSynth since I spent so long testing the same episode over and over. Do you have to duplicate the script but name each different source file? As you can tell, I have no real clue what I'm doing. -
OK. Make a new folder in a place convenient for you and call it something like "EncodingTemp", whatever you want. Then place each .mkv episode in its own thoughtfully named subfolder, like "S1.E1", "S2.E2", etc., then batch demux each .mkv's video file with MKVcleaver. Now you'll have .m2v files. Get that going and I'll upload my stuff then PM you. Ahhh, these are indispensible:
AVSMeter (forum thread)
Avisynth Info Tool (forum thread)
Universal Avisynth Installer (forum thread)
Maybe try to wrap your head around some of this before you begin encoding .Last edited by LouieChuckyMerry; 18th Nov 2023 at 21:46. Reason: Grammar And-Or Syntax
-
Thanks again, I at least was able to use Powershell to shift all the episodes into an individual folder so that didn't take as long as I thought.
On the move with MKVcleaver now!
All done, that was actually quite painless!Last edited by drojman; 18th Nov 2023 at 22:45. Reason: Process complete.
-
-
Yes, all in their own folder quite nicely. Powershell is excellent for that sort of thing thankfully.
Hope the hangover is getting better -
It is, thanks . Couldn't resist, ha ha. Did you download my MeGUI and plugins? And use Groucho2004's awesome tools to sort out your AviSynth installation (my MeGUI doesn't use the included AviSynth+)?
-
I've downloaded everything I think I need now, watching the Futurama rips back, the combing on them is so bad
-
I've the NTSC and PAL DVD's of the classic first four seasons and both sets are horrible quality. After LOTS of help the final script on the Futurama thread produces results as good as The Simpsons script. Good luck with your projects, I'll answer any questions I can.
-
How did your MEGUI interplay with the seperate AviSynth? That's where my errors creep in. It seems like it gets confused between the two and tried to run a script that doesn't exist in install, despite which setting in MEGUI I use in regards to an external or internal use of AviSynth.
And a more general question, I understand the idea behind cropping the 16 pixels, in reality without the crop and allowing the picture to remain as 720x480 what real word difference would there be, if any?Last edited by drojman; 19th Nov 2023 at 14:54. Reason: Can't type!
-
Honestly, I can't ever remember any issues with the AviSynth included with MeGUI because when I began using it that feature didn't exist so I had to have AviSynth installed. My knowledge is quite limited with regards to actually making AviSynth functional on a computer; the AviSynth thread at doom9.org is a good place for help. Also, those tools by Groucho2004 should be some help.
The reason each side is cropped is because they're not clean, but you can judge for yourself. And, you could always crop the sides but resize to 720x480 anyway; I cropped the 8 pixels each side then upscaled to 960x720 and it's not in the least noticeable. -
Ok...let me see if I have this somewhat correct at least in terms of the process itself:
Seperated .m2v files in their own folder which will individually be process by MEGUI, and treated as their own thing.
Once the processing is done and the files are cleaned up, do I demux all audio from the other non - edited MKVs and then combine them? -
My work flow for TV series is to have a main folder with subfolders for each season that themselves have subfolders for each episode. In each episode subfolder I have the subtitles with the name of the episode, like "S1E1-SimpsonsRoastingOnAnOpenFire.srt" and the source file "S1.E1-OriginalVideo,OriginalAudio(s).mkv". I then batch demux the video and audio(s) files with MKVcleaver and rename the audio file(s) logically. Then, for .m2v video (DVD's) I batch index with MeGUI and the default DGIndex, batch encode the episodes after running as many tests as necessary to determine a reasonable CRF, then, using MKVToolNix I'll remux the encoded video with the original audio(s), using the subtitle with the proper episode name as the first file loaded into MKVToolNix (but not ticked) so that the resulting .mkv file is also then named properly (I'll upload you my portable MKVToolNix with useful settings). Just a moment...
Last edited by LouieChuckyMerry; 19th Nov 2023 at 16:36. Reason: Grammar And-Or Syntax
-
Would this apply if I have already renamed the files correctly with Filebot?
So what I did was:
1. Organise each MKV into is own folder, while also being correctly named.
2. Demuxed it so I have the audio (english and commentary), subtitles and video file. They are labelled (for example) Track1_The Series has Landed)
What I planned to do is once the videos are processed is re-feed them back through Filebot, I think from my experience enough of the name is intact that Filebot would be able to recognise and rename them. -
I've never used Filebot, but if it works for you that's great, and the rest seems like a good plan .
-
Great, I'm hoping to do it that way. Thank you for the files though as I will keep them handy for anything Filebot won't recognise which is definitely possible.
Now on to the actual hard bit and figuring out how to apply MeGUI/Avisynth to all the M2V files at once. What I've done for the minute is make a copy of all files so I can at least test without ruining anything -
I always have two separate sets of all my source files because I'm an Eye-Die-Ott . I use Everything to search the main folder, then type ".m2v" so that only the video files are shown, then drag & drop them to MeGUI one by one and batch index them. Then I again use Everything to search the main folder, typing ".avs", so I can then drag & drop them one by one and batch encode them. I use Everything for, er, almost everything when dealing with TV series encoding.
-
I have made a clone of the Futurama files each step of the way. I think I might have about 200GB used just for these first 4 DVDs!
That Everything tool is incredibly useful and just what I need, thank you!
I know have AviSynth setup and verified using the tools you sent me...I think. I copied the plugins folder to the AviSynth version I installed too, which I hope will work/was the right thing to do.
In terms of the scripting now, I see there's a few included, should I be using them/any of the others you've used. I've sort of decided to go with Futurama first as I'm more familiar with it, so I figured I'd take a bit at that first.
I'm really sorry to be a pain, and again I realise I'm asking a lot. Any chance you could show me your work flow for actually processing the files in MEGUI? I think I can see what I'm doing, but I'd be lying if I said I was sure. -
For the first four seasons I have 140GB x 2 and the DVD's for extra backup, ha ha.
I find it indispensable.
You can use the AVS Info Tool to check things out.
The profile you want is "Tools/AVS Script Creator/AviSynth profile/zFuturama[Upscale][NTSC]". Go there and select it then close the small window; this makes it so that profile will be the default choice when indexing. Before you dive in, take a bit of time with just a couple episodes to get the hang of things. Trust me on that; I rerererere-encoded both The Simpsons and Futurama because I was too excited. Literally.
Please explain? No worries, I simply am confused. Back in about thirty minutes...Last edited by LouieChuckyMerry; 19th Nov 2023 at 17:30. Reason: Grammar And-Or Syntax
-
I used that to check and it warns me that I have a duplicate but reading the Doom9 forum that's just a warning and acceptable.
Currently making a backup now of everything that I've split so I can test it, will probaby split down into a smaller group again for further testing to see exactly what's what.
Sorry I'm not really being super clear, I'm scanning through the docs now. Basically I think the only thing I have left to do is basically figure out how to apply AviSynths script to a big batch of files and process them one by one.
By the way, with your processed files do you overwrite your input files or create new? I'm thinking for later when remuxing together it's going to get complicated ensuring I combine the correct rencoded file and not the original ;
Out of interest MEGUI seems to offer a Demuxing option, to split audio, am I being stupid in seeing this though?Last edited by drojman; 19th Nov 2023 at 18:44.
-
You could run a simple test by indexing a single .m2v file with the Futurama profile, fixing the two lines in the resulting .avs file mentioned earlier, then see if the script loads OK or crashes MeGUI.
Wha?
Once we've determined whether or not your AviSynth-MeGUI is up and running, we can deal with this.
I don't quite understand the bit in italics. To avoid confusion, I have my sources on my laptop's HDD storage drive, MeGUI on a RAMDisc (not necessary; I just thought "Why not?" at the time I set things up), and have the encoded video (MeGUI output) created in a "ReEncTemp" folder on my laptops SSD C:\ drive. Seems to me having the sources and the encodes on different drives is a good thing so one disc isn't doing everything (but perhaps I'm being silly). -
OK sorry, I think I've had a few lightbulb moments! Well not lightbulb, someone in the distance maybe lit a candle or something.
I couldn't figure out the interplay between the indexing and script creation, but I now do. It's index first, then edit the AVS file. I had the crash you were experiencing so I still need to go and fix that (daunting!) but that's something that is certainly doable. I'm sorry if I don't use the correct terminology along the way, but I do think I better understand the tool now. I'm going to have a go and re-encoding one now and will post back results, and now I finally understand why I have to split the MKVs too!
Ignore my ramblings about storage. I was/am trying to figure out the best way to make it easier for my brain to manage. Basically I was musing how best to have MEGUI output a video file in a way that's going to make it easy to remux with my split audio files. If that makes any sense.
Edit: Even after editing out the offending comments in my .avs file MEGUI crashes when I load the script...Last edited by drojman; 19th Nov 2023 at 19:02. Reason: Crashing
-
To save time, if MeGUI doesn't crash when you load a script than it'll run fine; also, as you'll note at the bottom of all my profile scripts is:
Code:# # Trim() # SelectRangeEvery(1000,66)
As above, I think keeping the sources separate from the outputs is mandatory for chaos control (if not hard drive abuse). When muxing your encoded video with the original audio I find it easiest to simply have the source folder open, open MKVToolNix, drag the subtitle to MKVToolNix to establish the output file name (but it won't be part of the .mkv file because MKVToolNix is set to have the first file drag-dropped be the default output file's name but not tick {include in the output} any subtitle files, then add the audio(s) from the already-open source folder, then right-click in the "File name" box (upper-left), then select the video file from the dialogue box (adjust Window's dialogue box such that your output folder is visible in the dialogue box to save navigation time; I'll shoot an image).Last edited by LouieChuckyMerry; 19th Nov 2023 at 19:43. Reason: Clarity
-
So I think I've hit a snag with my AviSynth+ install - whenever I try and index the files using that profile, and then hit save, MEGUI crashes. I switch to the 32bit version of AviSynth and the indexing completes perfectly, but when I run the script to actually process the video, I get an error because some of the plugins I have are 64 bit. Time to try and fix that.
I don't supposed you know which version you AviSynth you're using?
Sorry just saw that you replied, will read... -
Unfortunately it'll do that until the two lines are fixed, which is far from functional when you have to restart MeGUI for every frackin' episode (I did seek help; no answers yet). I'm using AviSynth+ 3.7.2 (r3661, 3.7, x86_64). Did you fix the offensive two lines in the script? Ahhh, you could index all the .m2v files with your 32bit version (not "+", I think that's why the two lines cause trouble; hey!, does the 64bit verion of AviSynth work; that would make it so you could index and encode without switching versions), batch fix the two lines with Notepad++ (or whatever you use in place of Notepad), then run the encodes with AviSynth+. Not ideal but better...
-
Unfortunately I think this is a seperate issue, MEGUI isn't even letting me complete the process - it will crash immediately aftering I've indexed the file and then whenever I try and save the AVS script. Even if I edit the AVS file after the crash - it does appear to successfully save - I still get a crash whenever I even selected it in MEGUI.
However, even though I've been using the universal installer I am only on 3.6.0 which is far behind the version you are on. I will swap to that and see what happens. If not I'm not sure what to do for the minute.
Crashing even with 3.7.2+...Last edited by drojman; 19th Nov 2023 at 20:15. Reason: Info
Similar Threads
-
Encoding PC build in progress. Suggestions?
By louv68 in forum ComputerReplies: 15Last Post: 14th Jan 2013, 08:55 -
Need help optimizing video clips and software tips
By p1er in forum Newbie / General discussionsReplies: 6Last Post: 20th Aug 2012, 18:07 -
Optimizing audio using a Canon Vixia HF100 with external mic
By Michiko280 in forum AudioReplies: 30Last Post: 23rd Feb 2012, 14:02 -
Optimizing Settings for youtube upload like fast start etc for x264 encoder
By vibes992000 in forum Video Streaming DownloadingReplies: 2Last Post: 6th Feb 2012, 00:30 -
New to tbc - need advice on optimizing Panasonic svhs ag1970 w/tbc
By yoda313 in forum Capturing and VCRReplies: 8Last Post: 15th Jan 2011, 10:43