specify DEFAULT_MENCODER_ARGS for pmsencoder ?

Discuss third-party additions, plugins and translations for PS3 Media Server

specify DEFAULT_MENCODER_ARGS for pmsencoder ?

Postby PeterCu » Tue Nov 30, 2010 11:37 pm

I'm trying to change some arguments for the mencoder.

My pmsencoder.groovy:
***********
config {
$DEFAULT_MENCODER_ARGS -= [ '-cache','16384' ]
// $DEFAULT_MENCODER_ARGS += [ '-cache','32768' ]
}
***********
error message:

***********
[main] TRACE 23:35:55.602 loading PMSEncoder config file: pmsencoder.groovy
[main] TRACE 23:35:55.644 Can't load PMSEncoder config file: pmsencoder.groovy: groovy.lang.MissingPropertyException: No such property: $DEFAULT_MENCODER_ARGS for class: com.chocolatey.pmsencoder.Config
***********

What is my mistake ?

Peter
PeterCu
 
Posts: 3
Joined: Thu Oct 07, 2010 3:37 pm

Re: specify DEFAULT_MENCODER_ARGS for pmsencoder ?

Postby chocolateboy » Wed Dec 01, 2010 9:26 am

Why is this posted in "Linux Specific Support"?

Save this as pmsencoder.conf or pmsencoder.groovy in the PMS directory (e.g. alongside PMS.conf):

Code: Select all
config {
    args -= [ '-cache', '16384' ]
    args += [ '-cache', '32768' ]
}


Note:

  • This solution only works with PMSEncoder 1.1.0, and will break the next version of PMSEncoder.
  • You may be able to achieve the same (or better) results with the MEncoder -cache-min option.
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am


Return to Additions and Plugins

Who is online

Users browsing this forum: No registered users and 7 guests