[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mjpeg-users
Subject:    Re: [Mjpeg-users] why edit list files
From:       Martin Samuelsson <sam () home ! se>
Date:       2005-11-05 10:28:13
Message-ID: 20051105112813.7e81c09b.sam () home ! se
[Download RAW message or body]

On Sat, 05 Nov 2005 05:35:23 +0100
Bernhard Praschinger <shadowlord@utanet.at> wrote:

> > The hardest part about creating edit lists with script is figuring out 
> > how many frames each file has. I cheat by having exactly 10000 frames 
> > in all but the last file.
> 
> With lavinfo you get the number of frames in the first output line. 
> > lavinfo file.avi
> video_frames=6007

True. I just didn't feel the need for my script as I alway have the same kind of \
input, but for a general script, lavinfo would be the best thing.

I'm attaching the script. Maybe Enrico can find something useful in it. It assumes it \
knows very much that probably is not true anywhere but in my home.

It assumes, among other things:
That all files but the last is 10000 frames long.
That all files has a - in the name.
That you want a clip list that can be played in the same directory the files are \
located in.

It outputs an edit list on stdout. My typical use is:

python vw.py path/to/directory/ >clip.list

It is, though, an example of how to let a script create an edit list.

/Sam


["vw.py" (application/octet-stream)]
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic