Hi,
I'm using this module to convert mp4 videos. I get this error, for some of the mp4 videos: "Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height"
These are the commands I use for ffmpeg:
c:\ffmpeg\ffmpeg.exe -i %1 -vcodec libx264 -b 256000 -coder 1 -flags +loop -cmp +chroma -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -me_method dia -subq 3 -me_range 16%RA%%FR% -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.7 -qmin 10 -qmax 51 -qdiff 4 -bf 16 -refs 6 -directpred 3 -bidir_refine 0 -trellis 2 -flags2 +bpyramid-wpred-mixed_refs-dct8x8+fastpskip -deblockalpha 0 -deblockbeta 0 -threads 6 -pass 1 -s 480x%3 -aspect 480:%3 -an -f rawvideo -y NUL 2>%2.txt
c:\ffmpeg\ffmpeg.exe -y -i %1 -vcodec libx264 -vpre slow -b 256000 -coder 1 -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method umh -subq 7 -me_range 16%RA%%FR% -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.7 -qmin 10 -qmax 51 -qdiff 4 -bf 16 -refs 6 -directpred 3 -bidir_refine 1 -trellis 2 -flags2 +bpyramid+wpred+mixed_refs-dct8x8+fastpskip -deblockalpha 0 -deblockbeta 0 -threads 6 -pass 2 -s 480x%3 -aspect 480:%3 -acodec libfaac -ac 2 -ar 22050 -ab 128k %2 2>%2-2.txt
Could you anyone help me please?