LTVA1/flipper-zero-video-player

script errors

qqmajikpp opened this issue · 11 comments

the scrippt says it runs successfully but im not finding and bundle files and iit also says
Unhandled exception thrown: read access violation.
dirp was nullptr.

LTVA1 commented

Have you assigned a correct path in #define in cpp file? The path should lead to the folder where your wav file and frames folder are

LTVA1 commented

You also have to do all the stuff in the folder where you don't need admin privileges to write files. E.g. some folder on your desktop.

LTVA1 commented

Show me the #define section and the folder contents, please

USER SETTINGS:

#define FOLDER_PATH "D:\Code\faps\flipper-zero-video-player-main\ffmpg\animaniacs"
#define SAMPLE_RATE 44100
#define FPS 24
#define HEIGHT 64
#define WIDTH 128 /width of your video, determined by ffmpeg. Here it is for 4:3 aspect ratio/
image

tried putting iit in documents and removing the vido. still no diice

LTVA1 commented

Don't recommend 24 fps with such sample rate, the sound will be out of sync. See updated repository readme. Change all the \ to /. Also do your bmp files in frames folder have 128x64 resolution as well?

example frame produced by following the readme

LTVA1 commented

As far as I see it is not 128x64. Edit your ffmpeg commands or change the defines. You need to keep the same image size in first ffmpeg command and in define in cpp file

yeah..... this is apparently too convoluted for me