Order of the Butterfly
Posts: 254 from 2003/2/24
OK, multiple success tonight ;)
Extracting images : OK
Extracting audio : OK (it seems ^^)
Converting in CDXL : failed...
In fact, I can't find how to put all images in the command. If I use a joker, AGAConv-encode says "too many file names on command line" (for agaconv-encode, image0001.png is the infile and image0002.png is the outfile...).
I copy paste my command lines here.
They need to be improved for sure... and I'm not sure AGAConv can use this image format...
Extracting images from .mp4 :
ffmpeg -i test.mp4 -y -r 15 -s 320x200 -pix_fmt rgb24 test/test%04d.png
(-r 15 : 15 FPS ; -pix_fmt rgb24 : 8 bit without alpha)
Tried to follow the command in the script but there are a lot of variables and some ffmpeg MorphOS doesn't know some commands...
Extracting audio from .mp4 :
ffmpeg -i test.mp4 -ar 28000 -f u8 -acodec pcm_u8 -ac 1 test/test.raw
(-ar 28000 : 28Khz ; -ac 1 : mono)
I have a raw file but I can't listen it... so, not sure it's correct
Converting in CDXL :
agaconv-encode --cdxl-encode --fps 15 --pcm-file test/test.raw --gfx-mode lores --cdxl-24bit-colors --frequency 28000 --cdxl-padding-size 4 test/test0001.png test.cdxl --status
(all options from the script)
Here, the problem is the "infile". With test/test0001.png, it only takes test0001.png and makes the error described above.
I tried test/test*.png or test/test#?.png, it says "too many files".
And I tried just test/, it says "std::exception".
No more for me tonight ;)
Proud user of MorphOS since 2003 !