I wanted to execute the following command:
x264 --level 30 --profile baseline --bitrate 900 --keyint 30 -o test.mp4 video01.mp4 --vf resize:720,480
But I get following output(error)
raw [error]: raw input requires a resolution.
x264 [error]: could not open input file `video01.mp4' via any method!
What I tried:
- Adding resolution next to input file, but no luck
- Tried changing --vf to --video-filter resize:
What I'm doing wrong? Is it possible to resize mp4 file like this? If the first error refers to input file how can i specify the resolution? I need this command working because I need to implement it in bash script and JAVA code afterwards. From the research I made, I might need avisynth, but there is no port for linux, there is?
If you have something better for me please help me. I'm running on 64bit Ubuntu 11.04, with all required(maybe) libs for ffmpeg and x264