Current version

v1.10.4 (stable)

Navigation

Main page
Archived news
Downloads
Documentation
   Capture
   Compiling
   Processing
   Crashes
Features
Filters
Plugin SDK
Knowledge base
Donate
Contact info
Forum
 
Other projects
   Altirra

Search

Archives

01 Dec - 31 Dec 2013
01 Oct - 31 Oct 2013
01 Aug - 31 Aug 2013
01 May - 31 May 2013
01 Mar - 31 Mar 2013
01 Feb - 29 Feb 2013
01 Dec - 31 Dec 2012
01 Nov - 30 Nov 2012
01 Oct - 31 Oct 2012
01 Sep - 30 Sep 2012
01 Aug - 31 Aug 2012
01 June - 30 June 2012
01 May - 31 May 2012
01 Apr - 30 Apr 2012
01 Dec - 31 Dec 2011
01 Nov - 30 Nov 2011
01 Oct - 31 Oct 2011
01 Sep - 30 Sep 2011
01 Aug - 31 Aug 2011
01 Jul - 31 Jul 2011
01 June - 30 June 2011
01 May - 31 May 2011
01 Apr - 30 Apr 2011
01 Mar - 31 Mar 2011
01 Feb - 29 Feb 2011
01 Jan - 31 Jan 2011
01 Dec - 31 Dec 2010
01 Nov - 30 Nov 2010
01 Oct - 31 Oct 2010
01 Sep - 30 Sep 2010
01 Aug - 31 Aug 2010
01 Jul - 31 Jul 2010
01 June - 30 June 2010
01 May - 31 May 2010
01 Apr - 30 Apr 2010
01 Mar - 31 Mar 2010
01 Feb - 29 Feb 2010
01 Jan - 31 Jan 2010
01 Dec - 31 Dec 2009
01 Nov - 30 Nov 2009
01 Oct - 31 Oct 2009
01 Sep - 30 Sep 2009
01 Aug - 31 Aug 2009
01 Jul - 31 Jul 2009
01 June - 30 June 2009
01 May - 31 May 2009
01 Apr - 30 Apr 2009
01 Mar - 31 Mar 2009
01 Feb - 29 Feb 2009
01 Jan - 31 Jan 2009
01 Dec - 31 Dec 2008
01 Nov - 30 Nov 2008
01 Oct - 31 Oct 2008
01 Sep - 30 Sep 2008
01 Aug - 31 Aug 2008
01 Jul - 31 Jul 2008
01 June - 30 June 2008
01 May - 31 May 2008
01 Apr - 30 Apr 2008
01 Mar - 31 Mar 2008
01 Feb - 29 Feb 2008
01 Jan - 31 Jan 2008
01 Dec - 31 Dec 2007
01 Nov - 30 Nov 2007
01 Oct - 31 Oct 2007
01 Sep - 30 Sep 2007
01 Aug - 31 Aug 2007
01 Jul - 31 Jul 2007
01 June - 30 June 2007
01 May - 31 May 2007
01 Apr - 30 Apr 2007
01 Mar - 31 Mar 2007
01 Feb - 29 Feb 2007
01 Jan - 31 Jan 2007
01 Dec - 31 Dec 2006
01 Nov - 30 Nov 2006
01 Oct - 31 Oct 2006
01 Sep - 30 Sep 2006
01 Aug - 31 Aug 2006
01 Jul - 31 Jul 2006
01 June - 30 June 2006
01 May - 31 May 2006
01 Apr - 30 Apr 2006
01 Mar - 31 Mar 2006
01 Feb - 29 Feb 2006
01 Jan - 31 Jan 2006
01 Dec - 31 Dec 2005
01 Nov - 30 Nov 2005
01 Oct - 31 Oct 2005
01 Sep - 30 Sep 2005
01 Aug - 31 Aug 2005
01 Jul - 31 Jul 2005
01 June - 30 June 2005
01 May - 31 May 2005
01 Apr - 30 Apr 2005
01 Mar - 31 Mar 2005
01 Feb - 29 Feb 2005
01 Jan - 31 Jan 2005
01 Dec - 31 Dec 2004
01 Nov - 30 Nov 2004
01 Oct - 31 Oct 2004
01 Sep - 30 Sep 2004
01 Aug - 31 Aug 2004

Stuff

Powered by Pivot  
XML: RSS feed 
XML: Atom feed 

§ Incompatibility between VirtualDub 1.6 and Archos Multimedia MPG4 Translator

Disclaimer: Neither I nor VirtualDub is affiliated with Archos, and I cannot provide technical support for Archos products. Please contact Archos technical support for general problems with Archos devices or the MPG4 Translator.

Those of you who may have tried using the Archos MPG4 Translator with recent versions of VirtualDub (1.6+) may have encountered this error:

Cannot open file "jobs.avs":
The filename, directory name, or volume label syntax is incorrect.

This is due to an incompatibility with the Archos MPG4 Translator software due to a change in command-line parsing in VirtualDub 1.6. For a quick fix, use VirtualDub 1.5.10 with the Translator software instead. You can obtain 1.5.10 from the File List for the VirtualDub project on SourceForge. If you are willing to hex edit a copy of the Archos software, though, there is a workaround.

Technical explanation:

The Archos tool uses an unusual syntax to quote filenames in the command-line that it passes to VirtualDub. It quotes the switch as well as the filename that the switch references:

"VirtualDub.exe" "/sc:\path\jobs.avs" "/x"

VirtualDub 1.5.10's command-line parser is a bit unusual in that it accepts the above syntax, despite it being contrary to conventions the NT DIR command, for example, does not accept quoted switches. It also requires that the filename be immediately adjacent to the switch, without an intervening space. In 1.6 I cleaned up the command-line parsing to accept more conventional formatting, including removing the dumb adjacency requirement, but the new parser doesn't allow switches to be quoted. The result is that the entire /s switch is interpreted as a filename, which then results in the invalid path error.

(As a side note, the jobs.avs file is actually a VirtualDub script, and cannot be loaded into Avisynth.)

The syntax that was originally intended for filenames that must be quoted, and which works with both VirtualDub 1.5 and 1.6, is this:

"VirtualDub.exe" /s"c:\path\jobs.avs" /x

If you are willing to do a little hex editing, it is possible to modify the Archos software to use this syntax. I won't take responsibility for issues that may arise for doing this, nor have I tested this extensively, but it seems to work. There are two strings that need to be edited in the data segment in version 3.0.9:

000803ad: 22 20 22 2f 73 |" "/s|
000803ad: 22 20 2f 73 22 |" /s"|

000803b3: 22 20 22 2f 78 22 |" "/x"|
000803b3: 22 20 2f 78 00 00 |" /x..|

I've contacted Archos about trying to get this resolved and have gotten an affirmative ACK from technical support, but not one from engineering staff yet. If anyone knows of other front-ends that were impacted by the change in command-line parsing, let me know; I'd like to disallow the quoted switch syntax going forward, but if it causes enough problems I might look into rewriting the parser to allow it again.

Comments

No comments yet:

Comment form


Please keep comments on-topic for this entry. If you have unrelated comments about VirtualDub, the forum is a better place to post them.
Name:  
Remember personal info?

Email (Optional):
Your email address is only revealed to the blog owner and is not shown to the public.
URL (Optional):
Comment: /

An authentication dialog may appear when you click Post Comment. Simply type in "post" as the user and "now" as the password. I have had to do this to stop automated comment spam.



Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.