Can't reset timestamps

17 views
Skip to first unread message

isjk

unread,
Jul 20, 2011, 6:22:57 AM7/20/11
to FLVmeta Discussion
hi all,

command:"flvmeta -Utm test.flv"
resuilt:the "lastkeyframetimestamp" is not zero, and the "keyframes"
times is not zero to.

Marc

unread,
Jul 20, 2011, 9:29:53 AM7/20/11
to FLVmeta Discussion
Which flvmeta version is it ?

What are you trying to achieve ?

What do you expect the -t option to do ?

Can you post the original file's metadata ?

Regards,
Marc

isjk

unread,
Jul 20, 2011, 11:06:59 PM7/20/11
to FLVmeta Discussion
1)flvmeta 1.1-r202
2)I want to reset the metadata's lastkeyframetimestamp and all
keyframes times to zero.
3)the original file's metadata:
{
'author': ''
'copyright': ''
'description': ''
'keywords': ''
'rating': ''
'title': ''
'presetname': 'Custom'
'creationdate': 'Tue Jul 19 13:02:59 2011
'
'videodevice': 'Osprey-450 Video Device 1C'
'framerate': 25
'width': 384
'height': 288
'videocodecid': 4
'videodatarate': 400
'videokeyframe_frequency': 10
'audiodevice': 'Osprey-450 Audio Device 1C'
'audiosamplerate': 22050
'audiochannels': 2
'audioinputvolume': 100
'audiocodecid': 2
'audiodatarate': 40

Marc

unread,
Jul 21, 2011, 5:27:40 AM7/21/11
to FLVmeta Discussion
I'm afraid you are misunderstanding the purpose of the -t option.

Using the -t option to update a file causes flvmeta to reset
timestamps in the file in order for the FIRST timestamp to be zero, in
case the input file happens to be broken by having a non-zero first
timestamp, for example if it is the result of a badly done file split.

It will never put all keyframe timestamps to a zero value. This would
completely break the FLV file. Why would you want to obtain such a
result ?

Regards,
Marc
Reply all
Reply to author
Forward
0 new messages