I have FansConvert site that convert anime and movie into mobile device format, especially 3gp and mp4. I made it to help people who don't have a computer, or are not able to watch on the computer. Another reason is because not everyone has good internet connection to download videos with big size for desktop version.
I usually use online tool http://video.online-convert.com to convert video less than 100MB and use desktop application AVS Video Converter for video more than 100MB. I know to convert big size video will take a time, and need computer with good specification for good performance.
I have VPS, so I think to use it to convert video that has a size more than 100MB.
I tried FFMPEG, but failed. And then I found HandBrake for converting video. But the problem is I do not know how to set the output file I convert.
On HandBrake wiki https://trac.handbrake.fr/wiki/CLIGuide, there are many options offer. I try to convert mkv to mp4 format using command:
HandBrakeCLI -i video.mkv -o video.mp4 -e x264 -q 22 -r 15 -b 128 -B 32 -X 320 -Y 240
And it still failled. The output not as I expected.
I need help, how to convert video into mp4 format with specification:
Screen size: 320 x 240 pixel Video Bitrate: 128 kbps Audio quality: 32 kbps Frame rate: 15 per second
Please help me. Thank you.