『漫游』酷论坛>『影音数码技术学习交流』>[请教] 一些timecode问题
[请教] 一些timecode问题
SoMaster@2006-10-18 21:01
timecode是有三种,v1/v2/v3对吧?
请问三种timecode有什么分别呢?
mkv中的timecode是v2
那么vfr的avi中是否也有timecode的?
AVI中的timecode也可以导出吗?
雷鸣@2006-10-18 21:05
v3……没见过这个
有谁知道的,我顺路学一点……
MeteorRain@2006-10-18 22:26
v1 v2 v3只是格式不同。表达的意思是相同的
mkv里存放的不是timecode。mkv里存放的是每一帧的播放的时间的关系。mkvextract能够将这种关系转换为timecode v2表达出来。
120fps avi可以根据其null帧数量的分布来转换为timecode的表达。
SoMaster@2006-10-20 18:47
原来是这样啊,我一直误会了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
yujin630@2006-10-20 18:54
# timecode format v1
Assume 29.970030
0,4106,23.976024
4107,5343,59.940060
5344,35505,23.976024
# Total Frames: 35506
v1是这样的...
v3我没见过,另请高人现身....
adamhj@2006-10-24 19:29
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.
| TOP