TA的每日心情 | 开心 3 天前 |
---|
签到天数: 463 天 [LV.9]以坛为家II
状元
不安分的漫游者
- 积分
- 10516
|
一个大致的批处理xtl如下:
<timelines version="2">
<timeline>
<group output="F:\smooth1.mkv">
<track video="1" audio="1" text="1" accuracy="frame" flags="interlaced_fields_alignment,keep_mpeg_closedcaptions,keep_rtp_hint_tracks,keep_mpeg2ts_pids">
<clip src="I:\zg.mkv" start="3334580000" stop="3659790000" timeFormat="100ns_units" />
</track>
</group>
<group output="F:\smooth1.srt">
<track video="0" audio="0" text="1" flags="">
<clip src="I:\zg.srt" start="3334580000" stop="3659790000" timeFormat="100ns_units" />
</track>
</group>
</timeline>
<timeline>
<group output="F:\abduct3.mkv">
<track video="1" audio="1" text="1" accuracy="frame" flags="interlaced_fields_alignment,keep_mpeg_closedcaptions,keep_rtp_hint_tracks,keep_mpeg2ts_pids">
<clip src="I:\zg.mkv" start="4689690000" stop="4746790000" timeFormat="100ns_units" />
</track>
</group>
<group output="F:\abduct3.srt">
<track video="0" audio="0" text="1" flags="">
<clip src="I:\zg.srt" start="4689690000" stop="4746790000" timeFormat="100ns_units" />
</track>
</group>
</timeline>
</timelines>
用这个xtl可以从zg.mkv视频文件以及相应的zg.srt文件根据指定的start和stop时间(单位100纳秒),截取出两个片断,分别存为smooth1.mkv和abduct3.mkv,同时生成相应的srt字幕文件并自动调整时间轴。 |
|