ffmpeg encoding on QuadCore

Posted by Gotys on Super User See other posts from Super User or by Gotys
Published on 2010-04-15T10:44:06Z Indexed on 2010/04/15 11:33 UTC
Read the original article Hit count: 263

Filed under:

I am trying to push my server's CPU cores to the max, but no success.

Encoding 2-pass style, set my "-threads" to 128 . When running 2nd pass , the CPU seems to be at 98% usage, but first pass run totally ignores "-threads" option.

Using libx264 . Here is my preset:

flags=+loop+mv4
cmp=256
partitions=+parti4x4+parti8x8+partp4x4+partp8x8+partb8x8
me_method=hex
subq=7
trellis=1
refs=5
bf=3
flags2=+bpyramid+wpred+mixed_refs+dct8x8
coder=1
me_range=16
g=250
keyint_min=25
sc_threshold=40
i_qfactor=0.71
qmin=10
qmax=51
qdiff=4

Is there any reason why the 1st pass is not utilizing my CPUs ?

Thank you in advance! This community has always been very kind to me.

© Super User or respective owner

ffmpeg encoding on QuadCore

Posted by Gotys on Server Fault See other posts from Server Fault or by Gotys
Published on 2010-04-15T10:44:06Z Indexed on 2010/04/15 10:53 UTC
Read the original article Hit count: 263

Filed under:

I am trying to push my server's CPU cores to the max, but no success.

Encoding 2-pass style, set my "-threads" to 128 . When running 2nd pass , the CPU seems to be at 98% usage, but first pass run totally ignores "-threads" option.

Using libx264 . Here is my preset:

flags=+loop+mv4
cmp=256
partitions=+parti4x4+parti8x8+partp4x4+partp8x8+partb8x8
me_method=hex
subq=7
trellis=1
refs=5
bf=3
flags2=+bpyramid+wpred+mixed_refs+dct8x8
coder=1
me_range=16
g=250
keyint_min=25
sc_threshold=40
i_qfactor=0.71
qmin=10
qmax=51
qdiff=4

Is there any reason why the 1st pass is not utilizing my CPUs ?

Thank you in advance! This community has always been very kind to me.

© Server Fault or respective owner

Related posts about ffmpeg

  • how to install ffmpeg in cpanel

    as seen on Super User - Search for 'Super User'
    i'm using dedicated server(linux) so i need to install ffmpeg in cpanel so here ffmpeg i found in Main Software Install a Perl Module but i writing script in php so how can i install ffmpeg phpperl when i'am trying to install ffmpeg in perl module i get this response Checking C compiler… >>> More

  • FFMpeg-PHP Installation Error

    as seen on Server Fault - Search for 'Server Fault'
    While installing FFmpeg-PHP, I got this interesting error: /usr/downloads/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getAudioStreamId': /usr/downloads/ffmpeg-php-0.6.0/ffmpeg_movie.c:1051: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function) /usr/downloads/ffmpeg-php-0… >>> More

  • git problems installing stuff [closed]

    as seen on Super User - Search for 'Super User'
    root@Frenzen:~# cd root@Frenzen:~# git clone --depth 1 git://source.ffmpeg.org/ffmpeg Initialized empty Git repository in /root/ffmpeg/.git/ root@Frenzen:~# cd root@Frenzen:~# git clone --depth 1 git://source.ffmpeg.org/ffmpeg Initialized empty Git repository in /root/ffmpeg/.git/ root@Frenzen:~#… >>> More

  • Unable to install ffmpeg-php

    as seen on Server Fault - Search for 'Server Fault'
    I followed the instructions on http://www.mysql-apache-php.com/ffmpeg-install.htm but ffmpeg-php does not show up in my phpinfo() The commands I ran (in order) #yum install ffmpeg ffmpeg-devel ... Public key for faac-1.26-1.el5.rf.x86_64.rpm is not installed #rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0… >>> More

  • Unable to install ffmpeg-php

    as seen on Server Fault - Search for 'Server Fault'
    Hi, I followed the instructions on http://www.mysql-apache-php.com/ffmpeg-install.htm but ffmpeg-php does not show up in my phpinfo() The commands I ran (in order) #yum install ffmpeg ffmpeg-devel ... Public key for faac-1.26-1.el5.rf.x86_64.rpm is not installed #rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0… >>> More