Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: nyearling on July 21, 2013, 10:59:20 AM

Title: Cropping then saving, only a quarter of the file is being saved????
Post by: nyearling on July 21, 2013, 10:59:20 AM
Hi everyone

I've downloaded 2.6.4 and running on Windows 7.

I've opened an AVI file I've created and wanted to crop out the top and bottom to give it more a widescreen look.

Vidcodec is defaulting to lavcodec (made no changes there), under video output I've set it to Mpeg4 ASP (xvid4), gone into Filters, Transform and then chopped off 40 from the top and bottom, the clicked OK. I've left the audio track alone (Copy) and also have made no changes to Output Fprmat (AVI Muxer.)

I've set the A point to start at 0:00 and B at the end of the video (4:40).

I go to Save, type a file name and it starts saving. Here's my problem. I get to 35 MB (25% of the encoding, which is about 1 min 10 secs) and Avidemux pops up a little window and happily tells me its Done and that it was successfully saved. Of course when I open the AVI file (which at least has had the borders cropped like I wanted), it has stopped at 1 min 10 sec.

I'm tearing my hair out and have turned to your good selves for some help!?

Thanks in advance

NY

Title: Re: Cropping then saving, only a quarter of the file is being saved????
Post by: AQUAR on July 21, 2013, 01:11:13 PM
I've created a small 5 min test avi and cropped it 40 pixels top and bottom.
For me it recodes all the way to the end using the same encoder.

No need to set the edit markers A and B (unless you are cutting the video as well).
Did run it this way but it made no difference.

I seem to recall that avi's of this type need to have their display width and height as a multiple of 16 pixels.
Maybe try to re-crop with that in mind and see if it works.

 

Title: Re: Cropping then saving, only a quarter of the file is being saved????
Post by: nyearling on July 21, 2013, 08:15:40 PM
Thanks for the suggestion AQUAR but it didn't work (even tried the multiples of 16)

:(
Title: Re: Cropping then saving, only a quarter of the file is being saved????
Post by: ajschult on July 21, 2013, 11:31:55 PM
Can you provide an example AVI that exhibits this problem (upload somewhere)?
Title: Re: Cropping then saving, only a quarter of the file is being saved????
Post by: AQUAR on July 22, 2013, 05:16:02 AM
A sample would be good.

Also, get mediainfo (free program) and see what is inside the avi.
It might provide some clues.

Since you created the video yourself is it from a video camera?
If so its probably interlaced video.
 
This is a bit from the MPlayer documentation:

Special care must be taken when working with interlaced video:
Crop height and y-offset must be multiples of 4.
Any vertical scaling must be performed in interlaced mode.
Postprocessing and denoising filters may not work as expected unless you take special care to operate them a field at a time, and they may damage the video if used incorrectly.

Probably not why avidemux is crashing but food for thought.