Re: timestamp in dv file, dvgrab oddness
Dan Dennedy <[email protected]> Wed, 19 Aug 2009 12:20:57 -0700
| Newsgroups | gmane.comp.video.kino.devel |
|---|---|
| Message-ID | <[email protected]> |
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. > 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. > 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 -- +-DRD-+ ------------------------------------------------------------------------------ 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