blob: 4d88a09af42f760c0629f85661eada373027521a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
I need to select a video file format to use. I have the following
requirements:
- Each frame is an uncompressed 8bpp RGB framebuffer. The CPU does
not have enough cycles to process the framebuffer in any way; I
need to be able to DMA the framebuffer straight into the file
stream, without the pixel data going through the main CPU.
- The pixels are non-square; each pixel is twice as tall as it is
wide.
- VFR (Variable Frame Rate), up to a maximum of 60 FPS.
- The resolution must be able to change mid-stream, between the
pre-determined values 640x480, 720x480, and 720x576. This is the
display-resolution; because of non-square pixels, the framebuffer
for each would be 640x240, 720x240, and 720x288, respectively.
- The resulting video file must be playable using standard/common
video players (such as vlc or mpv) and tools (such as ffmpeg)
without any special flags or settings.
|