版面规则
提问时请注意:尽量详细描述操作过程、AVS脚本内容等,最好能写出片名,只贴图有时无法看出问题原因。
提示:发布原创内容请尽量使用附件上传。使用网盘会出现过期失效的问题,请注意。
头像
dgwxx
管理猿
帖子: 771
注册时间: 2010-09-19 20:42
联系: 网站

Re: AviSynth EP Script: EPOutTimeCode v1.00 beta 2010/10/02

好壮观的代码……
日常推 @dgwxx: 基本没什么技术的话题,欢迎没事看看消遣。
► 显示剧情透露 平庸的rip
► 显示剧情透露 “不知道”的五大理由
头像
BurySakura
帖子: 5
注册时间: 2010-09-23 22:47

Re: AviSynth EP Script: EPOutTimeCode v1.00 Final

0,239, 23.97602463
,与23.97602463之间有个空格,于是tc2mp4会傲娇表示不认识。 {:cat_15}
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: AviSynth EP Script: EPOutTimeCode v1.00 Final

试试l-smash的standalone muxer?
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
histamine
帖子: 85
注册时间: 2010-09-23 20:07

Re: AviSynth EP Script: EPOutTimeCode v1.00 Final

tc2mp4是一个perl脚本
源代码:
http://forum.doom9.org/showthread.php?p ... post838384
基本原理:
http://forum.doom9.org/showthread.php?p ... post839062

其中第234行,parseTimecodeV1函数中利用正则表达式获取tc v1每行的信息

代码: 全选

	next unless /(\d+),(\d+),([\d.]+)/;
改成

代码: 全选

	next unless /(\d+)\s*?,\s*?(\d+)\s*?,\s*?([\d.]+)/;
应该就能识别带有空格的tc v1了

perl脚本打包可以使用Perl Archive Toolkit
头像
BurySakura
帖子: 5
注册时间: 2010-09-23 22:47

Re: AviSynth EP Script: EPOutTimeCode v1.00 Final

taro大提供另一种方案:
打开EPOutTimeCode.avsi,把
dhs = ", "
改成
dhs = ","
当然也提到了去改tc2mp4,不过有点麻烦就是了。

回到 “AviSynth”