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 Kommentare

Jan
Jan am 22 Jul. 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 am 23 Jul. 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..??

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Jan
Jan am 23 Jul. 2013

0 Stimmen

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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

RONAK
RONAK am 25 Jul. 2013

0 Stimmen

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

0 Stimmen

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.

Kategorien

Gefragt:

am 22 Jul. 2013

Beantwortet:

am 2 Mai 2014

Community Treasure Hunt

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

Start Hunting!

Translated by