Hi guys.
I've got quite a few items I've recorded off my satellite box (VU+ Ultimo), that are stored as .ts files. I'm trying to convert these to XviD to save. I'm not too bothered about saving as x264 mkv or anything, as they're just children's programmes for my kid.
So, I've managed to use ProjectX to demux the audio and video (and check for any errors in the stream). Then, used DGIndex to create a d2v file. I then created a script in notepad to load the file in to virtualdubmod. I could then load the audio stream, select the start and end points, and then choose xvid as output, and it worked fine. Below is a copy of the script used:
This was on a cartoon, and seems to have given excellent results...Code:LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGDecode.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\Decomb.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ColorMatrix.dll") mpeg2source("C:\Users\User\Desktop\Mill_Moll\demux\20130611 1742 - Tiny Pop - Milly Molly.d2v") Telecide(guide=2,post=0) BicubicResize(608,336) ColorMatrix(mode="Rec.709->Rec.601")
However, I then tried doing it on another show (sooty if you must know), which is not a cartoon, and at the end of the file, the credits scroll horizontally across the screen. Well, this came out really weird. Any example screenshot below:
Now, I managed to create another script, which seems to have worked great, and resolved the weird credits, but it only gives an fps of 20, rather than 25. Here's a copy of that script:
Now, can anyone give me any pointers as to how to change the fps to keep it at 25? I tried using AssumeFPS(25, 1, true) command in the script, but this just seemed to make it look like they were on speed! lol...Code:mpeg2source("D:\Converting\Demux\20120618 1037 - CITV - Sooty.d2v") TFM().TDecimate() LanczosResize(608,336) ConvertToYV12()
So, any pointers anyone?
Many thanks
+ Reply to Thread
Results 1 to 12 of 12
-
-
assuming you want 25fps since your source is PAL content:
TFM().TDecimate() is ment to IVTC a telecined source.
Telecide acts on telecined progressive source and attempts to recreate progressive frames.
both are not ment for PAL content.
-> assuming you do this since your source is interlaced, you might want to use a deinterlacer instead of methods which are ment for telecined NTSC content. -
Would you be able to give me an example of a script to use then please? As I have no clue really on the scripts, and all de-interlacing I tried didn't seem to make any difference...
Sorry for being such a n00b, but I've spent ages trying to loads of different things, and this was the only one which gave me a decent result, but not correct! lol...
Thanks -
try a simple
bob() #this will double the frame rate and frame count
instead of
TFM().TDecimate()
to first see this effect really way due to the IVTC
If that helps you can switch to in example Yadif (http://avisynth.org.ru/yadif/yadif.html) or another deinterlacer (see: http://avisynth.org/mediawiki/External_filters#Deinterlacing). Most people will probably prefer QTGMC, but it's a lot harder to setup than yadif.
For Yadif:
1. download Yadif and extract the yadif.dll into your avisynth plugins folder
2. in your script simply call it through:
yadif() -
Don't follow TFM with TDecimate. Put another way, leave off TDecimate from the script as its use is almost always for NTSC IVTC decimation.
But Selur is right - this material might not be meant for TFM or Telecide at all (both are field matchers), but a general deinterlacer (ones such as TDeint or Yadif). If you don't know how to tell, please post a ten second example from the source, one with steady movement. -
Thanks for the replies guys...
Looks like I've got it sussed by using the following script:
Code:LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGDecode.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\Decomb.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ColorMatrix.dll") Load_Stdcall_plugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll") mpeg2source("D:\Converting\Demux\20120618 1037 - CITV - Sooty.d2v") yadif() Telecide(guide=2,post=0) LanczosResize(608,336) ColorMatrix(mode="Rec.709->Rec.601")
Thanks again for the help -
If the material is really interlaced (and not, for example, phase-shifted) and if it really needs a deinterlacer such as Yadif, then you don't want to add in a field-matcher such as Telecide afterwards as there are no fields to match. I don't know cartoons to be created interlaced. That's what these are, right? I suspect there's more here than meets the eye which is one reason a sample might be helpful.
I guess you're using the ColorMatrix filter because your source is Hi-Def? -
I agree, either replace:
Code:yadif() Telecide(guide=2,post=0)
Code:yadif()
-
Hi.
to be honest, I am using the above script, as it is what I found online somewhere that someone recommended for conversion. I can't even remember where I found it. But the source is not HD. It's just SD recordings from TV. So I assume I don't need the ColorMatrix either then?
Most of the items I am converting are cartoons, but there is mainly just this one that is not...
Here's a sample I took just before the credits...
Code:http://www34.zippyshare.com/v/60709262/file.html
-
normal interlaced sd mpeg-2 -> no ColorMatrix or Telecide needed,..
Code:# loading non-standard filters LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGDecode.dll") LoadCPlugin("C:\Program Files (x86)\AviSynth 2.5\pluginsyadif.dll") # loading source MPEG2Source("D:\Converting\Demux\20120618 1037 - CITV - Sooty.d2v") # deinterlacing; other Deinterlacers are possible, see: http://avisynth.org/mediawiki/External_plugins#Deinterlacing Yadif() # cropping, to remove the black border Crop(2,0,540,576) # scaling to end up with a 1:1 PAR, other Resizers are possible see: http://avisynth.org/mediawiki/Resize LanczosResize(704,400) return last
-
Thanks for that, will give it a go in a sec.
Can I ask though, looks like you took that from some sort of program that gave the output (possibly not, but it looks that way, if not, then thanks very much for the comments to help me out). But, if it was a program, can I just ask which?
Thanks lots again,
David -
I added some of the comments on my own, but yes, I used Hybrid (with AvisynthExtension) to generate the main part.
What I basically did is:
- Download Hybrid install it and copy the content of the avisynthExtension in the Hybrid folder
- Started Hybrid
- Loaded your file
- Enabled "Crop/Resize->Main->Picture Crop"
- Ran "Crop/Resize->Main->Picture Crop->Auto crop"
- Enabled "Crop/Resize->Main->Pixel Aspect Ratio (PAR)->Convert output to PAR"
- Set "Crop/Resize->Main->Pixel Aspect Ratio (PAR)->Convert output to PAR" to "Square Pixel (1:1)"
- Set "Crop/Resize->Main->Picture Resize->Target resolution" to 704
- Set "Filtering->(De-)Interlace/telecine->Deinterlacer" to "Yadif (Avisynth)"
- Hit "Filtering->Avisynth->Show current Avisynth script"
this gave me:
Code:SetMemoryMax(768) SetMTMode(2,0) # change MT mode LoadPlugin("G:\Hybrid\avisynthPlugins\DGDecode.dll") LoadCPlugin("G:\Hybrid\avisynthPlugins\yadif.dll") # loading source MPEG2Source(d2v="H:\Temp\96523635ts_deb1536f480475f7d593219aa1afd74c_41.d2v") # deinterlacing Yadif() # cropping Crop(2,0,540,576) # scaling Spline36Resize(540,306) distributor() return last
Cu Selur
Similar Threads
-
Need help converting Xvid to Xvid
By nas206 in forum Video ConversionReplies: 3Last Post: 16th May 2012, 17:12 -
Converting HD TV recording to MKV
By son_t in forum Video ConversionReplies: 7Last Post: 10th Feb 2012, 15:14 -
For playing VHS and converting/recording/whatever to DVDs
By The Binary Son in forum DVD & Blu-ray RecordersReplies: 5Last Post: 30th Jan 2012, 14:15 -
xvid to dvd converting help
By victoriabears in forum Video ConversionReplies: 12Last Post: 15th Nov 2010, 20:00 -
Recording Staright to XViD
By MosThaTeD in forum Newbie / General discussionsReplies: 18Last Post: 4th Sep 2008, 07:13