Cillian de Roiste wrote:
On Thu, Jun 5, 2008 at 8:19 AM, Carl Karsten <[EMAIL PROTECTED]> wrote:
I forgot to arm the vid trac, and added a bunch of clips.  is there some way
to get it to use all the vid from the clips where I have audio?

Hi, I'm not sure I understand the question. I guess you've got lots of
clips in the timeline now, some have an audio track and some don't and
you would like to cut out all the video from the timeline that doesn't
have any audio (although I don't see the connection with the unarmed
track). Does that sound right?

Mostly No :)

The original media has both audio and video - it is all dvgrab-ed from a cam 
corder.

I inserted many clips into the timeline.

all have audio track in the time line, none have video

I want the video too.


I don't know of any automated way to do that in cinelerra, but by
using the shortcuts you could do this very quickly, just jump from one
clip to the next selecting and cutting as necessary. Otherwise, I
guess a bit of shell scripting would be required e.g. to move each
media file that has an audio track into a separate folder and then
load them all, or get a list of files and change the xml.

worst case I am guessing I can hack the xml.
I think updating the xml would be tricky enough as you'd need to
change all the times.

Now that I look at it, I think it will be easy - currently:

<TRACK RECORD="1" NUDGE="0" PLAY="1" GANG="1" DRAW="1" EXPAND="0" TRACK_W="720" TRACK_H="480" TYPE="VIDEO">
<TITLE>Video 1</TITLE>
<EDITS>
<EDIT STARTSOURCE="0" CHANNEL="0" LENGTH="106135"></EDIT>
</EDITS>
...
<TRACK RECORD="1" NUDGE="0" PLAY="1" GANG="1" DRAW="1" EXPAND="0" TRACK_W="720" TRACK_H="480" TYPE="AUDIO">
<TITLE>Audio 1</TITLE>
<EDITS>
<EDIT STARTSOURCE="0" CHANNEL="0" LENGTH="13504691"><FILE SRC="/media/disk/fudge/rick001.avi"></FILE></EDIT> <EDIT STARTSOURCE="0" CHANNEL="0" LENGTH="13509496"><FILE SRC="/media/disk/fudge/rick2001.avi"></FILE></EDIT>
...
<EDIT STARTSOURCE="4381977" CHANNEL="0" LENGTH="1"><FILE SRC="/media/disk/fudge/rick3022.avi"></FILE></EDIT>
<EDIT STARTSOURCE="0" CHANNEL="0" LENGTH="0"></EDIT>
</EDITS>

I think I just want to copy the <EDITS> in <TRACK ... TYPE="AUDIO"> to <TRACK ... TYPE="VIDEO">

I am wondering what the LENGTH="0" entries are.


If I'm totally off the mark, maybe you could send a link to a
screenshot of your timeline?

http://www.flickr.com/photos/[EMAIL PROTECTED]/2553736124/

Carl K

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to