Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to extract a scene of a video (audio codec: AAC, video codec: H264). The problem is that the scene doesn't begin on a I key-frame. The software, I have tried (Avidemux, Handbrake or VLC) allow to cut a video only on key-frames. Does anyone have a tips to solve this issue?

Thanks'

share|improve this question

1 Answer 1

No way IMHO, for h.264 you have to cut at keyframes (Intra frames = I frames).

http://en.wikipedia.org/wiki/Key_frame

In video compression, a keyframe, also known as an Intra Frame, is a frame in which a complete image is stored in the data stream. In video compression, only changes that occur from one frame to the next are stored in the data stream, in order to greatly reduce the amount of information that must be stored. This technique capitalizes on the fact that most video sources (such as a typical movie) have only small changes in the image from one frame to the next. Whenever a drastic change to the image occurs, such as when switching from one camera shot to another, or at a scene change, a keyframe must be created.

share|improve this answer
3  
Unless you re-encode, which will take a lot longer and potentially introduce a decrease in quality. –  Scott Chamberlain Jun 27 '13 at 15:19
    
Thank you, Scott, a good point! –  duDE Jun 27 '13 at 15:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.