play at double speed

4 ビュー (過去 30 日間)
Patrick Truong
Patrick Truong 2016 年 10 月 5 日
コメント済み: Walter Roberson 2017 年 5 月 24 日
Hi,
I am taking a course at MATLAB academy. Is it possible to play the course video sessions in 2x speed?
  2 件のコメント
Behrang Sharif
Behrang Sharif 2017 年 5 月 23 日
I actually have the same problem. It seems that readFrame function strictly follows the frame rate (read only!) of the VideoReader object and I could not even manage skipping frames for increasing the playback speed. Is there any way for MATLAB to read frames faster or skip frames in order to play at 2x or more?
Walter Roberson
Walter Roberson 2017 年 5 月 24 日
Behrang Sharif:
Your question is different. The original question was about watching MATLAB Academy instructional videos speeded up, which is difficult because no useful interactive control is given for that.
With regards to readFrame: it is not necessary to display every frame. It is, however, necessary to read every frame in any of the compressed video formats, as the decompression depends upon the previous frame having been decoded. For H.264 video, the decompression can also depend up future frames.
The only leeway that the compressed video formats have is that some of them offer "key frames", which are completely uncompressed; if you are jumping by a bunch of frames, you can jump to the key frame that most immediately proceeds the target frame, and decode from that key frame to the target frame.

サインインしてコメントする。

回答 (1 件)

Pritesh Shah
Pritesh Shah 2016 年 10 月 5 日
I think, not possible.

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by