On Fri,  4 Nov 2005 20:10:25 +0100
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> Ok, I'm a newbie and not well documented about the edit list file format, 
> only what I've read in a old message (2002-06-07) from the mjpeg-user list, 
> by Ronald Bultje:
> 
> " * The format of an edit list file is as follows:
>  *    line 1: "LAV Edit List"
>  *    line 2: "PAL" or "NTSC"
>  *    line 3: Number of AVI/Quicktime files comprising the edit sequence
>  *    next lines: Filenames of AVI/Quicktime files
>  *    and then for every sequence
>  *    a line consisting of 3 numbers: file-number start-frame end-frame"
> 
> That's all. If you can tell me of other documentation about, it's welcome!

That's about all documentation needed. :)

Ok, I'll give an example:

LAV Edit List
PAL
1
/cvideo/svep_0506261145.lb/svep_0506261145-002.avi
0 6273 6777

That's an actual edit list I've used. It contains one file, 
/cvideo/svep_0506261145.lb/svep_0506261145-002.avi, and when the edit list is 
played, frames 6273 to 6777 from that file will be played.

A little more complicated example:

LAV Edit List
PAL
5
/video/file001.avi
/video/file002.avi
/video/file003.avi
/video/file004.avi
/video/file005.avi
0 0 9999
1 0 4000
2 8000 9999
3 0 9999
0 1000 2000
0 1975 1999
0 1950 1974
0 1925 1949
0 1900 1924

That is, assuming all files are 10000 frames long: "Play the whole first file, 
the first 4001 frames of the second, the last 2000 of the third, the whole 
fourth and then 1000-2000 of the first, one second of the first, starting at 
1975, one second starting at 1950, one second starting at 1925, and one second 
starting at 1900. Don't touch the fitfh file at all."

> My goal is to create a little film

A very good goal, that is.

> fool?!, lazy?!

I didn't mean it like that.

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.

/Sam


-------------------------------------------------------
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

Reply via email to