help in optimize command
Hi Everyone i am using below command to convert any media to flv and mov i want to reduce size and quality shouldbe sama as original video my command reduce size but also it degrade quality please any body help me to optimize command so that quality shouldbe same. ffmpeg -i test.wm -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -c rf 24 -bt 256k -refs 1 -coder 0 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -ab 64k -ar 44100 -ac 2 test.flv
Hi Everyone i am using below command to convert any media to flv and mov i want to reduce size and quality shouldbe sama as original video my command reduce size but also it degrade quality please any body help me to optimize command so that quality shouldbe same.
Amit Mangal wrote: try if -qmin 25 instead of 10 does help, and remove -c rf 24. Raising this value will result in smaller, but also slightly less quality; -c rf isn't a valid option, it should be -crf AFAIK. But -crf is in contradiction with -qmin and qmax. I think you should study http://mewiki.project357.com/wiki/X264_Settings to understand what the commands are supposed to do.
ffmpeg -i test.wm -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -c rf 24 -bt 256k -refs 1 -coder 0 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -ab 64k -ar 44100 -ac 2 test.flv _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
On Fri, 30 Apr 2010 15:40:07 +0530 Amit Mangal <amitkumarmangal at gmail.com> wrote:
Hi Everyone i am using below command to convert any media to flv and mov i want to reduce size and quality shouldbe sama as original video my command reduce size but also it degrade quality please any body help me to optimize command so that quality shouldbe same.
ffmpeg -i test.wm -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -c rf 24 -bt 256k -refs 1 -coder 0 -subq 5 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -ab 64k -ar 44100 -ac 2 test.flv
You sent three similar messages in two days asking for the same thing: http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2010-April/025128.html http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2010-April/025127.html http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2010-April/025122.html You did this on one other occasion as well: http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2010-April/025075.html http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2010-April/025060.html You must be patient. Sometimes a few days will pass before you receive an answer. Sometimes you won't get an answer, but you should not pollute the mailing list with duplicate questions within days of each other. You can also ask for help in the #ffmpeg IRC channel. As for your command, I second the recommendation to read the FFmpeg x264 Encoding Guide: http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide Try the Single-Pass Constant Rate Factor (CRF) Example. You can change the crf value to change the quality of your output file. 18 is roughly visually lossless. 30-35 is about Youtube quality. 51 is worst possible quality. +6 to the crf value is about half the bitrate, and -6 is about twice the bitrate. This example will work with both .mov and .flv. If you require a specific output file size then see the Two-Pass example.
participants (3)
-
amitkumarmangal@gmail.com -
belcampo@zonnet.nl -
lou@fakeoutdoorsman.com