No internet connection
  1. Home
  2. General

How do I know H264 is enabled besides seeing "Janus" in htop ?

By @Alt0
    2022-07-12 19:22:23.207Z

    I am skeptical because I would assume that if H264 was enabled then "JPEG" quality settings shouldn't make any difference since that MJPEG controls specifically correct? But the slider does still change the quality, despite the command running successfully to enable H264 https://tinypilotkvm.com/blog/whats-new-in-2022-05 it doing the on-device compile, and then rebooting, after a good 30 minutes). Also so see the settings reflected in settings.yml, however the performance "feels" the same honestly.

    • 6 replies
    1. Diego @diego
        2022-07-13 00:42:15.730Z

        Hello @Alt0 - Thank you for posting your question here in the Forum.

        • Please try the procedure in this post so you are completely sure H264 is enabled.

        • Regarding Systems > Video Settings: Frame rate (FPS) still has an effect, but JPEG quality doesn't. We're working on integrating H264 support into the web UI so that the settings match the video mode you're using.

        • If you don't see performance differences, you could try to do some tuning on H264. Let me know if this works for you.

        1. A@Alt0
            2022-07-13 16:10:17.157Z

            Interesting! It is showing mjpeg when executing:
            document.getElementById('remote-screen').shadowRoot.getElementById('mjpeg-output').src === '' ? 'h264' : 'mjpeg'

            Should I rerun the process at root user?

            1. A@Alt0
                2022-07-13 16:36:27.253Z

                OK I ran it again and it shows h264 now. Does it revert back when messing with the Video Settings slider?

                1. Diego @diego
                    2022-07-13 22:48:45.381Z

                    Hey @Alt0,

                    • No, it shouldn't not revert back to MJPEG if you play around with Video Settings.

                    • Have you enabled the read only filesystem by chance? That would explain changes being lost upon a reboot.

                    • Otherwise it just looks like H264 wasn't properly activated the first time you ran it. Let me know if you encounter further issues.

              • A
                In reply toAlt0:
                @Alt0
                  2022-07-16 14:24:57.019Z

                  I believe I’ve tried to disable the RO FS. Is it off be default?

                  1. Diego @diego
                      2022-07-18 23:04:52.231Z

                      Hi @Alt0 - Yes, read only filesystem is off by default.