k210-sdk-stuff/rust/sdlcd
Wladimir J. van der Laan a1c65405ea rust: Clean up cargo patches
No more need for any `k210-hal` and `k210-pac` patches with 0.2.0
2019-12-28 20:17:37 +00:00
..
src rust: sysctl PLL setting 2019-08-20 21:18:23 +00:00
.gitignore rust: Add sdlcd example 2019-08-11 18:16:53 +00:00
Cargo.toml rust: Clean up cargo patches 2019-12-28 20:17:37 +00:00
README.md rust: Clean up sdlcd, add ffmpeg commandline to README 2019-08-12 06:57:27 +00:00

sdlcd

This example streams raw data from the SD card to the LCD, frame by frame.

The following commands can be used to scale and transcode a video to 320x240xRGB565, and write it to a SD card:

ffmpeg -i input.mp4  -vf scale=320:240 -vcodec rawvideo -f rawvideo -pix_fmt rgb565le test.vid
dd if=test.vid of=/dev/mmcblk… bs=153600