[FFmpeg-user] how can I do make the ffmpeg Convertered fasted

huffman huffman at mukewang.com
Fri Nov 15 02:23:56 CET 2013


hello everyone !


cpu:8
mem:16G
ffmpeg configure: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libx264 --enable-shared --enable-static --enable-pthreads 


file meta:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mk.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2013-10-21 10:09:48
    encoder         : FormatFactory : www.pcfreetime.com
  Duration: 00:02:24.54, start: 0.000000, bitrate: 655 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 856x480 [SAR 480:481 DAR 856:481], 528 kb/s, SAR 427:428 DAR 427:240, 25 fps, 25 tbr, 100 tbn, 50 tbc
    Metadata:
      creation_time   : 2013-10-21 10:09:48
      handler_name    : video
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s
    Metadata:
      creation_time   : 2013-10-21 10:09:48
      handler_name    : sound


       command: 
/usr/bin/time -v ffmpeg -y -threads 8 -i mk.mp4 -vcodec libx264 -preset superfast -s 300x200 -threads 8  mk.thread.flv 
        Command being timed: "ffmpeg -y -threads 8 -i mk.mp4 -vcodec libx264 -preset superfast -s 300x200 -threads 8 mk.thread.flv"
        User time (seconds): 22.54
        System time (seconds): 0.52
        Percent of CPU this job got: 211%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:10.91
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 204064
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 12373
        Voluntary context switches: 35071
        Involuntary context switches: 87
        Swaps: 0
        File system inputs: 0
        File system outputs: 13432
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0


how can I do make the ffmpeg Convertered fasted 

thank you !




huffman


More information about the ffmpeg-user mailing list