Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (45)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (5377)

  • C++ : Encoding H264 with FFmpeg, unable to set preset

    3 janvier 2023, par Mateusz Wójt

    I'm trying to encode H.264 movie with FFmpeg/libAV, when I try to set the codec preset the return code indicates an error :

    


    ...

mContext.codec = avcodec_find_encoder(AV_CODEC_ID_H264);

mContext.stream = avformat_new_stream(mContext.format_context, nullptr);
mContext.stream->id = (int)(mContext.format_context->nb_streams - 1);

mContext.codec_context = avcodec_alloc_context3(mContext.codec);

int ret;
ret = av_opt_set(mContext.codec_context->priv_data, "preset", "medium", 0);

// returns -1414549496

...


    


    I ommited error checking for brevity in the example.

    


    I tried setting preset to different values ("medium", "slow", "veryslow" etc.)

    


  • Ffmpeg command not found in inside laravel. Even it is working in bash

    14 février 2018, par Vimal Mistry

    I am working in Laravel 5.4 project. I have to use ffmpeg for generate thumbnail from videos. I am using cloudlinux on my server. I installed ffmpeg in my server.

    It is working fine in ssh bash. All the functionality working there.
    But problem is when I am trying to call from inside laravel using exec() or shell_exec(). Its returns error like "sh : ffmpeg command not found". I tryied full path also like "/usr/bin/ffmpeg -etc-". In that case ’No file or directory found’ errors shows. While it is installed in this path. and working in bash command.

    Please give some suggestion or solution for it.

  • crystalhd : Fix up the missing first sample

    15 octobre 2016, par Philip Langdale
    crystalhd : Fix up the missing first sample
    

    Why on earth the hardware returns garbage for the first sample of
    a decoded picture is anyone’s guess. The simplest reasonable way
    to patch it up is to copy the first sample of the second line. This
    should result in the correct chroma values (because the data was
    original 4:2:0 upsampled to 4:2:2) even if the luma is isn’t.

    • [DH] libavcodec/crystalhd.c