I am looking for an application (or a set of applications) that allows me to trim and/or join files without losing any quality whatsoever (100% quality, not 99%). Besides this absolute requirement, ideally it would be free, easy to use, and portable (these are not necessary requirements).
Files I'm mostly dealing with are MKV, AVI, WMV, and FLV.
I did some brief googling and if I'm not mistaken, it seems that such a kind of application I'm looking for is usually not able to trim to the exact frame--is there one that does? If exact frame was a requirement and I cannot do it without losing a bit of quality, what kinds of applications would minimize that lost in quality?
Thank you so much.
+ Reply to Thread
Results 1 to 10 of 10
Last edited by immortal192; 20th Jan 2016 at 20:52.
Depends on context (video/audio codec and container).
I would give a chance to ffmpeg...
Bellow not tested script - i'm not the author (sorry for not crediting source either, but it should be not so difficult to 'google/bing/duckduck2go/whatever you like' it).
:: Edit the line below to match your path to the ffmpeg executable.
(for %%i in (*.mp4) do @echo file '%%i') > list.txt
%path2exe% -f concat -i list.txt -c copy output.mp4
If you can deal with a bit of loss at the cut points you can use Virtualdub (free, for the Xvid AVI), and Videoredo for H.264/MPEG2
Yes, AVI and MKV, for example, are containers. They could contain a number of different video formats which could each need a different strategy.
If what's in the containers is indeed H.264, DivX, Xvid, MPEG-2, then keep in mind that these are highly compressed formats with key frames apart from each other (look into GOPs). You can cut and join without loss, but it would not be frame accurate. You can cut and join with frame accuracy, but it would not be without loss if it's not on a key frame as you would need to re-encode the few frames at the seams to ensure and maintain GOPs.
In other words:
It's 100% no loss with no guarantee of frame accuracy.
It's ~99.9+% no loss, more or less, with frame accuracy.
I would choose the latter personally. It's a small sacrifice.
There is no way around such formats. And that would also include WMV, which would also be the most difficult to edit due to Microsoft intentionally discouraging editing (something to do with protecting any DRM).
And each would likely need an editing tool of their own more dedicated to the format.
As per DV and lossless, this would be easy - 100% quality and frame accuracy - and any editor worth its salt should handle these with minimal effort if you know what you're doing (ex: smart render, staying on the same color space, etc.)I hate VHS. I always did.
For my purposes it seems best to use the tools recommended by Baldrick (Solveigmm Video Splitter, Videoredo h264 suite, tmpgenc mpeg editor). What I need to do is use an application to determine what containers the videos I want to edit are and then find which of the 3 programs support lossless trim/joining?
Hi again, I hope I didn't mislead with the "99.9%". What I meant is that 99.9% of the frames can be left untouched - they will be at the original 1:1 quality. The 0.01%, or whatnot, is how many frames will be affected. These were just hypothetical figures.
In other words, to cut/join such highly compressed formats, if done right, and you want to assure frame accuracy, is that only the few frames at the cut/join points will be affected, and that will depend on GOP size, etc., and quality drop will depend on encoding method, etc. But it's only a few frames, and frames that you won't really care for, or notice, in re-encoding. The rest of the video will be at 100% quality of the original.
Hopefully it's clear now.
And the method of doing this is typically called smart rendering. You only work on the parts that need it. Other editors may have different names for it, but it's generally the same concept.
I meant the video formats, not the containers they're in. I meant what's inside the container.
Also, I meant "frame accuracy", which is different from "frame rate accuracy". What I meant by "frame accuracy" is that you can cut to the exact frame you want, but would need to re-encode a few frames near the cut/join if they're not key frames. If you don't do this, and you cut/join on a non-key frame, then you won't have frame accuracy. The cut will take place a few frames away from where you wanted it cut. You may see a bit of the previous scene, etc.
A straight cut would need to be on a key frame, otherwise your cut will be placed on an adjacent key frame, unless you decide to re-encode that gap. This is how highly compressed formats work in the first place. Their file size is compressed because of their key frames.
However, formats like DV and lossless are easier to cut and join.
A good tool is MediaInfo (free). You can post, in text mode, what video format is in the MKVs, AVIs, etc, and we can recommend tools for you with absolute certainty this way.
Last edited by PuzZLeR; 23rd Jan 2016 at 01:46.I hate VHS. I always did.
Ok, I used MediaInfo and loaded my entire library--the most popular formats are MPEG-4, Matroska, Windows Media, AVI, and Flash Video.
On my own time I'll need to read into the relationship between containers, formats, and codecs as well as transcoding, encoding, and transmuxing.