牛卧堂MCU技术交流

标题: [N9H2x] How to convert video to AVI file? [打印本页]

作者: yli    时间: 2020-4-24 09:20
标题: [N9H2x] How to convert video to AVI file?
Supported format is MJPEG + IMA ADPCM.

1. Download AnyToAVI_2.zip.
2. Unzip password is nuvoton
3. Download FFmpeg for Windows version https://ffmpeg.zeranoe.com/builds/.
4. Copy ffmpeg.exe and video to the folder "AnyToAVI_2".
5. Drag-n-drop video to 320x240.bat.

Note: if you want to change video resolution, just rename 320x240.bat to 480x272.bat for example.
Note: Next, if you want to rotate video, please drag-n-drop video to 0.bat or others .bat.
Note: password is nuvoton

0.bat – Rotate by 90 degrees counter-clockwise and flip vertically. This is the default.
1.bat – Rotate by 90 degrees clockwise.
2.bat – Rotate by 90 degrees counter-clockwise.
3.bat – Rotate by 90 degrees clockwise and flip vertically.

Note: emWin library does not support audio decoding.
Note: N9H2x audio decoder only support IMA-ADPCM.
Note: if still no audio output or the quality is poor, please modify "MakeMovie2.bat", find "-ac 1 -ar 1600".
-ac 1 means mono channel
-ac 2 means stereo channel
-ar 16000 means 16000Hz sampling rate
-ar 44100 means 44100Hz sampling rate

Hence, higher channel setting and sampling rate, e. g., -ac 2 -ar 44100, it will get more satisfy audio output quality.
AnyToAVI_2.zip (5.04 KB, 下载次数: 797)





欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/) Powered by Discuz! X3.2