Quick update... got ffmpeg to work
after downloading and looking at it last night.
command line was "ffmpeg.exe -stats -i file.avi -f rawvideo -pix_fmt rgb565be -s 128x128 -vcodec rawvideo -frames 1000 file.raw" for video only, no sound and loss of aspect ratio.
Best part was... only took a few minutes to add another function to make it fit into existing code within the resource manager.
command line was "ffmpeg.exe -stats -i file.avi -f rawvideo -pix_fmt rgb565be -s 128x128 -vcodec rawvideo -frames 1000 file.raw" for video only, no sound and loss of aspect ratio.
Best part was... only took a few minutes to add another function to make it fit into existing code within the resource manager.
Code:
gDIB.Font.LoadFromRaw("file.raw", 128, 128, 16);
for (int i = 0; i < gDIB.Font.FrameCount(); i++)
{
uint32_t t = micros();
gDIB.drawBitmap(0, 0, i, DIB_BLIT_STORE);
gOLED.checkSCKDiv(); // need to check as SD prob changed it
gOLED._1351renderScreen(gDIB.getBuffer(), true);
while (micros() - t < 40000) {} // 40ms delay between top and here
}
delay(2000);