搜索 社区服务 统计排行 帮助
  • 1457阅读
  • 5回复

[请教] 一些timecode问题

楼层直达
级别: 新手上路
注册时间:
2005-07-13
在线时间:
0小时
发帖:
293
timecode是有三种,v1/v2/v3对吧?
请问三种timecode有什么分别呢?



mkv中的timecode是v2
那么vfr的avi中是否也有timecode的?
AVI中的timecode也可以导出吗?
级别: 新手上路
注册时间:
2003-06-23
在线时间:
1小时
发帖:
2882
只看该作者 5楼 发表于: 2006-10-24
mkvtoolnix自带文档里全都有说明..

Timecode file format v1

This format starts with this line:
# timecode format v1
The second line gives the default number of frames per second:
assume 27.930
All following lines contain three numbers separated by commas: the start frame (0 is the first frame), the end frame and the number of frames in this range. The FPS is a floating point number with the dot default FPS is used. Example:
800,1000,25
1500,1700,30

Timecode file format v2

In this format each line contains a timecode for the next frame. This timecode must be given in ms precision. It can be a floating point number, but it doesn’t have to be. You must give at least as many timecode lines as there are frames in the track. The timecodes in this file must be sorted. Example for 25fps:
# timecode format v2
0
40
80
etc.

Timecode file format v3

In this format each line contains a duration in seconds followed by an optional number of frames per second. Both can be floating point numbers. If the number of frames per second is not present the default one is used. For audio you should let the codec calculate the frame timecodes itself. For that you should be using 0.0 as the number of frames per second. You can also create gaps in the stream by using the gap keyword followed by the duration of the gap. Example for an audio file:
# timecode format v3
assume 0.0
25.325
7.530,38.236
gap, 10.050
2.000,38.236
etc.

Timecode file format v4

This format is identical to the v2 format. The only difference is that the timecodes do not have to be sorted. This format should almost never be used.

不学无术中..

eMule ID:[eDtoon][CHN]adamhj@eMule-Official
级别: 工作组
注册时间:
2003-05-11
在线时间:
201小时
发帖:
36355
只看该作者 4楼 发表于: 2006-10-20
# timecode format v1
Assume 29.970030
0,4106,23.976024
4107,5343,59.940060
5344,35505,23.976024
# Total Frames: 35506

v1是这样的...

v3我没见过,另请高人现身....

  
级别: 新手上路
注册时间:
2005-07-13
在线时间:
0小时
发帖:
293
只看该作者 3楼 发表于: 2006-10-20
原来是这样啊,我一直误会了AVI或MKV是用TIMECODE来控制帧的播放。谢谢解答。


可以再告诉我V1和V3的timecode是什么样子的吗?
我目前只有方法把v2弄出来,但v1和v3是什么样子的却不曾见过。


# timecode format v2
0.000000
42.000000
83.000000
125.000000
167.000000
209.000000
250.000000
292.000000
级别: 工作组
注册时间:
2003-08-26
在线时间:
13小时
发帖:
6600
只看该作者 2楼 发表于: 2006-10-18
v1 v2 v3只是格式不同。表达的意思是相同的

mkv里存放的不是timecode。mkv里存放的是每一帧的播放的时间的关系。mkvextract能够将这种关系转换为timecode v2表达出来。

120fps avi可以根据其null帧数量的分布来转换为timecode的表达。

催片请点此处: http://bbs.popgo.org/bbs/read.php?tid=502402&displayMode=1#19103164
级别: 工作组
注册时间:
2005-05-03
在线时间:
0小时
发帖:
2914
只看该作者 1楼 发表于: 2006-10-18
v3……没见过这个
有谁知道的,我顺路学一点……
快速回复

限150 字节
上一个 下一个