Recherche avancée

Médias (91)

Autres articles (39)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (6209)

  • ffmpeg aac encoder shows "Input contains (near) NaN/+-Inf"

    26 janvier 2021, par zzzzzz

    here's a question.
When my code goes to ret = avcodec_send_frame(enc_ctx, tmpFrame), sometimes it returns AVERROR(EINVAL). Many people say that the reason is the format of tmpFrame is AV_SAMPLE_FMT_S16, but encoder needs AV_SAMPLE_FMT_FLTP. However, my log shows that tmpFrame->format: 8, tmpFrame->channels: 1, tmpFrame->channel_layout: 4, tmpFrame->sample_rate: 32000, tmpFrame->nb_samples: 1024. Here 8 is the value of AV_SAMPLE_FMT_FLTP.

    


    So what is the reason of this bug ?

    


  • ffmpeg causes browser to hang up ?

    24 juillet 2012, par Itai Sagi

    I'm using ffmpeg to convert videos on the fly, as they say, and I'm facing with a very annoying, unsolvable and unreferenced problem (as of yet ;) ), when I run my php script, it basically works - takes the file, uses ffmpeg, starts converting it, but halway through it's finished, the browser hangs, I don't understand why or how to resolve it :
    (even with set_time_limit the bastard won't work).

    function convertToMp4(){
       /*
        * Converts a file to mp4, returns the new file name
        */
       set_time_limit(0);
       $tmpFile = $this->fileName;
       $newFile = uniqid();
       $outputFile = "output/$justFile.mp4";
       exec("ffmpeg -i " . $tmpFile . " -acodec copy -ar 44100 -ab 96k " . $outputFile. " &");
       unlink($tmpFile);
       return $outputFile;
    }

    Ideas ?

  • FFMPEG for Windows - suggestions for how to overcome the " No such file or directory" issue

    11 mars 2023, par Scott Hatton

    I am using FFMPEG (Windows version)

    


    I have files called 'MCR_0400.jpeg' numbered sequentially up to 'MCR_0450.jpeg'

    


    When I run :
ffmpeg -i 'MCR_%4d.jpeg' -start_number 0400 -c:v libx264 out.mp4

    


    it returns :
Could find no file with path 'MCR_%4d.jpeg' and index in the range 0-4
'MCR_%4d.jpeg' : No such file or directory

    


    I have spend the day trying all sorts of variations on the file name parameter : with and without quotes, full Windows path to it so I assume I'm doing something really stupidly wrong.

    


    But I just cannot fathom it.

    


    Can anybody help ?