Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th March 2019, 04:39   #1  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,170
MPC-HC Play Video with Different Audio File

Is it possible to play a video in MPC-HC, and play the audio from a separate file?

What I'm currently doing is playing a video through an Avisynth script that loads the video and tune the audio to 432hz.

What I'd like to do is play the video normally in the player, and play only the audio through the Avisynth file. Is it possible?

I'm also looking at PotPlayer and I see it has a "Load External Audio" option; but on my first try its codecs aren't performing well.

MPC-HC does auto-load all file extensions with the same name, so I could force it to load the audio using Avisynth Virtual File System and exposing the audio to be loaded next to the video file. Is there a simpler way?

Last edited by MysteryX; 18th March 2019 at 07:19.
MysteryX is offline   Reply With Quote
Old 18th March 2019, 07:36   #2  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Germany
Posts: 5,617
I think yes, see main menu > Help > Command Line > /dub

I couldn't find it in the GUI, for a programmer it can be added to mpv.net's GUI relatively easy by editing the input.conf file and add a script to handle the command, mpv.net support 4 scripting languages (Lua/JavaScript/C#/Python), it's probably not more than 10 Lines code.

Last edited by stax76; 18th March 2019 at 07:41.
stax76 is offline   Reply With Quote
Old 18th March 2019, 09:10   #3  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,405
In MPC-HC:
"File"->"Open File/URL". Put the audio file in the second field.
sneaker_ger is offline   Reply With Quote
Old 18th March 2019, 12:17   #4  |  Link
MysteryX
Soul Architect
 
MysteryX's Avatar
 
Join Date: Apr 2014
Posts: 2,170
ok good. Can this cause audio sync issues?

How can I open the audio via API? (either the native API or the web API)
MysteryX is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:34.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.