Please help me in saving/grabing frames from m2tsi movie file.
input : m2ts video file
out put : ALL frames saved as bmp files.
I used following script, and could see m2tsi movie on the screen, but all saved bmp files are corrupted. My similar/simple code worked OK with avi video file. What is wrong with my script ?
What I need is ALL frames of m2tsi video file converted in bmp files. (For test purpose, I have trimmed frames.) Without yadif.dll, my bmp files are corrupted as well.
Thanks in advance for your help.
DirectShowSource("C:\ux7.m2ts")
load_stdcall_plugin("C:\AviSynth\yadif17\yadif.dll")
yadif(mode=1)
Trim (0, 5)
ImageWriter(file = "C:\im\Remo%03d.bmp")
===
At my other post, thanks for poisondeathray, poisondeathray suggested to use following. Now bmp file is OK, but image quality is bad. 1 or 2 pixels seem shifted away etc. Any cure to fix the problem? Thanks for all.
DirectShowSource("video.m2ts")
ConvertToRGB(matrix="rec709")
+ Reply to Thread
Results 1 to 3 of 3
-
Last edited by jhpark; 15th Oct 2012 at 05:46.
-
and manono
you should reference where you detailed the problem and solution
https://forum.videohelp.com/threads/350045-%5BQ%5D-video-frame-grabbing-software
In your script above, you are single rate deinterlacing (half the fields are thrown away)
If you wanted to use yadif with double rate deinteralcing
Yadif(mode=1, order=1)
You need to specify order =1 for top field first (all HD content is usually top field first)
Another option is to use slower, higher quality deinterlacers like QTGMC
Similar Threads
-
ffmpegsource2 error in Avisynth
By fidogenial in forum Newbie / General discussionsReplies: 23Last Post: 16th Jun 2016, 18:58 -
Sudden RipBot error (avisynth error)
By Charles314 in forum DVD RippingReplies: 5Last Post: 24th Oct 2010, 01:44 -
AVISynth script error
By rvnwlf in forum Blu-ray RippingReplies: 1Last Post: 24th Aug 2010, 19:52 -
AVISynth script error
By rvnwlf in forum Newbie / General discussionsReplies: 0Last Post: 11th Jun 2010, 13:33 -
meGUI - AVISynth Error!
By th3obr0 in forum Video ConversionReplies: 2Last Post: 27th Jan 2009, 21:20