

To investigate, I work on a short part of the original file, named "all.ts". So to make this as nice possible I would like to cut as close as possible to a scene change and I would like to be able to append something to this cutted file. My intention is to keep the beginning of a movie file (the last part has corrupted data) an to join it later with another file (of the same movie) for which it is the beginning that is corrupted. Below I give more details about what I ve done and what I don't understand. It gave me relevant informations which are coherent with what AviDemux says, but some questions remainĪbout the way AviDemux cuts. For that I ve used ffprobe (provided withįfmpeg package). I think that a key point is to find how the GOP is defined (sequence of I, P, B frames). I am always trying to understand the best way to cut H264 files without reencoding (audio/video stream copy) with AviDemux. I've not really needed it so far but audio fade in/fade out would be nice since this often accompanies video fades. As a side note, basic audio filters would be awesome. That isn't exactly the result I was looking for, but with all other trimming software I have to re-encode anyway so I'm okay with this. :/Įdit 3: Okay, back to 2.6.21 and I can get what I need with re-encoding.

The videos I'm editing use h.264 codec.Įdit: Seeing topinrouen's post I'm going to give 2.5.6 a try and I'll get back to you on this.Įdit 2: Crashed when I tried with the MKV, crashed mid-editing with a converted MP4 (with MP4 codec).

I also make sure to select the relevant output format before exporting. Oh, and I'm using 2.6.21, running Windows 10 圆4 and working with MKV files, but I've tried converting to other formats to see if the problem persists which didn't make a difference. I guess "P-frames" are just standard frames, right? I always used the I-frame up/down keys to get to the point I want and pinpoint it precisely with left/right keys, then place my A/B markers. Of course, this is too imprecise for a lot of trimming. The problem is that when I navigate these I-frames using up/down keys, each "frame" is a few seconds apart. I've since tried other software but I've experienced nothing but headaches, so here I am trying to properly investigate the problems.įrom what you've said, it seems I-frames are the only kind that guarantee accuracy. Sometimes videos were off the points where I set A or B markers by a second or more. I thought this program was the solution to all my trimming problems! It seems to work great except the accuracy of the cuts. Forgive me, but I find a lot of this jargon about different frame types quite confusing.
