View Full Version : Is is possible to delete some video frames from AVC video in MKV container?
Rodion
29th May 2007, 21:40
Help please
I have a movie which contains unwanted frames in the middle. Is it possible to remove the frames from the stream without re-encoding?
// best, rod
You may achieve that using "Matroska Editions". (one Edition would not display the portion of the video you don't want". But don't ask me how to do it, as I wouldn't know, I've only seen it done by others.
The frames would not be deleted, they would still be in the file, but they would not be displayed. Playback would be seamless, they would simply be skipped from being presented. (I assume they are still available for the decoder to decode any frames that depend on them, that is)
Rodion
30th May 2007, 16:15
I have googled for "matroska editions" and understood nothing :)
Sample: I have videostream with frames 1-1000 and two audiostreams corresponding to videoframes 1-400 and 600-1000.
I want to remove (or hide) videoframes 401-599, so after muxing video and joined audio into MKV I can have synchronized movie.
Is it possible? If so please tell in details - how to do that?
// best, rod
neuron2
30th May 2007, 16:29
Why not just reencode the movie from the original disk omitting the undesired scene?
Rodion
30th May 2007, 18:33
Because there are three such movies in 720p. Re-encoding will take too much time. Also, re-encoding always loses quality.
It would be great just to "drop" the frames without reencoding...
neuron2
30th May 2007, 19:02
Re-encoding will take too much time. Also, re-encoding always loses quality. You won't lose quality if you re-encode from your original disks. Why do you think you will lose quality?
Rodion
30th May 2007, 20:15
You won't lose quality if you re-encode from your original disks.
Yes you absolutely right! In case I have original disks
Why do you think you will lose quality?
Because I do not have original disks. If I would have it I didn't ask the initial question ;)
I do not want to recode existing AVC video because of quality loss
Inventive Software
30th May 2007, 21:08
This has rule 6 written all over it! :D
I was going to suggest DGAVCIndex's demux feature, with the bit you didn't want cut out, so that the demuxed-from-MKV .264 file would be more or less complete as you want it (this is possible with DGIndex and M1V/M2Vs I believe), but unfortunately, that's not implemented yet in DGAVCIndex. :(
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.