View Full Version : How to play Youtube in MPCHC
kieksiedus
29th July 2022, 07:33
Does anyone know how to play Youtube video's in MPCHC?
In this (https://www.reddit.com/r/youtubedl/comments/pxb7co/comment/hemib60/) post someone states that it should work, but when I try this nothing happens. I tried this on multiple computers with different internet connections.
When I search Google (https://www.google.com/search?q=youtube+mpchc) for possible solutions I see different possibilities, but I can't get this to work.
Does anyone have advise or experience with this?
Sunspark
29th July 2022, 08:56
Place yt-dlp.exe ffmpeg.exe and ffmprobe.exe in the mpc-hc folder.
Paste the youtube url in the open menu.
If subtitles needed, configure the options for them in advanced.
kieksiedus
29th July 2022, 10:32
Place yt-dlp.exe ffmpeg.exe and ffmprobe.exe in the mpc-hc folder.
Paste the youtube url in the open menu.
If subtitles needed, configure the options for them in advanced.
This works perfectly! Now I can enjoy fluent Youtube video with my old Shuttle XH61V on my television! :thanks:
clsid
29th July 2022, 13:56
For playback you only need yt-dlp.exe. The other files are only needed for downloading (Menu > File > Save a copy).
v0lt
29th July 2022, 18:37
Why does MPC-HC need ffmprobe.exe?
kieksiedus
1st August 2022, 15:43
I run into the following problem.
When I for example play this (https://www.youtube.com/watch?v=F9RH8rEDY2k) YT vid then hardware acceleration is being used and playback is fluent.
https://am3pap006files.storage.live.com/y4ms0_c-u55rjFBKHFXT28Xv9dfEYAcjtqUJiffquRIt4sAZsa_w3IeLclXNXd9lt44zlYtIguA9zSGpahSV5Ah_6iif1A_BorKAubWNIa7U28pwg_U3nsLsmh7TEaJrzdB7E8lRHCQX1gH5jow8THo6cKBzmqXzmySknnPqet-vVYrZ9-5MyHthh3yE53F0LFoB5H5MLMOVElqATfvxnnNgQ/2.PNG?psid=1&width=1370&height=400
When I play this (https://www.youtube.com/watch?v=Z2VC32jVIi8) video it doesn't use hardware decoding and playback isn't good, CPU is maxing out.
https://am3pap006files.storage.live.com/y4m9Vx1Llbykk4M8nPS7wC_oudTOytrm1hL5YHOz33Q9-R2GtDAPFt6RNtCbaFQ-kAdNKM3N3P66gnquEIv1ymVBn22sq-JBGdKbdr0x-mkNG0m64KQBgGU3iilKfbHe3AWpF2SaRzNIrBzEjihVUIySlnpao8jW3wOqACoDaLIps_A5q8Erj1omiIxQ3X7pj8bJTVezg8Vs7yl4EY6VxfSyg/1.PNG?psid=1&width=1351&height=419
Does anyone know if this can be fixed?
SirMaster
1st August 2022, 16:53
This filter works really well for me and lets me intimately configure exactly what I want to receive from YouTube in terms of video and audio when I give it a URL to play.
https://ys.3dyd.com/home/
huhn
2nd August 2022, 13:19
go to option -> advanced.
set the YDLmaxheight to a sensible setting you can decode/have the screen resolution.
set YDLvideofromat to 2 or to what ever your intel GPU supports.
kieksiedus
3rd August 2022, 19:28
go to option -> advanced.
set the YDLmaxheight to a sensible setting you can decode/have the screen resolution.
set YDLvideofromat to 2 or to what ever your intel GPU supports.
I set YDLMaxHeight to 1080 and tried every YDLVideoFormat setting in combination with either DXVA2 (native) or D3D11, but I can't get hardware decoding to work with this (https://www.youtube.com/watch?v=Z2VC32jVIi8) vid.
https://gpuz.techpowerup.com/22/08/03/wjx.png
clsid
4th August 2022, 11:11
Use YDLVideoFormat=2, DXVA2 Native, and update to latest development build of MPC-HC (https://github.com/clsid2/mpc-hc/releases/tag/1.9.22.2).
kieksiedus
4th August 2022, 19:45
Use YDLVideoFormat=2, DXVA2 Native, and update to latest development build of MPC-HC (https://github.com/clsid2/mpc-hc/releases/tag/1.9.22.2).
Epic! :goodpost: Now it works! Thanks a lot! :)
kieksiedus
4th August 2022, 20:32
I just try to understand one more thing. When I play this (https://www.youtube.com/watch?v=Z2VC32jVIi8) vid or some local m2ts-file it uses DXVA2 Native decoding, but when I take a look (while playing) at the video decoder properties it states that DXVA2 (native) is inactive/none:
https://am3pap006files.storage.live.com/y4mMNA_g3wdkCYohMIOJvJq1j_-2t0AHGnlQ3pJoWdbb3sp_cfDoXdBnqFZ0xerUGd-YuhZ54MjMAiTwJticV8ZMap4PPdQgnAR2XZAgQXBIWtijXYFilXjpJ5x_JS7KvN3sde2H5gqMsoxG9X2p7l1WPtLZLGVUKPpBnV_iQWfaKXb5GLAwLxdOK-WTm9BsX_6xsh0_cHTJpqJTktueBdclQ/22.PNG?psid=1&width=1353&height=328
https://am3pap006files.storage.live.com/y4m9Smv214u61yNYMhka5QmVeJGNYFv173RTQwiBhTlHlF-IVZr-TBs59m7VedUImLUJn7reuGk5JezeBDe8W032rkdI-i3f9AlKtFMV_RbrYYjRmRsRoyAS5F2Pm4BjvgQuDX5K4RFVAheRHMkcIsWkbUS1SoNNingfQNBYQYhOMw0r-m5oTTKLMYofotEyJGQ8xnquCFFe-_oKLKBaEmrHw/11.PNG?psid=1&width=649&height=569
lvqcl
4th August 2022, 20:49
I just try to understand one more thing. When I play this vid or some local m2ts-file it uses DXVA2 Native decoding, but when I take a look (while playing) at the video decoder properties it states that DXVA2 (native) is inactive/none:
You have two instances of the LAV Video decoder. The first decodes AVC with DXVA2 (native) and the second does nothing and is inactive.
clsid
4th August 2022, 22:11
The player shows "H/W" in its status bar when hardware acceleration is active. So you do not need to look anywhere else.
To view status of active filters, access their settings through:
Menu > Play > Filters
If you access the settings some other way, like through a start menu shortcut, then you are opening a new and inactive instance.
kieksiedus
6th August 2022, 08:54
The player shows "H/W" in its status bar when hardware acceleration is active. So you do not need to look anywhere else.
To view status of active filters, access their settings through:
Menu > Play > Filters
If you access the settings some other way, like through a start menu shortcut, then you are opening a new and inactive instance.
I see, thanks :)
https://am3pap006files.storage.live.com/y4m6Yde1Vq9g7zFtEtgmAWfINepPOMC-dhNS3BECGM5Upo4HiAg03AjTiKKgPNcnVv48T8VEIt3LZ_gtP_Efcg9nclogmxcCO_0uDdgzMSwBx9nb-d4nPUEqbLn3aUtmmwSEuELfMZ1GLIEzpZHN1HzaL2WOOZNylWhgsa1qm6jJhSOMJlFPtRNs-9fYPoSGHRD0-HjhhETMsSev909ZblP0A/33.PNG?psid=1&width=255&height=191
kieksiedus
13th August 2022, 15:50
Is it also possible to bitstream audio with youtube-dl in MPCHC when playing video’s?
huhn
13th August 2022, 17:36
it's aac or opus usually so no this is usually not implemented for bit streaming neither be common DS filter nor by AVR/TVs.
StainlessS
12th March 2026, 12:47
# ... #
Optional (Recommended): Place ffmpeg.exe in the same folder for better quality and format support.
# ... #
Is it ok to have ffmpeg.exe in system path, rather than MPC-HC directory ?
Emulgator
18th March 2026, 16:57
If somebody wants a particular app to use only a specific version of ffmpeg.exe
I would suggest to put that particular ffmpeg.exe it into that program exe's folder.
It will be the first one to be loaded. Maybe this would be the safe haven for MPC-HC's use as transcoding tool in matching version.
(I need that here, Audacity and other s/w will only work with their matching version, given commandline syntax changes, CPU/OS dependent builds and so on)
Any other s/w without specifiable ffmpeg.exe path will have to dig deeper until they find one in system path.
This would be their fallback solution then.
"Systemwide" may sound nice at first, but:
If flawed all falling back s/w inherit that flaw, and if well-built, all falling back s/w inherit that asset.
I am rather hesitant to destroy proven bridges if I want just to test a new one.
StainlessS
18th March 2026, 19:30
Thanks for that gator.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.