Carl Karsten schrieb: > 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. > > worst case I am guessing I can hack the xml.
> Cillian de Roiste wrote: >> I think updating the xml would be tricky enough as you'd need to >> change all the times. > Carl Karsten schrieb: > Now that I look at it, I think it will be easy - currently: Hi Carl, I had similar situations often, and I'd indeed hack the xml. The most difficult problem is that the start positions and length for audio is counted in audio frames, while video is counted in video frames. I'd propose to do it as follows: - within the GUI create a new *completely empty* video track. give it a unique name so you can grep for it easily - then open the xml with a text editor and extract just the cut sequence from one audio track - use some shell script, perl, python, awk or similar to extract the STARTSOURCE and LENGTH of each and change them into the right values expressed in video frames. e.g. if your audio has 48kHz, then dividing by /48000 gives you the seconds and then multiplying it with 25 (for PAL video) the frame number - finally paste the rewritten edit sequence into the new, empty video track - now, back in Cinelerra, you can put the video clips on the destination track by copy/paste (and of course, don't forget to backup your XML before any such manipulations!!!!) hope this helps Hermann V. _______________________________________________ Cinelerra mailing list [email protected] https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
