Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (29)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (5051)

  • 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
  • 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.

  • 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.)