简体   繁体   English

VLC播放器如何计算fmp4文件的时间轴总长度?

[英]How does the VLC player calculate the total length of the timeline of the fmp4 file?

use VLC player to play fmp4 file, the player shows the total length of the timeline port is 0, but video can play normally.How does the player calculate the total length of the timeline of the fmp4 file? 使用VLC播放器播放fmp4文件,播放器显示时间线端口的总长度为0,但视频可以正常播放。播放器如何计算fmp4文件时间轴的总长度? How should I modify the time parameter of fmp4 box. 我该如何修改fmp4框的时间参数。 在此输入图像描述

You have to add a Movie Fragment Random Access Box ('mfra') with the correct 'tfra' and 'mfro' to the end of your file. 您必须将正确的'tfra'和'mfro'添加到电影片段随机访问框('mfra')到文件的末尾。 'mfra' is essentially and index of all fragments. 'mfra'基本上是所有片段的索引。 The 'tfra' boxes contain the presentation times for each fragment. 'tfra'框包含每个片段的显示时间。

It worked for me: 它对我有用: 在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM