Remapping error means the analysis didn't work correctly and the wrong number of frames were extracted.
Make sure there is not any blank leader at the start and end of the video. Use the -r parameter (start and end frame) to exclude leader at the start and end of the video.
Also, try using 2 for exposure. This will add an auto levels function for the analysis. It will lighten dark frames and darken bright frames for a more precise analysis. This should allow the process to finish. Be aware that it will slow down the analysis pass.
Thanks for your reply and explanation. I must say that I did not apply to the transferring. I must knuckle down to do that and later experiment with switches.
This is an incredible program. Frame serving from Vegas to XtractorCL allows me to cut out leaders and bad splices. I have compared frame accurate captures to XtractorCL and the same number of frames were captured. Very easy and economical way to do frame accurate HD captures!!! Thank you Khaver for your efforts !!
Hi khaver. Trying to use your program with some files I captured using my Canon DSLR at 24fps (projector at 6fps). However I'm a bit green when it comes to avisynth syntax. Since Canons spit out .mov files I think I can't use directshowsource. I installed quicktime and placed the QTSource.dll in the avisynth plugins folder. I created a text file called file.avt and put in the line:
#__source__# QTInput
I then set the xtractorcl.exe -s switch to 1 and called the template using -t. What I get is an endless loop of the utility attempting to run and failing with:
OK to get around this I used MPEGStreamClip to get it to an AVI file. Unfortunately now I'm having the same problem as your first commenter "Remapping...Error". I tried your suggestions of excluding the black frames from the beginning and end of the file and using 2 for exposure. I even tried just processing frames 60-160 and still get the remapping error. Not sure what else to try.
bookemdano08, I think the problem might be because you captured using 24fps on your camera instead of 60i or 60p. The higher the frame rate you capture with the better chance that you will capture those blurry frames while the film is being pulled down to the next frame. Cine X-Tractor needs to see those blurry frames to distinguish between those where the film is a rest in the gate. If you can, try 60i or 60p to recapture the film. And just to rule out the obvious, does your projector have the shutter disabled or removed? Cine X-Tractor won't work when using an unmodified projector.
Also, in order to use the QTSource plugin you will need to add the following to your template file:
#__source__# QTInput("__VID__") #add other QTInput options if need
The __VID__ will be replaced with the path to your video file.
Ahh! Thanks for the reply and advice khaver. Yes indeed I am shooting at 24p. But since the projector is going at 6fps I figured that there should be ~3 captures (including the blurred one) for each film frame.
I will try capturing again at 60p and see if that allows the plugin to work. Thanks also for the correct syntax to use QTSource.dll--saves me a conversion step!
Just curious bookemdano08 - were you ever successful using your QuickTime file as a source? If so - I'd love to know how as I'm currently running into an issue.
Thank you for this tool, it is awesome! I've had success using a AVI file, but I'd love to import a QuickTime or MP4 file. My Canon 60D camera records in a QuickTime (.MOV / AVC1 codec). Converting to AVI makes the files larger and makes my Blu-ray/DVD encoding process more of a headache.
I've tried using the suggestion above using the QuickTime plug-in, but I ran into the same issue. Which is "Source parameter in template contains no video file placeholder!" and "Unable to create analysis script" - this goes on in a loop, forcing me to quit the command prompt (control c).
I've also followed the avisynth wiki and tried editing my proc.avt to use an MP4 source, but I've run into the same issue. Am I doing something wrong? If so, I'd appreciate your expertise. Below is my command prompt text and the text of my .avt file (this was for the MOV attempt, the MP4 one is similar)
Any help would be great. Have you had success using a MOV or MP4 (or non DiretShow codec?) Am I missing something simple?
Steven, don't enter the path and name of your input mov file into the #__source__# line of the avt file. You need to actually enter "__VID__". XtractorCL will replace that with the file path and name you enter on the command line.
Vihar, you can use any video format that Avisynth can open. There are media source filters that you can get for Avisynth that can read many formats. FFMS2 is one based on ffmpeg so it can open any format ffmpeg can open. You will need to use the parameters for XtractorCL that tell it to use the template file for the video decoder and add the line for FFVIDEOSOURCE to the template file.
If you did get it to work and you are opening the generated .avs file with Virtualdub, you can set the output compression format in Virtualdub to any Video for Windows codec you have installed on your computer.
Hi, Khaver I run him a few times and make a mistake. The movie is normally exposed and I can not figure out where the problem is. I shot it in 6 frames. Do you have any idea?
Hi!
ReplyDeleteI have something like this:
Cine X-Tractor (Command Line) 1.0.0 by khaver (c)2014
AviSynth 2.58, build:Dec 22 2008 [08:46:51]
[Wed Feb 11 23:03:11 2015] Starting extraction...
Video file: P:\Super8\╗ CineXTractorCL\8mm.mts
Output FPS: 18.000
Starting frame: 0 Ending frame: 0
Exposure: 0 (Normal)
Source: 0 (Directshow)
Cadence: -1.000
Processing: 0 (None)
Template:
Running frame comparison script "P:\Super8\╗ CineXTractorCL\8mm-CXT.avs"
Total frames: 5833
Length (hhh:mm:ss.ms): 000:03:53.320
Frame width: 1920
Frame height: 1080
Frames processed: 5833 (0 - 5832)
FPS (min | max | average): 14.94 | 198.6 | 94.00
Time (elapsed): 000:01:02.055
Progress: 100
Frame metric file "P:\Super8\╗ CineXTractorCL\8mm-CXT.cmb" created.
Cadence = 3.556
Remapping... Error!
What's means the last line: ""Remapping... Error!" I tried with different video files and always XtractorCL end with this error.
Remapping error means the analysis didn't work correctly and the wrong number of frames were extracted.
ReplyDeleteMake sure there is not any blank leader at the start and end of the video. Use the -r parameter (start and end frame) to exclude leader at the start and end of the video.
Also, try using 2 for exposure. This will add an auto levels function for the analysis. It will lighten dark frames and darken bright frames for a more precise analysis. This should allow the process to finish. Be aware that it will slow down the analysis pass.
Thanks for your reply and explanation. I must say that I did not apply to the transferring. I must knuckle down to do that and later experiment with switches.
ReplyDeleteThis is an incredible program. Frame serving from Vegas to XtractorCL allows me to cut out leaders and bad splices. I have compared frame accurate captures to XtractorCL and the same number of frames were captured. Very easy and economical way to do frame accurate HD captures!!!
ReplyDeleteThank you Khaver for your efforts !!
Hi khaver. Trying to use your program with some files I captured using my Canon DSLR at 24fps (projector at 6fps). However I'm a bit green when it comes to avisynth syntax. Since Canons spit out .mov files I think I can't use directshowsource. I installed quicktime and placed the QTSource.dll in the avisynth plugins folder. I created a text file called file.avt and put in the line:
ReplyDelete#__source__# QTInput
I then set the xtractorcl.exe -s switch to 1 and called the template using -t. What I get is an endless loop of the utility attempting to run and failing with:
[Sat Apr 18 16:20:03 2015] Starting extraction...
Video file: d:\dcim\100canon\mvi_1866.mov
Output FPS: 16.000
Starting frame: 0 Ending frame: 0
Exposure: 0 (Normal)
Source: 1 (Avisynth)
Cadence: -1.000
Processing: 0 (None)
Template: C:\Users\Dan\Desktop\CineX\file.avt
Source parameter in template contains no video file placeholder!
Unable to create analysis script
I have to control-c to get out of it. QTinput should be the right way to call QTSource. I'm not sure how to include the placeholder it's asking for.
Any ideas? Probably something dumb I've overlooked as usual. Thanks!
OK to get around this I used MPEGStreamClip to get it to an AVI file. Unfortunately now I'm having the same problem as your first commenter "Remapping...Error". I tried your suggestions of excluding the black frames from the beginning and end of the file and using 2 for exposure. I even tried just processing frames 60-160 and still get the remapping error. Not sure what else to try.
Deletebookemdano08, I think the problem might be because you captured using 24fps on your camera instead of 60i or 60p. The higher the frame rate you capture with the better chance that you will capture those blurry frames while the film is being pulled down to the next frame. Cine X-Tractor needs to see those blurry frames to distinguish between those where the film is a rest in the gate. If you can, try 60i or 60p to recapture the film. And just to rule out the obvious, does your projector have the shutter disabled or removed? Cine X-Tractor won't work when using an unmodified projector.
DeleteAlso, in order to use the QTSource plugin you will need to add the following to your template file:
#__source__# QTInput("__VID__") #add other QTInput options if need
The __VID__ will be replaced with the path to your video file.
Ahh! Thanks for the reply and advice khaver. Yes indeed I am shooting at 24p. But since the projector is going at 6fps I figured that there should be ~3 captures (including the blurred one) for each film frame.
DeleteI will try capturing again at 60p and see if that allows the plugin to work. Thanks also for the correct syntax to use QTSource.dll--saves me a conversion step!
Oh yeah to answer your question yes my shutter blades are removed, so the blurred frames during pulldown are definitely present in the source clip
DeleteJust curious bookemdano08 - were you ever successful using your QuickTime file as a source? If so - I'd love to know how as I'm currently running into an issue.
DeleteThank you for this tool, it is awesome! I've had success using a AVI file, but I'd love to import a QuickTime or MP4 file. My Canon 60D camera records in a QuickTime (.MOV / AVC1 codec). Converting to AVI makes the files larger and makes my Blu-ray/DVD encoding process more of a headache.
ReplyDeleteI've tried using the suggestion above using the QuickTime plug-in, but I ran into the same issue. Which is "Source parameter in template contains no video file placeholder!" and "Unable to create analysis script" - this goes on in a loop, forcing me to quit the command prompt (control c).
I've also followed the avisynth wiki and tried editing my proc.avt to use an MP4 source, but I've run into the same issue. Am I doing something wrong? If so, I'd appreciate your expertise. Below is my command prompt text and the text of my .avt file (this was for the MOV attempt, the MP4 one is similar)
Any help would be great. Have you had success using a MOV or MP4 (or non DiretShow codec?) Am I missing something simple?
Command Prompt:
C:\Cine X-TractorCL>XtractorCL.exe "C:\Users\Steven\Desktop\8mm\8mm.mov" -f 16 -e 0 -s 1 -p 3 -t "C:\Users\Steven\Desktop\8mm\procmov.avt"
AVT file for QT MOV: (I've tried with the full file path and shortened)
#__source__# QTInput("8mmQT.mov")
or
#__source__# QTInput("C:\Users\Steven\Desktop\8mm\8mmQT.mov")
AVT file for MP4:
#__source__# FFmpegSource("C:\Users\Steven\Desktop\8mm\8mm-mpeg4.mp4")
Thanks!!
-Steven
Steven, don't enter the path and name of your input mov file into the #__source__# line of the avt file. You need to actually enter "__VID__". XtractorCL will replace that with the file path and name you enter on the command line.
ReplyDeleteOk that explains the loop, thank you so much for the prompt reply. I'll try that. Thanks! :D
DeleteHi Khaver,
ReplyDeleteWe have issue trying to use this convertor. Following error pops up.
Running frame comparison script "F:\Telekinoprobi\6FR\6 frame-CXT.avs"
Evaluate: System exception - Access Violation
(F:\Telekinoprobi\6FR\6 frame-CXT.avs, line 1)
Frame metric file "F:\Telekinoprobi\6FR\6 frame-CXT.cmb" not created!
Can you help?
Regards
Can you post the first few lines from the file, "F:\Telekinoprobi\6FR\6 frame-CXT.avs". Something in that file is causing an error in Avisynth.
DeleteHi Khaver, thanks for the answer and the attention.
DeleteI need to digitise old family movies. My equipment consist of projector
Eumig 610D with obturator without wings and Camera Nikon D5100. The
video-file is been shot in 6fr/sec of the projector. The adjustments of
the camera are manual 1280/720/25fps. The .MOV file is converted in
.MTS. I need to eliminate the ¨flaw¨ frames but with no other corrections
/in case, I’ll do it with another software/. There is other question: Is
it indispensable/necessary to have the files in .MTS ? Could I work in
.MOV or MPEG 2 or AVI ?
I got it with WIN XP. WIN7 / 64 did not work. The finished Virtual Dub
file is very large .AVI- 40 sec - 1.6GB. Can this change?
Thanks in advance
Vihar
Hi Khaver
DeleteThe problem arises from the VirtualDub settings
Vihar
Vihar, you can use any video format that Avisynth can open. There are media source filters that you can get for Avisynth that can read many formats. FFMS2 is one based on ffmpeg so it can open any format ffmpeg can open. You will need to use the parameters for XtractorCL that tell it to use the template file for the video decoder and add the line for FFVIDEOSOURCE to the template file.
DeleteIf you did get it to work and you are opening the generated .avs file with Virtualdub, you can set the output compression format in Virtualdub to any Video for Windows codec you have installed on your computer.
Hi, Khaver
DeleteI run him a few times and make a mistake. The movie is normally exposed and I can not figure out where the problem is. I shot it in 6 frames. Do you have any idea?
C:\8mm\Cine X-TractorCL>XtractorCL.exe "C:\8mm\Cine\R1.mts" -f 6 -c -1
Cine X-Tractor (Command Line) 1.0.0 by khaver (c)2014
AviSynth 2.58, build:Dec 22 2008 [08:46:51]
Cadence on command line = -1.000
[Wed Jun 28 00:49:08 2017] Starting extraction...
Video file: C:\8mm\Cine\R1.mts
Output FPS: 6.000
Starting frame: 0 Ending frame: 0
Exposure: 0 (Normal)
Source: 0 (Directshow)
Cadence: -1.000
Processing: 0 (None)
Template:
Running frame comparison script "C:\8mm\Cine\R1-CXT.avs"
Total frames: 34137
Length (hhh:mm:ss.ms): 000:22:45.480
Frame width: 1280
Frame height: 720
Frames processed: 34137 (0 - 34136)
FPS (min | max | average): 92.17 | 151.0 | 131.4
Time (elapsed): 000:04:19.819
Progress: 100
Frame metric file "C:\8mm\Cine\R1-CXT.cmb" created.
Cadence = 4.802
Remapping... Error!
C:\8mm\Cine X-TractorCL>XtractorCL.exe "C:\8mm\Cine\R1.mts" -f 18 -e 2 -c -1
Cine X-Tractor (Command Line) 1.0.0 by khaver (c)2014
AviSynth 2.58, build:Dec 22 2008 [08:46:51]
Cadence on command line = -1.000
[Wed Jun 28 01:08:23 2017] Starting extraction...
Video file: C:\8mm\Cine\R1.mts
Output FPS: 18.000
Starting frame: 0 Ending frame: 0
Exposure: 2 (Normal)
Source: 0 (Directshow)
Cadence: -1.000
Processing: 0 (None)
Template:
Running frame comparison script "C:\8mm\Cine\R1-CXT.avs"
Total frames: 34137
Length (hhh:mm:ss.ms): 000:22:45.480
Frame width: 1280
Frame height: 720
Frames processed: 34137 (0 - 34136)
FPS (min | max | average): 74.65 | 99.82 | 92.91
Time (elapsed): 000:06:07.435
Progress: 100
Frame metric file "C:\8mm\Cine\R1-CXT.cmb" created.
Cadence = 4.806
Remapping... Error!
Regards
Vihar