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 commentaires

Jan
Jan le 22 Juil 2013
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.
RONAK
RONAK le 23 Juil 2013
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..??

Connectez-vous pour commenter.

Réponses (3)

Jan
Jan le 23 Juil 2013

0 votes

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 commentaire

RONAK
RONAK le 25 Juil 2013
My basic aim is to encrypt video. I want i-frames to be encrypted.

Connectez-vous pour commenter.

RONAK
RONAK le 25 Juil 2013

0 votes

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 le 2 Mai 2014

0 votes

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.

Catégories

Question posée :

le 22 Juil 2013

Community Treasure Hunt

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

Start Hunting!

Translated by