working on avi parsers

This commit is contained in:
2021-02-22 21:08:07 +01:00
parent 2e281f6d26
commit 2b35a340f9
5 changed files with 307 additions and 11 deletions

View File

@@ -81,8 +81,25 @@ public:
//#define logInfo(fmt, ...) std::string s = fmt::format(FMT_STRING(fmt), __VA_ARGS__);
#include "/apps/ESP8266lib/data/formats/avi/Demuxer.h"
int main(int argc, char** argv) {
{
// ffmpeg -i '/mnt/ssss/anime/Toaru Majutsu no Index/[Eclipse] Toaru Majutsu no Index - 07 (1280x720 h264) [0255D83A].mkv' -r 15 -ss 30 -vf scale=480x320 -c:v mjpeg -c:a mp3 -ar 44100 /tmp/ram/1.avi
Simu simu("/tmp/ram/1.avi");
AccessHelper<Simu> ah(simu);
AVI::Demuxer demux(ah);
bool valid = demux.isValid();
std::cout << valid << std::endl;
return 0;
}
//logInfo("{:s}", "I am not a number")
//std::string s = fmt::format(FMT_STRING("{:s}"), "I am not a number");