2012-04-29 17 views
0

私はアクションスクリプトでビデオを扱っています。フレームを取得する必要があります。ビデオ内のGOPサイズ(iフレーム/ pフレーム比)は何ですか?

Seeks the keyframe (also called an I-frame in the video industry) closest to the specified location. The keyframe is placed at an offset, in seconds, from the beginning of the stream. 

Video streams are usually encoded with two types of frames, keyframes (or I-frames) and P-frames. A keyframe contains an entire image, while a P-frame is an interim frame that provides additional video information between keyframes. A video stream typically has a keyframe every 10-50 frames. 

および私はでエンコードされたビデオであるどのように多くのPフレームおよびIフレームを理解する必要があります。参考によれば、NetStream.seekを使用して私は最寄りのkフレームに求めることができます。 f4vフォーマット。

私はMacとubuntu上で、私はツールを気にしません(いくつかのffmpeg/mencoderコールが完璧でなければならないかもしれません)。

答えて

0

Adob​​e Media Encoderを使用している場合は、ビデオタブ/詳細設定でカスタムプリセットを設定できます。

チェックセットのキーフレームの距離 その後、1つのフレーム

に設定し、これは、高いキーフレームの数を生成する必要があります。

これが役に立ちます。

関連する問題