我的视频没有关键帧,怎么可能? [英] My video has no keyframes, How it is possible?
本文介绍了我的视频没有关键帧,怎么可能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在视频上运行以下行时,它仅输出P帧和B帧,而没有I帧,
When I run the following line on my video it only outputs P frames and B frames and no I frame,
ffprobe -select_streams v -show_frames -show_entries frame=pict_type -of csv 00000.MTS
视频怎么可能没有I帧.
此处是视频的链接.
根据本教程的定义,P帧仅基于先前的帧构建,如果存在没有其他框架可以建立在如何使用P框架上?
ffprobe -i 00000.MTS
的输出是:
How is it possible for a video not to have I frames.
Here is the link to the video.
According to this tutorial's definition, P frames are just built upon previous frames, If there is no other frame to build upon how can we use P frames?
Output of ffprobe -i 00000.MTS
is:
...
Input #0, mpegts, from '00000.MTS':
Duration: 00:17:13.24, start: 1.040000, bitrate: 16451 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 256 kb/s
Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080
推荐答案
如 Wikipedia
:
P帧可以包含内部宏块或预测的宏块
P-frames can contain either intra macroblocks or predicted macroblocks
因此您的视频可以在P帧中包含I帧宏块.
So your video can contain I-frame macroblocks in P-frames.
这篇关于我的视频没有关键帧,怎么可能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文