https://github.com/samdbmg/ffmpeg-uhd-tests
Generate a test image that flashes on one pixel at a time to test screens. Based on a tweet.
https://github.com/samdbmg/ffmpeg-uhd-tests
Last synced: 8 months ago
JSON representation
Generate a test image that flashes on one pixel at a time to test screens. Based on a tweet.
- Host: GitHub
- URL: https://github.com/samdbmg/ffmpeg-uhd-tests
- Owner: samdbmg
- Created: 2019-07-16T16:45:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-16T21:50:00.000Z (almost 7 years ago)
- Last Synced: 2025-04-11T18:08:37.239Z (about 1 year ago)
- Language: C
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Generate a per-pixel test pattern
Based on a silly idea: https://twitter.com/mikechislett/status/1150861136239239168
But unlike that tweet, this flashes each pixel for one frame, and repeats every 100 lines (or other configured value)
## To build it:
- Be on Linux
- Install CMake and a compiler (`sudo apt install cmake build-essential`)
- Install FFmpeg (`sudo apt install ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev`)
- `(mkdir build && cd build && cmake .. && make)`
## To run it:
Something like:
```
build/ffmpeg-uhd-test hd-flash.mp4 1920 1080 100
```
## Can I see the output files?
Yes! https://www.dropbox.com/sh/euny7f5ffpog6m2/AACTXWU0bW2LjnmQ5MfGQcyUa?dl=0
## Why is the file called muxing.c?
It started life as the [FFmpeg muxing example](https://ffmpeg.org/doxygen/4.1/muxing_8c_source.html)
I just changed the pattern and took all the audio bits out.