Log in

View Full Version : saving image sqequence (motion).


lamapoo
2nd June 2004, 18:02
I'm pretty sure I won't be getting an answer to this anytime soon, seeing I'm probably the only person who will ever need this. But I extract screen caps on a regular basis using a framedecimation of 300. The problem is that most of my screen caps are affected by motion blur and I'm stuck selecting the good screen caps from the bad ones. The proccess itself is pretty time consuming. Considering I encode about 20 movies a week, at 1:30:00 each, that's about 11000 pictures to go trough.

The question: Is there a way to go trough the movie frame by frame, isolate frames that have no motion blur and extract them automatically?

Some docs of even a push in the right direction would be greatly apreciated.

Thanks.

rfmmars
3rd June 2004, 05:10
If I follow you right this is how I would do it. Using Virtualdub or a spin off mark the start and stop of each motion blur range and hit the delete key.

You do that one bad spot at a time. at the end you have nothing but good frames. Then you can framedecimation of 300 while in VD

You could also write down the frame range of the motion blurs and do it in Avisynth, but why when you could have done it while in VD. Its takes less time then writing down the frame ranges.

If there was a filter that could detact motion blurs rangers automaticlly and delete, that would be the answer, there maybe one out there...is there?

richard
www.photorecall.net

lamapoo
3rd June 2004, 13:10
I'm sorry, I'm the one not folowing you. Do you mean getting rid of blurred frames manually then saving the image sequence with a decimation of 300. I might as well just pick the screen caps myself one by one so I can select the frames that look best. Either way, we're still talking about hours of deleting frames or selecting pictures. Keep in my, I encode about 20 to 30 1:30:00 movies a week.

What I need is a way to isolate frames with motion blurr in them. The thing is I don't know where to start. I read some documentation on why there is a blur and how it makes the picture seem more natural compare to 3d animations. Also how sporting event's film at 100 frames per second leaving hardly any motion blur on every frame.
Basically, I know why there is a blur and how it's made, it's detecting it that boggles my mind.

I tought maybe if I can compare the sharpness between frames, keeping the frames with the sharpest images. I look into it today.

rfmmars
3rd June 2004, 14:43
The question: Is there a way to go trough the movie frame by frame, isolate frames that have no motion blur and extract them automatically?

I didn't understand that this was to be total automatic. When you said
Is there a way to go trough the movie frame by frame I thought you had to do that anyway.

My mistake.

richard

toysoldier
4th June 2004, 07:52
I suggest you can post this question to this forum:

http://neuron2.net/ipw-web/bulletin/bb/index.php

there are so many gurus to help you.

lamapoo
4th June 2004, 13:04
Thanks, I didn't think of checkin their forums. :)

scharfis_brain
4th June 2004, 13:12
would you be so kind to define 'screencaps' more precise?

I don't know what you mean!

please describe you process es detailed as possible.

also post a (link to a) video that shows your problem

lamapoo
4th June 2004, 16:52
would you be so kind to define 'screencaps' more precise?

I don't know what you mean!

please describe you process es detailed as possible.

also post a (link to a) video that shows your problem

What I mean by screen caps, is a frame in the video.

My process is pretty simple.

1.I rip and encode the dvds to avi (divx at 3000Kbps, 720x480).
2.Using Vdub, I save an image sequence with a frame decimation of 300. So basically, a frame every 5 seconds.

My problem is the motion blurr on my screen caps (frames). Some have a crisp and sharp images, others are just blurred at the spots where there is alot of motion. I was just wondering if there was a way to tell the diffrence between a sharp and blurry image and extract those frames.

I can't put a video, but I'll put up two pictures of what I mean.
www.dilau.com (http://www.dilau.com)

scharfis_brain
4th June 2004, 23:25
your page is black in all my browsers...

btw. motionblur is a very natural thing.

you may work with motionmasks to tell whether a frame contains motion, or not.

but it won't be very easy to make a solution that only returns no-motion images....

lamapoo
8th June 2004, 14:32
@scharfis_brain
I know it's a common to find motion blur. I read somewhere to reduce motion blur, the scene must be shot at over 90fps. Unfortunatley, not many movies or shows besides sporting events shoot videos at that framerate.

Sorry about the delay, I uploaded the pages this morning. How would I have to use a motion mask in order to find the frames that contain motion? Can we get a % of motion. It's defently worth a try. But I still beleive that isolating shapness in an image is the key to finding the best looking frames in a video. Anyways, I'll look into mostion mask because I'm afraid analyzing video frames for specific things like sharpness or blurring is way out of my level.

Thanks.

The pictures. (http://www.dilau.com)

pmedia
28th November 2004, 23:14
Originally posted by lamapoo
@scharfis_brain
I know it's a common to find motion blur. I read somewhere to reduce motion blur, the scene must be shot at over 90fps. Unfortunatley, not many movies or shows besides sporting events shoot videos at that framerate.

Sorry about the delay, I uploaded the pages this morning. How would I have to use a motion mask in order to find the frames that contain motion? Can we get a % of motion. It's defently worth a try. But I still beleive that isolating shapness in an image is the key to finding the best looking frames in a video. Anyways, I'll look into mostion mask because I'm afraid analyzing video frames for specific things like sharpness or blurring is way out of my level.

Thanks.

The pictures. (http://www.dilau.com)

Hi lamapoo :)

did you ever find a way to isolate the best frames? I'm also very interested in this.

Also how do you setup the "framedecimation of X" in Vdub?

thanks! :)

lamapoo
30th November 2004, 15:23
I got to work on it with one of my programmer buddies and we figure out a way to isolate the sharpest images.. but the process itself is more time consuming than going trough it manually..

as for frame decimation in vdub.. in the top menu video -> frame rate -> frame rate converstion -> decimate by..

pmedia
30th November 2004, 15:32
Originally posted by lamapoo
I got to work on it with one of my programmer buddies and we figure out a way to isolate the sharpest images.. but the process itself is more time consuming than going trough it manually..

as for frame decimation in vdub.. in the top menu video -> frame rate -> frame rate converstion -> decimate by..

Thank you very much. :)

How can the automated process be more timeconsuming? (just currious) And can you you tell me something about the way he coded it?