INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Encoder "GetInfo" response question  (Read 2412 times)

scthom

  • Citizen of the Universe
  • *****
  • Posts: 621
Encoder "GetInfo" response question
« on: May 05, 2007, 08:21:50 pm »

How is the encoder plugin supposed to respond to the GetInfo "RipAndEncode" query?  It's generated from the Advanced Ripping Options screen.

"TRUE"/"FALSE"
"1"/"0"

Something else?

I tried a variety of things and it didn't seem to make any difference.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Encoder "GetInfo" response question
« Reply #1 on: May 05, 2007, 11:24:26 pm »

I'll take a look on monday -- j

scthom

  • Citizen of the Universe
  • *****
  • Posts: 621
Re: Encoder "GetInfo" response question
« Reply #2 on: May 06, 2007, 10:24:22 am »

Thanks, John.

Another item for the Wiki when we find out.  I know the other one from the SDK (well, the example encoder anyway, it's not in the docs  :() is "Bitrate" but I've never seen it called in practice.  There may be others I'm missing as well.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Encoder "GetInfo" response question
« Reply #3 on: May 06, 2007, 11:54:12 am »

I'll check for sure tomorrow on that one too, but I'm pretty sure that Bitrate is supposed to return the approximate bit rate of the encoder. It was put in so that VBR encoders can make a guess for estimating total sizes.

j

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: Encoder "GetInfo" response question
« Reply #4 on: May 07, 2007, 09:58:59 am »

RipAndEncode - asks whether the encoder can run two instances (encode two files at the same time), returns "Yes" or "No".

Bitrate - what I thought: an estimate of the bit rate of the file, returns a number as a string, like "750" for 750Kbits/sec.

I made a first stab at a wiki page:

http://wiki.jrmediacenter.com/index.php/Encoder_Plug-in_SDK

j

scthom

  • Citizen of the Universe
  • *****
  • Posts: 621
Re: Encoder "GetInfo" response question
« Reply #5 on: May 07, 2007, 09:36:14 pm »

Figures on the Yes/No, I tried True/False and 1/0.  However, I would assume that MC should interpret those as "No" but regardless, would still call multiple instances of the encoder.  So something might be broken there.

Nice work on the wiki.  I'll try to expand it with what I've learned.
Logged
Pages: [1]   Go Up