Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (34)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (5787)

  • How to generate a gif image from a video with laravel-ffmpeg ?

    27 août 2021, par Jeannot21

    I am working on a project with laravel 7 and ffmpeg my problem is that I would like to generate a gif image from a video uploader but its not working.

    


    I created a job named ConvertImageGifFromVideo here is its code :

    


    class ConvertImageGifFromVideo implements ShouldQueue
{
 use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

/**
 * Create a new job instance.
 *
 * @return void
 */
public $video;
public function __construct(Video $video)
{
    $this->video = $video;
}

/**
 * Execute the job.
 *
 * @return void
 */
public function handle()
{

    $destination = '/'.$this->video->uid . '/'.$this->video->uid. '.gif';
    $result = Storage::disk('video-temp/'.$this->video->path);
    $ffmpeg = FFMpeg::create();
    $video = $ffmpeg->open($result);
    $video->gif(TimeCode::fromSeconds(2), new Dimension(640, 480), 3)->save($destination);

   $this->video->update([
       "image_gif" => $this->video->uid. '.gif',
   ]);
  
 }


    


    }

    


    and here is the error message [2021-08-27 12:47:33] [87] Failed : App \ Jobs \ ConvertImageGifFromVideo
And I would like to know if anyone has already encountered this kind of problem or if there is another way to write this code ?

    


  • Anomalie #3588 (Nouveau) : log remplis par @apc_delete_file()

    10 novembre 2015, par nico d

    Hello,

    sur un site au traffic assez important, je viens de voir que j’ai un error.log qui se remplit extrêmement vite de warnings :

    [apc-warning] Could not stat file /var/www/..., unable to delete from cache. in /var/www/touleco3/ecrire/inc/flock.php on line 329.

    A tel point que je suis obligé de commenter ligne 329 @apc_delete_file()

    https://core.spip.net/projects/spip/repository/entry/branches/spip-3.0/ecrire/inc/flock.php#L329

    J’ai découvert ça récemment par hasard, le site était en 3.0.20, je viens de mettre à jour en 3.0.21, toujours pareil.

    Il y a une rotation des logs sur le serveur (rotation sur une semaine avec 52 archives), et visiblement error.log grossit énormément à partir de la semaine du 5 au 12 juillet, soit juste après une mise à jour en 3.0.20

  • libFLAC/md5.c : Clean up allocation

    22 août 2015, par Erik de Castro Lopo
    libFLAC/md5.c : Clean up allocation
    

    Make sure ctx->capacity gets updated correctly when safe_realloc()
    fails.

    Patch-from : lvqcl <lvqcl.mail@gmail.com>

    • [DH] src/libFLAC/md5.c