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 Commenti

Jan
Jan il 22 Lug 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 il 23 Lug 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..??

Accedi per commentare.

Risposte (3)

Jan
Jan il 23 Lug 2013

0 voti

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 Commento

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

Accedi per commentare.

RONAK
RONAK il 25 Lug 2013

0 voti

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 il 2 Mag 2014

0 voti

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.

Richiesto:

il 22 Lug 2013

Risposto:

il 2 Mag 2014

Community Treasure Hunt

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

Start Hunting!

Translated by