[Haruna] [Bug 486079] Intel Quicksync support

2024-04-25 Thread Laszlo Kovacs
https://bugs.kde.org/show_bug.cgi?id=486079

--- Comment #2 from Laszlo Kovacs  ---
(In reply to george fb from comment #1)
> You should be able to set it in "Settings > Custom Commands" `set vd
> "h264_qsv,hevc_qsv ..."`

Brilliant!!! Splendid!
I can't say enough "thank you"!

Thank you for your help, this works as I expected. 
Kind regards

-- 
You are receiving this mail because:
You are watching all bug changes.

[Haruna] [Bug 486079] New: Intel Quicksync support

2024-04-24 Thread Laszlo Kovacs
https://bugs.kde.org/show_bug.cgi?id=486079

Bug ID: 486079
   Summary: Intel Quicksync support
Classification: Applications
   Product: Haruna
   Version: unspecified
  Platform: Debian stable
OS: Linux
Status: REPORTED
  Severity: wishlist
  Priority: NOR
 Component: generic
  Assignee: georgefb...@gmail.com
  Reporter: i...@kovacsoltvideo.hu
  Target Milestone: ---

TLDR; 
I'd like to see quicksync HW decode support in Haruna.
MPV already supports quicksync hw decode, so believe it's just passing some
parameters.

mpv --vd=help | grep qsv
h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
hevc_qsv (hevc) - HEVC video (Intel Quick Sync Video acceleration)
mpeg2_qsv (mpeg2video) - MPEG2VIDEO video (Intel Quick Sync Video
acceleration)
vc1_qsv (vc1) - VC1 video (Intel Quick Sync Video acceleration)
av1_qsv (av1) - AV1 video (Intel Quick Sync Video acceleration)
mjpeg_qsv (mjpeg) - MJPEG video (Intel Quick Sync Video acceleration)
vp8_qsv (vp8) - VP8 video (Intel Quick Sync Video acceleration)
vp9_qsv (vp9) - VP9 video (Intel Quick Sync Video acceleration)

I like Haruna very much. When playing h264 videos with the VAAPI decode, the
CPU consumption is somewhat over bare MPV with the same file being played 'mpv
--hwdec=vaapi the_file.mp4'
So bare mpv is slightly faster, but obviously it does not have the GUI
overhead. 
But playing that file using qsv, the decoding is even more fast in MPV.
I'd expect Haruna being somewhat more efficient with qsv enabled, where
possible.

When playing an mpeg2 file, the difference is huge, like night and day.
Moonplayer is simple enough and found the way to implement in my fork:
https://github.com/kovacslt/moonplayer/blob/develop/src/mpvObject.cpp
See there: 

m_mpv.set_option("vd","h264_qsv,hevc_qsv,mpeg2_qsv,mjpeg_qsv,vp8_qsv,vp9_qsv,vc1_qsv,av1_qsv");
That works like a charm.
However, I like Haruna better, and would like to use it, but I don't seem to
find the way to make a similar change to it.
May I ask for some help, or would you be so kind please to implement qsv
support in Haruna, and apply hwdecode to all possible content formats (mpeg2,
vp9, etc)?
Thank you very much in advance.

-- 
You are receiving this mail because:
You are watching all bug changes.