[FFmpeg-user] Can I speed up transcoding?

Reindl Harald h.reindl at thelounge.net
Tue Jan 8 17:10:52 CET 2013



Am 08.01.2013 16:51, schrieb Leo Papadopoulos:
> Dear Henk & Carl:
> 
> Thanks for the advice on playing with threads. I tried threads up to 16
> which is the maximum that FFMEG lets me use before it gives me a warning
> that >16 is not recommended. Unfortunately, it does not seem to make any
> difference to my transcode time. I ran tests using ultrafast about 20 times
> and the transcode time for my 1m39s FLV vary from 0m28s to 1m30s. This
> shows that the Amazon instance I am using is giving me variable performance
> depending on what else is going on in the virtual cloud.

get rid of FLV

any somehow recent flash version supports H264
mobile devices are supporting H264
x264 supports multithreading

in my php-ffmpeg warpper FLV is even flagged as not to use
for multithreading and i am pretty sure i have done this
because it was not possible at all a few years ago while
x264 did support it well

'flv' => array
   (
    array('param' => 'f',              'value' => 'flv'),
    array('param' => 'vcodec',         'value' => 'flv'),
    array('param' => 'acodec',         'value' => 'libmp3lame'),
    array('param' => 'qmax',           'value' => '69'),
    array('param' => 'qdiff',          'value' => '4'),
    array('param' => 'i_qfactor',      'value' => '0.71'),
    array('param' => 'subq',           'value' => '7'),
    array('param' => 'me_range',       'value' => '16'),
    array('param' => 'cmp',            'value' => '256'),
    array('param' => 'trellis',        'value' => '1'),
    array('param' => 'refs',           'value' => '5'),
    array('param' => 'multithreading', 'value' => false),
    array('param' => 'qt_faststart',   'value' => false),
    array('param' => 'flvtool2',       'value' => true),
    array('param' => 'twopass',        'value' => true),
   ),

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130108/1ea3a6c3/attachment.asc>


More information about the ffmpeg-user mailing list