Code Monkey home page Code Monkey logo

chromium-media-player's Introduction

Chromium Media Player

Use Chrome and a media-player extension to play local videos.

It can be set as the default video file opener, just like you would use other Windows desktop software: double-click to open a local video file in Chrome.

Image

Why?

Because NVIDIA release RTX Video HDR, a new AI-enhanced HDR feature to all GeForce RTX GPUs, instantly converting any Standard Dynamic Range (SDR) video playing in select internet browsers into vibrant High Dynamic Range (HDR).

Sadly, RTX Video HDR and RTX Video Super Resolution work only on Chromium-based browsers such as Google Chrome or Microsoft Edge.

This is why I wrote this program.

Currently only one instance of ChromiumMediaPlayer.exe can be running at the same time.

How to Use

Simply download the ChromiumMediaPlayer.exe from Release, and run it to configure. Install the extension aforementioned. (Set the browser path manually for other Chromium browsers. (Only tested on Windows 11 21H2, Chrome 120))

Press Win+Alt+B to enable Windows HDR, and adjust SDR brightness in Windows' Display Settings.

In Windows Explorer, right-click -> choose Open With -> navigate to the folder where ChromiumMediaPlayer.exe is located, and choose to open with it or set it as the default.

Read https://webextension.org/listing/the-media-player.html for keyboard shortcuts and other usage FAQs.

Tips: HDR mode is not designed for daily work and usage. Remember to turn off HDR after enjoying videos.

How to Compile

Install Python 3.10 and nuitka, and run nuitka --windows-icon-from-ico=icon-256.ico --output-filename=ChromiumVideoPlayer.exe --standalone main.py .

No other package is required.

How it Works

Local files are served as local http server.

Huge thanks to devs of the media-player extension!

chromium-media-player's People

Contributors

puff-dayo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.