Closed Doofussy2 closed 2 years ago
Hello, I am new here and I am not very knowledgeable about this stuff but I enjoy learning. Currently I am trying to play DV video and I am having the green red hue problem. What I am seeking to know is how to set up mpv player. I already have ffmpeg installed but am unclear about libplacebo. I am using Windows 10. I am having trouble understanding "vo=gpu-next" as to what it is and how to 'enter' it. Sorry if this is something that has been answered and I am missing it or is being asked in the wrong place. I am not the swiftest cat with forums. I can follow instructions but I am a noob with a lot of this. Thanks anyone who can help.
Hello, I am new here and I am not very knowledgeable about this stuff but I enjoy learning. Currently I am trying to play DV video and I am having the green red hue problem. What I am seeking to know is how to set up mpv player. I already have ffmpeg installed but am unclear about libplacebo. I am using Windows 10. I am having trouble understanding "vo=gpu-next" as to what it is and how to 'enter' it. Sorry if this is something that has been answered and I am missing it or is being asked in the wrong place. I am not the swiftest cat with forums. I can follow instructions but I am a noob with a lot of this. Thanks anyone who can help.
Using prompt go inside the folder where the mpv.exe
is and then go with:
mpv.exe --vo=gpu-next C:\path\to\video\filename.ext
Yeah, indeed, this is supported now with
--vo=gpu-next
and sufficiently recent ffmpeg/libplacebo (ffmpeg 5.0, libplacebo 4.192.0).
Can ffmpeg convert DV to HDR/SDR now?
Yeah, indeed, this is supported now with
--vo=gpu-next
and sufficiently recent ffmpeg/libplacebo (ffmpeg 5.0, libplacebo 4.192.0).Can ffmpeg convert DV to HDR/SDR now?
Yes, see https://ffmpeg.org/ffmpeg-filters.html#Examples-90
It is done automatically by the vf_libplacebo
filter when DV metadata is present.
How would one be able to use it within macOS then?
Warning: ffmpeg 5.1.2_6 is already installed and up-to-date.
To reinstall 5.1.2_6, run:
brew reinstall ffmpeg
sg-nb3:Downloads sg$ mpv --target-trc=pq --target-prim=bt.2020 vo=gpu-next dolby-vision-nasa-\(dolby-vision\)-\(www.demolandia.net\).mp4
Playing: vo=gpu-next
[file] Cannot open file 'vo=gpu-next': No such file or directory
Failed to open vo=gpu-next.
Playing: dolby-vision-nasa-(dolby-vision)-(www.demolandia.net).mp4
(+) Video --vid=1 (*) (hevc 3840x2160 59.940fps)
(+) Audio --aid=1 (*) (eac3 6ch 48000Hz)
AO: [coreaudio] 48000Hz stereo 2ch floatp
VO: [libmpv] 3840x2160 yuv420p10
AV: 00:00:09 / 00:02:23 (7%) A-V: 0.000 Dropped: 152
Exiting... (Quit)
sg-nb3:Downloads sg$
OK, so no dolby vision playback on macOS possible at the moment?
I tried to play the testfile as mentioned in the original post, but with the same result.
how can I play hdr files on macOS Apple Silicon, I've compiled mpv myself, it does recognise the file as hdr and shows proper colors to use 2020-ncl*, but it just doesnt look as bright/colorful(maybe), like the same video played over safari, it's a lg oled video https://youtu.be/njX2bu-_Vw4
I have the following versions installed:
ffmpeg-6.0_1,1 Realtime audio/video encoder/converter and streaming server
ffmpeg4-4.4.4_2 Realtime audio/video encoder/converter and streaming server (legacy 4.* series)
libplacebo-6.292.0 Reusable library for GPU-accelerated video/image rendering
mpv-0.35.1_5,1 Free and open-source general-purpose video player
nvidia-driver-535.54.03 NVidia graphics card binary drivers for hardware OpenGL rendering
And I have set vo=gpu-next
, but I still get funky colours. Is there anything else I need to do?
edit: it's weird how it affects certain parts of the image and not others (depends on scene).
but gpu-next certanly looks better then for example XV:
mpv version and platform
Windows 10
Reproduction steps
Play some Dolby Vision videos. Not all videos play this way, and I tested with and without an mpv.conf. Same result.
Expected behavior
Play with correct color
Actual behavior
Picture plays in purple and green
Log file
Portable mpv log.txt
Sample files
Can be found, here