0

My javafx application has 6 small windows and one large one. Each plays hls using VLCJ. From time to time the picture freezes on some windows, so I want to somehow reduce the consumption of players on the PC. How can i do this?

In 6 small windows, I don't need sound, if I can turn it off with a parameter, will it affect memory or CPU consumption?

At the moment, I remove the sound there with --aout=directsound and the mute() function, but perhaps the audio is still processed by the players and the consumption is not reduced. Since these are small windows, high quality content does not need to be displayed there. Is it possible to reduce the quality of the content using the player? Can this help and how to do it?

Tried using the :adaptive-logic=highest playback parameter, but it didn't help, most likely because the content has only one high quality.

Parameters for the player are here: https://wiki.videolan.org/VLC_command-line_help/. But there are a lot of them and I do not understand how they work, so I ask for help.

Maybe I can skip some frames, which will not be very noticeable, but can help?

Update: Now I'm trying these options, but I don't notice much change...

--no-audio
--postproc-q=1
--ffmpeg-hw
--avcodec-skip-frame=1
--avcodec-skip-idct=1
--avcodec-skiploopfilter=1
--avcodec-hw=any
--sout-avcodec-hurry-up
--no-sout-avcodec-interlace-me
Dmitriy
  • 375
  • 1
  • 18
  • Search for VLC transcoding. There's no LibVLC API to do what you want, but you can make transcoding work with factory options or media options. I don't know how well it will work with seven media players though. – caprica Jan 25 '23 at 20:02

0 Answers0