Re: timestamp in dv file, dvgrab oddness
Carl Karsten <[email protected]> Wed, 19 Aug 2009 15:16:06 -0500
| Newsgroups | gmane.comp.video.kino.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 19, 2009 at 2:20 PM, Dan Dennedy<[email protected]> wrote: > On Wed, Aug 19, 2009 at 11:54 AM, Carl Karsten<[email protected]> wrote: >> I want to set the os file datetime to the datetime of the first frame >> of the dv file. I tired to figure out how to parse the dv frame, but >> failed. dvgrab will do it for me, but over 1/2 the time it 'hangs' >> such that I need to kill-9 it (even when running the same command at a >> shell prompt.) > > Let me clarify to others that he is reading raw DV from stdin or file. Reading from a file, parsing the date from the text from stderr. > >> The dvdate.py below seems to work, but the die die die stuff bothers >> me, and it's kinda clunky anyway. >> >> 1. how else can I get the timestamp out of a .dv file? >> Ideally I would like python bindings to some lib that will raise >> exceptions if the format isn't right, etc. > > There are some python bindings for libdv. I recommend that approach. > Search around. I know the tool Cuisine had some bindings. You can also > probably create some rather quickly using swig. I have googled python+dv + stuff. just tried again, knowing I needed to keep trying until i found it, and presto: https://dev.interhost.no/pylibdv/ thanks for the push. > >> 2. why is dvgrab getting hung up? > > I don't know. Here is the bug you already file a while ago: > http://sourceforge.net/tracker/?func=detail&aid=2460025&group_id=14103&atid=114103 Oh yeah. good. I was wondering if I should file something :) -- Carl K ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july