Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Detecting Audio streams (Plex DVR with VAP)

  1. #1

    Question Detecting Audio streams (Plex DVR with VAP)

    Hello,

    Currently I've 2 different profiles for Plex DVR recorded content. The 5.1 audio files have an additional task of making a stereo channel stream.

    In order to know if I need to apply this profile or the default I have to manually check every file I've recorded with VideoReDo.
    This is tedious, and I'd love some ideas about how I can get VAP to check if the file is 5.1 or 2 channel audio / and ideally select the correct Profile depending and then process.

    Your help and thoughts are much appreciated !


    Thanks in advance,
    +|-

  2. #2
    Join Date
    Jul 2006
    Location
    Englewood, Ohio
    Posts
    2,142

    Default

    Is there any way you can identify which files need which profile based on matching a string fragment in the video file names? If so, you can set up profile match strings in VAP so files are automatically processed with the required profile. Selection can also be done based on file extension and video encoded width or height. There is no limit to the number of profile match strings.

    Doing what you desire would be a major mod so I hope profile match strings will work. Just out of curiosity what is it you check in order to make the decision?

    Also, a utility program I recently created might make getting the info you want much easier than manually loading files into VRD. See this thread:
    http://www.videoredo.net/msgBoard/sh...am-information
    Latest program version is attached to post #14.
    Automate VideoReDo processing with VideoReDo-AutoProcessor (VAP)

  3. #3

    Default

    Hello,

    Thank you for the excellent reply. Sadly the Plex DVR files have the Name & Year and that's it. However, your Utility program does correctly highlight if films are 'AAC' (5.1) or MPEG (2.0) audio. I need to do some more tests to conclude if this is accurate and then I guess it's about working on some sort of script that could extract this information automatically, and run VAP with the correct profile.
    Is it possible to run 2 VAP's ?

    Thanks again,

  4. #4
    Join Date
    Jul 2006
    Location
    Englewood, Ohio
    Posts
    2,142

    Default

    Yes you can run more than one instance of VAP. There is a command line option (goes in shortcut) that assigns an instance #, and you should not share monitor, TempQSF and output folders. If you search VAP-read me.pdf you will find details on this. Search "multiple" -- I don't have a copy handy right now. Warning; I don't run multiple copies and suspect this feature has had little use.

    How many different "Names" do you work with? There is no limit to the number of profile-match entries you can have. If 'Orphan Black" is a name, you could use "orphan" (or "orphan black", or "orph") as the match string. The only limit on this approach is how many profile-match entries you are willing to enter. (20, 50 or ?)
    Automate VideoReDo processing with VideoReDo-AutoProcessor (VAP)

  5. #5

    Default

    Hello again,

    Apologies it's been so long since my response. Due to a playback issue with Chromecast and seemingly all recorded 1080p Film's I've been distracted. Hopefully back on this soon.
    In the meantime, it would seem I can write some sort of script which could analyse new recordings, and if 5.1 audio detected it would rename the file with 'srnd' or something at the end.
    VAP should recognise this with its advanced file name scanning and use the alternate profile to process. That's the theory I think?

    A quick question about VAP and autostart. I happen to have a small Intel NUC which does all my media and the DVR recording. This isn't powerful, but is on 24/7 and is silent, so fine for VAP processing and autostarting after a power failure or reboot.
    I've tried batch scripts in start-up folders and Task Scheduler. Both seem to struggle, seemingly though there's no issue when manually clicking the shortcut....
    The issue I think relates to VideoReDo running as admin ? I’ve seen other’s post about this but couldn’t spot a solution.

    Sorry for the diversion, I'll be back on the script stuff once 1080p Chromecast profile tweaks are done.


    Thanks again !

  6. #6
    Join Date
    Jul 2006
    Location
    Englewood, Ohio
    Posts
    2,142

    Default

    @plusminus,

    Your scheme for using profile match-strings will work fine. If the 5.1 files have different extensions or always have a different video width, those can be used to select a profile already. Let me look into adding an audio type selection feature into the existing profile match-string feature. A possible complication here is multiple audio tracks. Do you want profile selection based on if any track is 5.1? Or the first track? And considering only english tracks?

    Task Scheduler launching of VAP has had some issues and I don't do it. Take a look at the sticky thread on that topic, although it's getting a little dated.
    Automate VideoReDo processing with VideoReDo-AutoProcessor (VAP)

  7. #7
    Join Date
    Jul 2006
    Location
    Englewood, Ohio
    Posts
    2,142

    Default

    I can mod VAP to do profile selection based on audio info. But there can be multiple tracks and each one has several parameters including channels (e.g. 5.1 or 2.0) and language, plus others. I need to get a workable selection algorithm. Examples might be:
    1. The first track is 5.1
    2. The first English track is 5.1
    And we need a terse way to specify these in the profile match strings. For example, width constraints are specified by prepending [width=1920] to a match string.
    Trying to select on multiple combinations of audio parameter values could get too complicated here.
    Automate VideoReDo processing with VideoReDo-AutoProcessor (VAP)

  8. #8

    Default

    You're too kind.

    Ok, so the fundamental issue I think has been resolved. Chromecast doesn't like 1080p DVR recorded files. Old AppleTV is fine > Thus no need to do different stuff with 5.1 or 1080p files anymore.

    However, am trying to find a way for the output files to move back to their original named folders after VAP has done it's stuff.
    Is there a post output script run option ? I can make the script to move the file (I think), but I can't run it since the Output folder can contain files that are still being converted by VAP.

    Sorry for side track !

  9. #9
    Join Date
    Jul 2006
    Location
    Englewood, Ohio
    Posts
    2,142

    Default

    Quote Originally Posted by PlusMinus View Post
    You're too kind.

    Ok, so the fundamental issue I think has been resolved. Chromecast doesn't like 1080p DVR recorded files. Old AppleTV is fine > Thus no need to do different stuff with 5.1 or 1080p files anymore.

    However, am trying to find a way for the output files to move back to their original named folders after VAP has done it's stuff.
    Is there a post output script run option ? I can make the script to move the file (I think), but I can't run it since the Output folder can contain files that are still being converted by VAP.

    Sorry for side track !
    Sorry but I don't understand what you want to do here. Can you give some examples of input and output file names and their folder locations?
    Automate VideoReDo processing with VideoReDo-AutoProcessor (VAP)

  10. #10

    Default

    No worries. I was asking if there was a way to run a script 'post process'. This is to move the completed files from 'Output' to another location.

    I've made a script that regularly checks the folder instead, and moves the file if it's creation time is older than X minutes.


    Just the VAP autostart thing to work on now and I'm a happy chap

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •