Hi
I'm new to cutting but read few threads and decided to use avidemux. I don't want to compress anything so I left Video/Audio Output as Copy and Output Format as Avi muxer. BTW the video is an AVI, MPEG-4 Visual, xvid and H 263
Now, I seem to have problems with keyframes. Which one of these should I choose to cut I-frm, P-frm or maybe B-frm ?
I'm asking cause when I cut 4 parts (i-frames and p-frames) and clicked Save I got this warning
To choose my cut points I used that slider and clicked A for a beginning and B for the ending - click me
I don't know, however, if cut point should begin with I-FRM and end with I-frm or if it can end with P or B-FRM
??
I'd really appreciate your help.
+ Reply to Thread
Results 1 to 12 of 12
-
Last edited by Editall; 15th Jan 2015 at 09:55.
-
Yes, both start/end cut points should be on I-frames
You can use the "<<" and ">>" buttons in the GUI to navigate (jump to) the next keyframe
But for xvid/mpeg-4, avidemux has "smart rendering" capability - it basically re-encodes the few frames around a cutsite. Thus you can have frame accuracy and do not have to cut on keyframes. If you want to try this, set video to "xvid mpeg4". A pop up box will come up when yiou save it and it will ask if you want to "smart render" and asks the quantizer. Lower value is higher quality. You will know it's working , because video is saved very quickly (only a few frames are re-encoded) -
maybe they've removed it in that version, try another one if you can't find it. This feature has been available for many years
It will say under video output:
"mpeg4 asp (xvid4)"
The pop up should come up automatically as soon as you save it. If it doesn't something is wrong (maybe your video uses incompatible settings), or you actually did cut on keyframes. -
The moment I choose "mpeg4 asp (xvid4)" and click Save, it starts to encode right away, doesn't allow me to put anything, doesn't ask me about anything
- click me
by keyframes you refer to I-FRM only, right ? The thing is I have some P and B frames I need to cut, is it possible ? -
What does mediainfoxp say about your video ? (view=>text)
You might have to set the xvid configuration to match or at least more similar characteristics
Yes I-frame is a "keyframe" in avidemux for xvid. If you cut on a P or B frame, it should be possible (hence the smart rendering, not quality loss, except for a few frames, the rest of the video is "passed" through). -
MediainfoXP didn't work for me, couldn't run it somehow so here's MediaInfo - clickme
My xvid settings - clickmeLast edited by Editall; 15th Jan 2015 at 13:30.
-
I don't really use avidemux or xvid for a few years, but I have a few versions on a test computer, just used for testing purposes
It used to be, that if settings didn't match, it would force a complete re-encode instead of stream copy + smart render. e.g. if the profile was different, or you set b-frames different (2 instead of 0), or some other characteristic. This is true with vdub xvid smart render as well. This is the reason for using mediainfo, gspot etc.. so you can match the xvid configuration to the source file -
Regarding the numbers inside open parentheses, if starting p-frm has got (02) ednig should be (02) right ? To make sure A and B should have the same numbers inside parentheses right?
Will try to download some other versions of avidemux. -
-
Your question and the answers where very helpful - thanks!
I used Avidemux 2.6.12 for loseless cutting of an MP4 video file. I was suprised that the frame selected as cutting point B was not deleted. To delete the last frame of a sequence you have to select the following frame (in my case a I-FRM) as B! After that the selected I-FRM remained and finally the last frame of the sequence I wanted to delete was gone. Now it was B-FRM, I-FRM... The video played without any hickup.
http://www.avidemux.org/admWiki/doku.php?id=using:cutting
The Edit→Delete menu entry will remove frames from [A,B) from the stream.
Make sure the B marker is an I-frame.Last edited by MP4_loseless_cutting; 1st Jul 2016 at 06:16. Reason: Found the AviDemux Wiki entry