Recherche avancée

Médias (0)

Mot : - Tags -/serveur

Aucun média correspondant à vos critères n’est disponible sur le site.

Sur d’autres sites (2204)

  • How to speed ffmpeg-x264 encoder operation

    3 mars 2012, par newentry

    i have ported ffmpeg-x264 for android but the issue is encoder takes more time to encode a frame .It takes above 100ms to encode and cpu rises to 85% in some devices like LG and samsung.i am using the following avcodeccontext settings

    c->bit_rate = 256000;
    c->width = width;
    c->height = height;
    c->gop_size = 2;//75;
    c->pix_fmt = PIX_FMT_YUV420P;
    c->codec_type=AVMEDIA_TYPE_VIDEO;
    c->codec_id=CODEC_ID_H264;
    c->cqp=36;

    is there any other settings that makes the ffmpeg-encoding faster and utilizing less cpu percentage

  • x264 Faster decode speed

    26 mars 2012, par ddlshack

    I'm using x264 to encode videos for a flash video streaming site. I use -tune fastdecode, which turns off cabac and deblock, which I've heard are the features which take most cpu to decode. However, I've still had reports of jerky video playback and high cpu usage.

    Heres a typical encode command :

    ffmpeg -y -i $infile -c:v libx264 -crf 28 -preset slow -vprofile main -tune fastdecode -f h264 -r:v 29.970 -vf "..." $outfile

    My users view the videos using flash, on all desktop OSes and a wide variety of hardware.

    Which encoding options are the most cpu-intense, and what are the recommended options for 'reasonable' playback on most machines ?

  • x264 Faster decode speed

    26 mars 2012, par ddlshack

    I'm using x264 to encode videos for a flash video streaming site. I use -tune fastdecode, which turns off cabac and deblock, which I've heard are the features which take most cpu to decode. However, I've still had reports of jerky video playback and high cpu usage.

    Heres a typical encode command :

    ffmpeg -y -i $infile -c:v libx264 -crf 28 -preset slow -vprofile main -tune fastdecode -f h264 -r:v 29.970 -vf "..." $outfile

    My users view the videos using flash, on all desktop OSes and a wide variety of hardware.

    Which encoding options are the most cpu-intense, and what are the recommended options for 'reasonable' playback on most machines ?