FYI - I thought I'd send a follow up message regarding this post from a
while back.  I never found out why the .M2V file was getting truncated
when I brought it back into Cinelerra, so I have a couple workarounds:

1) Don't re-import a YUV4MPEG video after rendering it. In other words,
do all of your editing within Cinelerra and then render ONE TIME ONLY
when you are done with all of your edits. This may not be feasible on
large projects, though.

2) Use QuickTime for Linux container format to render to and then
reimport back into Cinelerra. This container does not have the same
strange behavior as the recently rendered YUV4MPEG file. In other words,
the audio and video tracks of the Quicktime file are of the same length
and perfectly in sync, whereas the YUV4MPEG file gets truncated to a
shorter length than the audio.  By the way, the .M2V file is much
smaller than 2GB (test file is 5MB).

scott


On Thu, 2006-03-09 at 00:54 -0500, Scott C. Frase wrote:
> Forgot to send you a link to the MP3 audio track (740K):
> http://content.serveftp.net/video/truncate/test.m3a

> Guys,
> I have a problem with the contents of a rendered m2v file.  Cinelerra
> seems to be truncating the end of the video when I drag and drop it in
> the timeline.
> 
> Originally, I created a project based on DVD VOB files.  I cropped them
> to 720x404 (roughly 16x9).  Here is a link to that original projects'
> format specs:
> http://content.serveftp.net/video/truncate/sourceProjectFormat.png 
> 
> I then rendered a small section of the audio and video using FFMPEG and
> a YUV4MPEG stream, but in the command line for ffmpeg, I add "-s
> 480x270" to proportionally reduce the resolution of the video so that it
> is still in 16:9 format.  This command works and it renders to the hard
> drive.  When I play the file
> http://content.serveftp.net/video/truncate/test.m2v (5MB)
> 
> in mplayer, the file plays the full length of the video correctly and I
> get the following output:
> http://content.serveftp.net/video/truncate/mplayerOutput.txt 
> 
> However, when I create a new Cinelerra project based on the following
> format:
> http://content.serveftp.net/video/truncate/destinationProjectFormat.png 
> 
> the video (VIDEO 1 in the picture) gets truncated as you can see in this
> screen shot:
> http://content.serveftp.net/video/truncate/truncate.png 
> 
> Normally, the video timeline should match the audio timeline shown at
> the bottom of that picture.  But it doesn't.  The few other videos you
> see in that picture are my trial and errors to figure out why this was
> happening.  The videos that appear to line up correctly to the video are
> renders that I did using the out-of-the-box rendering settings for a DVD
> format using both ffmpeg: (VIDEO 3 in the picture)
>  ffmpeg -f yuv4mpegpipe -i - -y -target dvd -ilme -ildct -hq -f
> mpeg2video %
> 
> and mpeg2enc (VIDEO 4 in the picture):
> mpeg2enc -f 8 -o %
> 
> I even used ffmpeg on the command line outside of Cinelerra to reduce
> the video, but when I brought it into Cin, it was still truncated (VIDEO
> 2 in the picture).
> 
> I'm thinking that mpeg3toc might be having trouble creating table of
> contents for videos with odd resolutions.  Again, my video is 480x270.
> I don't know any other programs to create table of contents index files
> for mpegs, so I can't test my theory.  
> 
> I'd like to be able to resize my videos within Cinelerra, but this is a
> problem.  The fact that the videos work in mplayer tell me that either
> mpeg3toc is not creating table of contents correctly or Cinelerra is
> having some other sort of trouble interpreting the table of contents
> files.
> 
> Does anyone know of any other programs beside mpeg3toc to create a
> Cinelerra usable table of contents?  
> 
> Can I use the table of contents files in any other program to validate
> if they are correct or not?
> 
> Or maybe I'm just not thinking correct and there is an easy way around
> this problem?
> 
> please help!
> scott
> 
> 
> _______________________________________________
> Cinelerra mailing list
> [email protected]
> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra




________________________________________________________________________

      * Previous message: [CinCVS] Cinelerra truncating non-standard
        sized m2v file


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

Reply via email to