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

[Request] --force-window parameter: image #869

Closed
bitingsock opened this issue Jun 22, 2014 · 9 comments
Closed

[Request] --force-window parameter: image #869

bitingsock opened this issue Jun 22, 2014 · 9 comments

Comments

@bitingsock
Copy link
Contributor

I'm wondering how popular it would be to add a parameter to the --force-window option. This parameter would set an image file as the video. Preferably, one could designate relative paths and wildcards: --force-window=%X/*.jpg(delimiter)png

@ghost ghost added the enhancement label Jun 22, 2014
@spidey
Copy link

spidey commented Jul 22, 2014

Would you use this to show a cover art when playing music?

@bitingsock
Copy link
Contributor Author

Yes, for example. It wouldn't necessarily have to be cover art though. It could be an image you want up for all music. Or if you don't want to go strip the shitty 24x24 embedded art in a file, it could just be swapped at start.

@ghost ghost added the priority:low label Jul 18, 2015
@mvucBmM0
Copy link

mvucBmM0 commented Oct 2, 2015

I would just like to reinforce this request.
Apart from using audio files with embed art, i haven't found any other way to show album art while playing an audio file in mpv. This would fit the bill.

@sljunkie
Copy link

sljunkie commented Oct 4, 2015

This could be useful - one could create a profile for using mpv as a music player from the file browser with a fixed image or a file named "cover|front.png|jpg" located at the same directory as the audio file(s).

@sljunkie
Copy link

sljunkie commented Oct 8, 2015

I have an idea that could be easily implemented: instead of a black screen, by default a image with the mpv logo at the center could be drawn in the --force-window mode, if the media has only audio and there's no embedded cover art. Something like this:

mpv-background

@woodruffw
Copy link
Contributor

Another +1 for this.

@Traneptora
Copy link
Member

Is there any particular reason you can't just play the image, and set --image-display-duration=inf?

@bitingsock
Copy link
Contributor Author

bitingsock commented Jan 14, 2018

that partially works but then the osc and scripts don't operate on the audio-file that you would load; they operate on the image file

@bitingsock
Copy link
Contributor Author

as it turns out, the --external-file option as explained in #3056 seems to work for this purpose now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants