B帧会发生什么?! MP4Box评估版,JM .264 [英] what happen to B-frames?! MP4Box evalvid , JM .264
问题描述
我用JBBBPBBBPBBBP ...模式对JM的高清视频(Beauty.yuv)进行了编码.
I encode an HD video (Beauty.yuv) by JM with IBBBPBBBPBBBP... pattern.
然后通过MP4Box将output.264转换为out.mp4:
then to convert output.264 to out.mp4 by MP4Box do this:
MP4Box -profile高-提示-mtu 1024 -fps 30-添加output.264 out.mp4
MP4Box -profile high -hint -mtu 1024 -fps 30 -add output.264 out.mp4
然后我制作.st文件:
then I make .st file:
./mp4trace -f -s 192.168.0.2 12346 out.mp4> st_a01.st
./mp4trace -f -s 192.168.0.2 12346 out.mp4 > st_a01.st
但是我的st文件看起来像:
but my st file look like:
1我142647 140 0.075
1 I 142647 140 0.075
2 P 82493 81 0.202
2 P 82493 81 0.202
3 P 24373 24 0.204
3 P 24373 24 0.204
4 P 29224 29 0.204
4 P 29224 29 0.204
5 P 23495 23 0.204
5 P 23495 23 0.204
6 P 76393 75 0.331
6 P 76393 75 0.331
7 P 22832 23 0.331
7 P 22832 23 0.331
8 P 25367 25 0.336
8 P 25367 25 0.336
9 P 22635 23 0.336
9 P 22635 23 0.336
10 P 120039 118 0.469
10 P 120039 118 0.469
11 P 24255 24 0.469
11 P 24255 24 0.469
12 P 26783 27 0.469
12 P 26783 27 0.469
13 P 23338 23 0.469
13 P 23338 23 0.469
14 P 96223 94 0.596
14 P 96223 94 0.596
15 P 22626 23 0.602
15 P 22626 23 0.602
16 P 25306 25 0.602
16 P 25306 25 0.602
17 P 26856 27 0.602
17 P 26856 27 0.602
18 P 99348 98 0.729
18 P 99348 98 0.729
19 P 25576 25 0.735
19 P 25576 25 0.735
20 P 32550 32 0.736
20 P 32550 32 0.736
21 P 28752 29 0.736
21 P 28752 29 0.736
22 P 110795 109 0.869
22 P 110795 109 0.869
23 P 23601 24 0.869
23 P 23601 24 0.869
24 P 25118 25 0.869
24 P 25118 25 0.869
25 P 24258 24 0.869
25 P 24258 24 0.869
26 P 87966 86 0.991
26 P 87966 86 0.991
27 P 21435 21 1.002
27 P 21435 21 1.002
数据包中没有B帧或B切片! 为什么会这样? 这是怎么了?
there is no B-frame or B-slice in packets ! why that happen ? what is wrong here ?
感谢您的关注
推荐答案
B帧会发生什么?...为什么会发生?怎么了?
What happen to B-frames?... Why this happen? What is wrong here?
MP4Box可能使用 Baseline 配置文件对H264视频进行编码.
It's possible that MP4Box is encoding your H264 video by using the Baseline profile.
使用诸如 MediaInfo 之类的工具进行检查.仅 Main 和 High 配置文件支持B框架(又称B切片).
Check it with a tool like MediaInfo. Only Main and High profiles support B-frames (aka B-slices).
(图片来自:StreamingLearningCenter.com的
(image from : StreamingLearningCenter.com's article)
这篇关于B帧会发生什么?! MP4Box评估版,JM .264的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!