INTERACT FORUM

Please login or register.

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

Author Topic: Customize Display - Possible to add Audio Path Input: Changes: Output: ?  (Read 2294 times)

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291

Hi

Is it possible to add the audio path info for; Input: Changes: and Output: to the customize display options?
Would be nice to see what Audio track is playing in display view.
Any other way of doing this?

Eg.

Add the variable [Input]
which which would show
48kHz 24bit 8ch dts-hd ma
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854

Most library fields are available.  Use them as you wish...

formatnumber( math( formatnumber([sample rate,0],0) / 1000 ), 1 )kHz [bit depth]bit [channels]ch [file type]
Logged

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291

Thanks but as I suspected this doesn't work the way I wanted.

I get
 0kHz 32bit 0ch mkv

I wanted the same format that's in the audio path Input that's read directly from the current audio stream.
The Audio Path Input in the DSP display reports "48kHz 32bit 6ch from source dts-hd ma"

I did find a way to do it that meets most of the requirements though, using the compression field from the library.

This might be a bug but I noticed the [Channels] and [Sample Rate] fields are populated in the library for the video files but still shows as 0 in the display. (normal mp3 and flac Audio file channels and sample rate displays properly but video file audio channels & sample rate doesnt)

This is my Alternate customised display string now just for video playback:

[Remaining Time] // [Total Time] - [Compression] [Channels] ch - formatnumber( math( formatnumber([sample rate,0],0) / 1000 ), 1 )kHz - [Bit Depth]bit - Bitrate [Bitrate (labeled)] - [Zone] Zone - [PN Position] of [PN Tracks]

Which displays as:

-1:34:06 / 1:34:34 - mkv video (video: h264, audio: dts-hd ma) 0 ch - 0kHz - 32bit - Bitrate 8804 kbps - HTPC 7.1ch Zone - 26 of 2847

This is pretty much what I wanted but I just need the number audio channels and sample rate to be picked up properly for video files from the library.

Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854

I see audio channels in my MKV, and VIDEO_TS files...  not sure why you don't see them.
Logged

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291

Im working on a client at the moment, maybe it only works on the local library I'll check.

Nope that's not it.

Just to clarify they show up in the tags for the videos they just wont come up in the display.
Logged

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291

Do you analyse audio for your video files on import? I don't?? Would that make a difference?
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854

No, I checked and my video aren't analysed.  I use DVDFab for ripping... I wonder if it is supplying the tagging...
Logged

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291

Same I also use DVDFab, but other files from other sources also have the same problem.
MC19 also has the same problem for me. Maybe it something to do with my sound card and setup.
I'll check on my HTPC and see if it has the same problem.

Thanks for checking much appreciated.
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854

Try analyzing...  MC would need to determine the channels and may write the tags...
Logged

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291

Unfortunately analysing audio for video doesn't fix it either.

Tried all my machines and I get the same result for all of them.

The Channels and samplerate fields definitely have entries for those fields in the library, the display string im using just doesn't populate the data.

Can you double check my string and possibly copy yours here so I can try it?
Logged

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291

What video and audio filters are using?
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854

Your expression shows the channels for me... very strange.

Logged

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291

Are you using MC20 for windows on Windows 8.1?

Im at a complete loss.

I've done a clean install and new clean library and still have the same problem.
I uninstalled some add-on codecs.

The last thing to try is a reboot but I doubt that will do it.
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854

Windows 7.  Cannot think that's the reason.  Cannot think of anything to try, either.  Sorry :/


Logged

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291

Thanks for trying.
Maybe this is one for the JRiver boys?

Here's what I get.

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!

Next build:
Fixed: Using [Channels] and [Sample Rate] in the player display area didn't work for videos.
Logged
Matt Ashland, JRiver Media Center

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291

Thanks Matt!
Logged
Pages: [1]   Go Up