Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPC-HC as another player? #195

Closed
RowanSkie opened this issue Nov 27, 2022 · 6 comments
Closed

MPC-HC as another player? #195

RowanSkie opened this issue Nov 27, 2022 · 6 comments
Labels
request: feature A request, for a new feature. request: site A request, for a new site.

Comments

@RowanSkie
Copy link

From maintainers: Both labels have been handed to this issue, remove the inapplicable one. Your title should answer at least 3 of 5W1H questions for fastest responses.

Is your feature request related to a problem? Please describe.

So, I'm a person that doesn't really use VLC nor MPV, and until recent updates I've basically set VLC as MPC-HC.

Describe the solution you'd like

Dedicated support for MPC-HC, as it also allows streaming.

Describe alternatives you've considered

A way to use MPC-HC as another player alternative for streaming.

Additional context

It actually used to work, funnily enough.

@RowanSkie RowanSkie added request: feature A request, for a new feature. request: site A request, for a new site. labels Nov 27, 2022
@justfoolingaround
Copy link
Owner

justfoolingaround commented Jan 15, 2023

Not viable, there are not enough options in MPC-HC to make it work as one of this project's standard players.

It needs to at least support headers.

@RowanSkie
Copy link
Author

What type of headers? Maybe you're looking at the wrong repository (hpc-hc/mpc-hc), instead of the right one (clsid2/mpc-hc)?

@justfoolingaround
Copy link
Owner

HTTP Headers. There are still no traces of header support 😔.

@RowanSkie
Copy link
Author

RowanSkie commented Jan 15, 2023

Huh. That's kinda weird.

image

Well, glad to know.

@justfoolingaround
Copy link
Owner

Majority of the streams require headers, some do not. Using players that do not support HTTP headers will damage the flexibility of the project is all. We already have such unstable cases with Android activity and I would not like to add it officially at least!

Usage: mpc-hc.exe "pathname" [switches]

"pathname"	The main file or directory to be loaded
		(wildcards allowed, "-" denotes standard input)
/dub "dubname"	Load an additional audio file
/dubdelay "file"	Load an additional audio file shifted with XXms
		(if the file contains "...DELAY XXms...")
/d3dfs		Start rendering in D3D fullscreen mode
/sub "subname"	Load an additional subtitle file
/filter "filtername"	Load DirectShow filters from a dynamic link library (wildcards allowed)
/dvd		Run in DVD mode, "pathname" means the DVD folder (optional)
/dvdpos T#C	Start playback at title T, chapter C
/dvdpos T#P	Start playback at title T, position P (hh:mm:ss)
/cd		Load all the tracks of an Audio CD or (S)VCD,
		"pathname" means the drive path (optional)
/device		Open the default video device
/open		Open the file, don't automatically start playback
/play		Start playing the file as soon the player is launched
/close		Close the player after playback (only works when used with /play)
/shutdown	Shutdown the operating system after playback
/standby		Put the operating system in standby mode after playback
/hibernate		Hibernate operating system after playback
/logoff		Log off after playback
/lock		Lock workstation after playback
/monitoroff	Turn off the monitor after playback
/playnext		Open next file in the folder after playback
/fullscreen	Start in fullscreen mode
/viewpreset N	Start with specific preset,
		where N is either "1" Minimal, "2" Compact or "3" Normal
/minimized	Start in minimized mode
/new		Use a new instance of the player
/add		Add "pathname" to playlist, can be combined with /open and /play
/randomize	Randomize the playlist
/volume N	Set Volume, where N is a range from 0 to 100
/regvid		Create file associations for video files
/regaud		Create file associations for audio files
/regpl		Create file associations for playlist files
/regall		Create file associations for all supported file types
/unregall		Remove all file associations
/start ms		Start playing at "ms" (= milliseconds)
/startpos hh:mm:ss	Start playing at position hh:mm:ss
/fixedsize w,h	Set a fixed window size
/monitor N	Start player on monitor N, where N starts from 1
/audiorenderer N	Start using audiorenderer N, where N starts from 1 (see "Output" settings)
/shaderpreset "Pr"	Start using "Pr" shader preset
/pns "name or values"	Specify Pan & Scan preset name to use or direct position and zoom values in format "px,py,zx,zy"
/iconsassoc	Reassociate format icons
/nofocus		Open MPC-HC in background
/webport N	Start web interface on specified port
/debug		Show debug information in OSD
/nocrashreporter	Disable the crash reporter
/slave "hWnd"	Use MPC-HC as slave
/hwgpu "index"	Set the index of the GPU used for hardware decoding.
		Only available for CUVID and DXVA2 (copy-back)
/reset		Restore default settings
/mute		Mute the audio
/help /h /?	Show help about command line switches

I apologise for the inconvenience!

@RowanSkie
Copy link
Author

By the way, which providers provide HTTP headers so I can test what would happen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request: feature A request, for a new feature. request: site A request, for a new site.
Projects
None yet
Development

No branches or pull requests

2 participants