INTERACT FORUM

Please login or register.

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

Author Topic: "Null" Audio Renderer?  (Read 9086 times)

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10943
"Null" Audio Renderer?
« on: November 30, 2011, 11:20:23 am »

Hi,

i have my Library on my Media Server, which is a headless server system, with no audio card. Sadly, MC17 doesn't allow me to play any files unless it manages to output audio.
I would love to be able to test-play some files through my remote desktop, to see if they work on the server, in case there are some issues.

Would it be possible to add a "Null" audio renderer, or possibly just not connect any Audio filters with RO?
Logged
~ nevcairiel
~ Author of LAV Filters

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: "Null" Audio Renderer?
« Reply #1 on: November 30, 2011, 11:28:59 am »

We talked a while back about creating our own null renderer since your WHS box didn't have one at first and it caused some trouble with importing.  I suppose this would just be an extension of that.

Another option would be to spend a few Euros ( while they still work :P ) on a really cheap soundcard like this $3 one.
Logged
Matt Ashland, JRiver Media Center

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10943
Re: "Null" Audio Renderer?
« Reply #2 on: November 30, 2011, 11:29:54 am »

Well i fixed the importing issue by getting the null renderer installed, i would just like to be able to use the Null renderer for playback, too. :)

PS:
Its not a WHS, and i think the server would be insulted if you called it that. :P
Logged
~ nevcairiel
~ Author of LAV Filters

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: "Null" Audio Renderer?
« Reply #3 on: November 30, 2011, 11:33:11 am »

What happens if you use Options > Video > Advanced > Audio playback device > Default Windows playback device?

I'm wondering if Windows will allow the default audio renderer to work, even if the output doesn't go anywhere.
Logged
Matt Ashland, JRiver Media Center

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10943
Re: "Null" Audio Renderer?
« Reply #4 on: November 30, 2011, 11:33:59 am »

Same error about failure to connect decoder and audio renderer. I tried that already. :)

Its not a crucial issue or anything, just something that annoys me from time to time. Switching it to disk writer actually works, but i generally forget to delete the files, and had some gigabytes of wavs sitting around. :D
Logged
~ nevcairiel
~ Author of LAV Filters

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: "Null" Audio Renderer?
« Reply #5 on: November 30, 2011, 05:05:44 pm »

Its not a crucial issue or anything, just something that annoys me from time to time. Switching it to disk writer actually works, but i generally forget to delete the files, and had some gigabytes of wavs sitting around. :D

That's an interesting idea -- make a null audio output plugin for Options > Audio.  I like the idea because it would be easy to program, and would let you "play" audio as well for testing.

We're also doing some work to make custom filter selection nicer (something we talked about for v16 but didn't have time for) and with that, selecting a null renderer might get easier.

Please bump this in a couple weeks if nothing surfaces before then.

Thanks.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: "Null" Audio Renderer?
« Reply #6 on: December 01, 2011, 01:28:36 pm »

In today's build:
NEW: Added 'Null Output' output plugin, available in Options > Audio > Audio Output.  Allows playing videos on a machine with no sound card.

The hardest part was deciding if the hardware direct light should come on when it's used :P
Logged
Matt Ashland, JRiver Media Center

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14465
  • I won! I won!
Re: "Null" Audio Renderer?
« Reply #7 on: December 01, 2011, 01:35:01 pm »

That made me laugh  ;D
Logged
JRiver CEO Elect

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10943
Re: "Null" Audio Renderer?
« Reply #8 on: December 01, 2011, 01:35:59 pm »

Great, thanks.
Logged
~ nevcairiel
~ Author of LAV Filters

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: "Null" Audio Renderer?
« Reply #9 on: December 01, 2011, 02:17:54 pm »

The hardest part was deciding if the hardware direct light should come on when it's used :P

Ha ha ha ha!!!  ;D
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

MrHaugen

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 3774
Re: "Null" Audio Renderer?
« Reply #10 on: December 06, 2011, 10:16:36 am »

This is great for us that just run the server as a library server I think. Especially on 2008 server that does not nicely support sound out of the box.

Does this mean that I can switch to the Null audio renderer and never have to have any sound card or services running? And will the Duration and Dimensions still be populated? This might help me in my battle against the non updating Durations field.


*EDIT*
No, it did not help with updating the Duration field
Logged
- I may not always believe what I'm saying

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10943
Re: "Null" Audio Renderer?
« Reply #11 on: December 06, 2011, 01:08:48 pm »

So i finally got around to testing this, and i sadly have to report that it doesn't work (tested with .47)
Still getting the same message that the audio renderer could not connect to the decoder.

Log here:
http://pastebin.com/GxVUVZqw
... Nothing interesting in it, though.

It somehow smells like its not finding the null renderer, but i'm sure its present this time.
Logged
~ nevcairiel
~ Author of LAV Filters

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: "Null" Audio Renderer?
« Reply #12 on: December 06, 2011, 01:36:47 pm »

Matt's out for the afternoon.  

Did you choose it under Audio settings?
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10943
Re: "Null" Audio Renderer?
« Reply #13 on: December 06, 2011, 01:39:36 pm »

I figured it out, i still had video set to "Default Windows playback device" from testing earlier.

Works fine now, Sorry about the noise!
Logged
~ nevcairiel
~ Author of LAV Filters

mojave

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3732
  • Requires "iTunes or better" so I installed JRiver
Re: "Null" Audio Renderer?
« Reply #14 on: December 06, 2011, 01:42:51 pm »

You should call this the acappella karaoke feature.  ;D
Logged

MrHaugen

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 3774
Re: "Null" Audio Renderer?
« Reply #15 on: December 08, 2011, 10:50:57 am »

Null Output seems to work well for Audio. I can play the files without activating my Windows Sound Services on the MS 2008 Server.
So, I tried to change the sound output under video to "Same as device used in audio playback", in hopes of making video work without this service as well. No luck.

I get this message:

Something went wrong with playback.
Details:
Failed to connect audio renderer to audio decoder.


To you who understand this sort of things... I'm not supposed to be able to play videos without sound on this server? I thought this Null Renderer would king of fix this thing, and enable me to finally start using Remote Desktop to my server again (2008 disables the sound services when connecting remotely).
Logged
- I may not always believe what I'm saying

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10943
Re: "Null" Audio Renderer?
« Reply #16 on: December 08, 2011, 10:59:09 am »

Works for me on videos with the "Same device as used in audio playback" option.
Logged
~ nevcairiel
~ Author of LAV Filters

MrHaugen

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 3774
Re: "Null" Audio Renderer?
« Reply #17 on: December 08, 2011, 11:01:02 am »

Could you try it with Windows Audio service stopped as well? I'm wondering if this is a 2008 server problem only, or not.
Logged
- I may not always believe what I'm saying

fdefunct

  • Recent member
  • *
  • Posts: 5
Re: "Null" Audio Renderer?
« Reply #18 on: September 11, 2012, 09:12:44 pm »

Well i fixed the importing issue by getting the null renderer installed

Any chance on catching a link to the null renderer you installed? Experiencing, I believe, a similar issue with importing. I'm not too concerned about being able to play from the server, but I'll have to shelve MC17 unless I can get it to import properly on my Server 2008 machine.
Logged
Pages: [1]   Go Up