Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th January 2005, 00:02   #1  |  Link
cpc1225
Registered User
 
cpc1225's Avatar
 
Join Date: Sep 2003
Posts: 2
motion detection during encoding, not capturing

Hi, I am having some problem require assistance and hope some expert here will help me out.
I have to scan through 9 hour of video recorded from my surveillance camera every night, I wonder is there any way to filter out the portion without motion with encoding software.
I know there are some software will only records base on motion detection, but my capture card only works with it’s own software and the function is very limited.
Can any one help?
__________________
ezez take it easy
http://www.ezez.netfirms.com
cpc1225 is offline   Reply With Quote
Old 29th January 2005, 04:01   #2  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
a few of the VfW codecs have a frame-drop threshold in them. there are also programs that can strip out the dropped frames, so you'll end up with a short video with only the bits with large enough differences.

also, RV and WMV have dropdupe style filters for the same thing
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 31st January 2005, 00:32   #3  |  Link
cpc1225
Registered User
 
cpc1225's Avatar
 
Join Date: Sep 2003
Posts: 2
Thanks for the tips, but I could not understand those terms (RV, WMV, VFM).
Can you provide explanation in layman's term ( I thought I am good in this, but never come across those names ).
__________________
ezez take it easy
http://www.ezez.netfirms.com
cpc1225 is offline   Reply With Quote
Old 31st January 2005, 06:08   #4  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
arg, sorry... i always scold other people for talking in acronyms...

VfW = Video for Windows. this means basically anything that goes inside an avi file. virtualdub uses this interface. it has problems with things like b-frames, used by the more advanced codecs, but there are hacks to work around this (and dropped frames + bframes usually don't mix too well, so you should probably just avoid b-frames).

WMV = Windows Media Video. i'm not a fan of it (i'm a left-wing pinko, so i don't like Microsoft), but it is a pretty good codec all the same.

RV = RealVideo. i'd probably rate this codec higher than WMV, both technically and politically, but not by much . it's made by RealNetworks, which if i recall correctly was founded by a guy who broke away from Microsoft and decided to compete with them.


now, the layman's terms:

basically, some codecs provide the ability to not encode frames that are insufficiently different from their predecessor. this is a pretty simple way to save space. codecs capable of this will have something like a "frame-drop ratio" or threshold that as you increase it, it will more agressively throw out frames.

codecs like RealVideo have a "dropdupe" filter that is run before the encoder. i've never used RV for anything but playback, so i couldn't give you a good explanation of how to do this (try Helix Producer, or one of the frontends for it like Sirber's RealAnime, and it should be easy).

though now i think of it, the dupe calculations might be thrown off if there's a timecode displayed on the footage (i'm guessing there is one), in that everytime the timecode changes the codec sees a new frame, and keeps it.

there might be a way to avoid this using Matroska. you'll have to read up on this, but it uses VFR (Variable Frame Rate), like Real and Windows Media do. the advantage on matroska is you can use any codec you like, because the frame drops are done in the program stream, not the actual video stream.

i could imagine you generating the matroska VFR timecode file with a video that has the timestamps cropped out, then doing your final encode using the timecode file, but leaving the timestamps in this time. that way, they wont be considered for frame drop decisions, but they will be left in so you can still use them.

hehe.. without a sample video i couldn't give you more information than that. i hope it all makes sense, as there's frustratingly 2 types of timecodes i'm talking about in the same paragraph
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.