How to extract I-frames from video?

Actually, I want to encrypt a video. So, i need to extract the I-frames and then encrypt them. I am new to matlab. So , plz give me detailed explanation.

2 Comments

This question is to general to be answered efficiently. Even if you are a beginner, it is not the nature of the forum, that others solve your problems. So please post what you have done so far and ask specific questions.
Actually problem is that, every method I used is giving me jpeg images after video to frame conversion. Working just as video to JPEG converter. And I need to encrypt I frames among I P B frames of any video. function frame2im() etc are not providing the output in the form of I P and B frames. So, I am asking is there any way to solve this problem..??

Sign in to comment.

Answers (3)

Jan
Jan on 23 Jul 2013
The intermediate frames are reconstructed by using the hierarchy of I, B and P frames. As soon as you want to extract a frame as full image, the information about the frame type is lost. This is the nature of obtaining single frames from the encoded movie stream.
I think it is more efficient, when you find out and explain, what you exactly want to achieve. Specific questions are more likely answered in a forum.

1 Comment

My basic aim is to encrypt video. I want i-frames to be encrypted.

Sign in to comment.

RONAK
RONAK on 25 Jul 2013
where i can have i-frames of the video in the bits or decimal format(image matrix) so that i can encrypt that image matrix and reconstruct the video. plz provide me any link helpful to me.
Deven P
Deven P on 2 May 2014
yes even i need to extract I-frames from the video to perform chaotic encryption on the I-frame and thus the real-time digital video.
any method to extract I,P,B frames from the video anyone knows of? how can we come to know after extracting the frame that the frame is an I-frame or P frame or B frame?
thanks in advance.

Asked:

on 22 Jul 2013

Answered:

on 2 May 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!