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. |
2nd February 2023, 06:25 | #1881 | Link |
Registered User
Join Date: Oct 2012
Posts: 7,922
|
the default audio renderer stops working when the sound card is set to 32bit 384khz this even can break playback entirely.
not sure how much influence mpc-hc has on the default directshow audio renderer but sanear and mpc audio renderer are not affected. |
2nd February 2023, 15:27 | #1882 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
DirectSound is limited to 192kHz. Players have no influence on that.
The internal audio renderers are capable of resampling.
__________________
MPC-HC 2.2.1 |
2nd February 2023, 16:08 | #1883 | Link |
Registered User
Join Date: Oct 2012
Posts: 7,922
|
i see thanks.
can you PM me the dumb of this: https://drdump.com/UploadedReport.aspx?DumpID=103647308 so i can waste my time and report this? i'm responsible for quite a lot of them and may have an idea why this is happing now but i have nothing at hand to show madshi. |
2nd February 2023, 18:33 | #1884 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
I have send a dump to madshi
__________________
MPC-HC 2.2.1 |
2nd February 2023, 22:27 | #1885 | Link |
Registered User
Join Date: Feb 2019
Posts: 231
|
If I were to want to run 2 local copies of MPC-HC at once and keep them synced, how would you recommend I do that via API?
Would it be possible do you think to maintain a sync accuracy of +/-10ms or better? I don't think it is possible via http API as the timing data is only updated every 40ms I think. What about WM_COPYDATA? |
3rd February 2023, 14:46 | #1887 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
You will have to use the API, and unpause at same time. I doubt you will get such good sync all the time. I can not give you any help with this.
You could maybe try an Avisynth script and use stacking.
__________________
MPC-HC 2.2.1 |
3rd February 2023, 15:51 | #1888 | Link |
Registered User
Join Date: Feb 2019
Posts: 231
|
Not sure what you mean by cloning.
I have been experimenting with controlling the players via programmatically sending a play/pause hotkey simultaneously to both windows via windows api PostMessage. It’s definitely a really close sync but I will keep playing to see if I can get it even better. Really I am trying to do this so I can have bitstream audio and pcm decoded audio coming from my movie simultaneously. Bitstream routes to my AVR (because Atmos and DTS:X) and the PCM I want to do things with individual channels so I need it decoded in the PC. I’ll keep playing around. |
3rd February 2023, 16:00 | #1889 | Link |
Registered User
Join Date: Oct 2012
Posts: 7,922
|
display cloning that a feature from ahh win XP or something.
if done 2 output of a GPU will output the same image with 100 % sync. it's done in windows and only works if both displays are connected to the same GPU. does not apply here. mpc-BE can output two audio streams. sync them is not possible really but it has the option. no clue if bitstreaming is part of it. |
3rd February 2023, 16:12 | #1890 | Link | |
Registered User
Join Date: Feb 2019
Posts: 231
|
Quote:
Yeah for my purpose dual audio is actually the goal. I tried dual audio in MPC-BE but unfortunately if one is set to bitstream, the second must also be bitstream. Either both have to be bitstream or both have to be decoded and that unfortunately is not sufficient for what I need. |
|
3rd February 2023, 22:14 | #1891 | Link |
Registered User
Join Date: Feb 2019
Posts: 231
|
Just an update, I think I have a working method.
I use MPC-HC and MPC-BE. HC is my main player with video loaded and bitstream audio. BE is the secondary player with video set to null renderer so it doesn't load and audio set to 8 channel pcm decode. For sync I have written a small app that reads the current second from HC, then seeks both players to that second via http api. Then it seeks both players backwards to the nearest keyframe (Shift+Left). This was the critical step to getting both players to the same exact time. Finally my app then sends a unpause to both players via keystrokes, but I use a low level win api PostMessage that allows me to send the keys to both windows more or less simultaneously without the windows having to be selected or active. For testing I have both players decoding and playing audio to my speakers so if they are even a tiny bit off i hear a slight reverb. But with my above method set up now I do not hear any reverb even. If I load video on both players and film my 175hz oled with my 240hz smartphone camera and watch the 240hz recording frame by frame, i can see the frame in both video players changes on the same frame in my 240hz video, so this makes me believe the sync accuracy is about 4ms or better which is great. Now I understand when i go bitstream vs decode between the players, this can offset them a bit, but that's fine, because I have to manually set my tactile bass shaker timing manually by feel anyways and I use a minidsp for that which has a delay function accurate to tenths of a millisecond even. I am delaying my bitstream audio by 50ms in my AVR to sync it with my projector (video processing), so I have plenty of leeway to get the LFE signal delayed through my minidsp to my bass shakers correctly. Point is, the sync between players now seems to be super consistent and stable. I can pause both players, seek my main player, and then my unpause function gets them to start up in sync at the previous keyframe to wherever my main player was when i asked to resume. Last edited by SirMaster; 3rd February 2023 at 22:19. |
4th February 2023, 23:04 | #1892 | Link |
Registered User
Join Date: Nov 2015
Posts: 471
|
@clsid: I have observed that in the advanced settings where one can set a preference for YDLVideoFormat and YDLAudioFormat that it works for playback, but for Save a Copy it uses a different default selection. Meaning one will get different codecs in the file download, e.g. VP9 instead of h.264, etc.
|
5th February 2023, 23:28 | #1893 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
Those settings are for streaming. YDLCommandLine is for downloading.
Hover your mouse above the advanced options to get a tooltip with description.
__________________
MPC-HC 2.2.1 |
10th February 2023, 00:42 | #1894 | Link |
Registered User
Join Date: Feb 2002
Posts: 758
|
MPC-HC defaults to multi-channel audio. I have a video with 2 audio.
1- stereo 2- 5.1 MPC automatically plays track 2. I don't want that. It should play the first audio track by default when I run the software. How to do that in the settings? |
10th February 2023, 05:22 | #1895 | Link | |
Registered User
Join Date: Feb 2019
Posts: 231
|
Quote:
Use mkvpropedit to edit the container properties to give the desired default track the "default" flag. https://forum.doom9.org/showthread.php?t=163753 |
|
11th February 2023, 15:26 | #1898 | Link |
Registered User
Join Date: Jun 2014
Posts: 25
|
Hardware decoding is disabled when playing a DVD through the usual menus, even though SD and MPEG-2 boxes on LAV Video Settings and MPEG-2 video and Enable DVD Video support on Formats tab are checked. When I play the standalone VOB video files with the same settings, hardware acceleration works just fine. Any idea on how to enable HW decoding on normal DVD playback?
Software info: Code:
MPC-HC (Nightly, 64-bit) ------------------------ Build information: Version: 2.0.0.7 (bf78bfddd) Compiler: MSVC v19.29.30147 Build date: Feb 2 2023 LAV Filters: LAV Splitter: 0.77.1.2 LAV Video: 0.77.1.2 LAV Audio: 0.77.1.2 FFmpeg compiler: MinGW-w64 GCC 12.2.0 Operating system: Name: Windows 10 (Build 22H2) Version: 10.0.19045 (64-bit) Hardware: CPU: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GPU: Intel(R) Iris(R) Xe Graphics (driver version: 31.0.101.4091) DVD menu: VOB file: LAV Video Decoder Formats tab (when using external filter): Last edited by ksio89; 11th February 2023 at 15:29. |
14th February 2023, 12:03 | #1899 | Link |
Registered User
Join Date: Mar 2010
Posts: 139
|
http://www.codecguide.com/download_k..._pack_full.htm
where find mpc 2.0.0.14? the mpc github is 2.0, how is possible that k-lite has a updated version? |
Thread Tools | Search this Thread |
Display Modes | |
|
|