Windows Media Encoder WMcmd.vbs脚本不会(自动)在Windows 7 64位上停止编码器 [英] Windows Media Encoder WMcmd.vbs script does not (auto) stop the encoder on Windows 7 64 bits

查看:220
本文介绍了Windows Media Encoder WMcmd.vbs脚本不会(自动)在Windows 7 64位上停止编码器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 7 64位上,使用WMcmd.vbs通过命令行对文件进行编码会导致编码器永远不会停止编码,也永远不会达到停止"状态.状态.在Vista 32位系统上,将相同的命令行参数与相同的视频文件一起使用可以正常工作.在Windows 7 64位上,WMcmd.vbs启动编码器.然后,编码器开始对输入文件进行编码,并且显然到达末尾,但是WMCMD.vbs脚本仍然停留在永远的循环中,等待编码器到达停止"状态.状态.显然,编码器永远不会自动到达停止"状态.状态.我不得不调试WMCMD.vbs脚本,以强制编码器停止(通过在编码器对象上调用.Stop()方法).手动强制编码器在轮询循环中进行某些迭代后停止,从而解决了该问题(我只等待10次循环迭代-> 10秒).如果没有此修复程序,尝试停止脚本(通过按ctrl c键入eb)将导致一个编码文件没有索引并且明显损坏(未关闭?!??).

注意:Windows 7 64位完全更新.我使用WMcmd.vbs的最新脚本更新(2007年10月).一切都以32位版本(cscript的WOW64版本)完成.我使用的是Windows媒体编码器9的GUI版本生成的配置文件(高级配置文件CBR,没什么特别的).

是否有针对此的修复程序?!?

_michel

On Windows 7 64 bits, using WMcmd.vbs for encoding files with command line results in encoder never stopping encoding and never reaching the "stopped" state. Using the same command line arguments with the same video file on a Vista 32 bits system works correctly. On Windows 7 64 bits, WMcmd.vbs starts the encoder. Then the encoder starts encoding the input file and apparently reaches the end, but WMCMD.vbs script remains stuck in a forever loop waiting for the encoder to reach the "stopped" state. Apparently, the encoder never automatically reaches the "stopped" state. I had to debug WMCMD.vbs script for forcing the encoder to stop (by invoking .Stop() method on the encoder object). Manually forcing the encoder to stop after some iteration in the polling loop fixes the problem (I just wait for 10 loop iteration -> 10 seconds). Without this fix, trying to stop the script (e.b. by typing ctrl c) results in an encoded file with no index and apparently corrupted (not closed??!?).

Note: Windows 7 64 bits is fully updated. I use the latest script update for WMcmd.vbs (october 2007). Everything is done with 32 bits version (-> WOW64 version of cscript). I use profiles generated with the GUI version of windows media encoder 9 (advanced profile CBR, nothing special).

Is there any fix for that?!?

_michel

推荐答案

该论坛仅适用于VB.net,不适用于VB脚本.
This forum is for VB.net only not VB script .


这篇关于Windows Media Encoder WMcmd.vbs脚本不会(自动)在Windows 7 64位上停止编码器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆