Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (63)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (11481)

  • FFMEG : run code after complete conversion

    26 octobre 2019, par Сергей Барахтенко

    There is a code that runs FFMPEG

    shell_exec($this->config->item('ffmpeg') . ' -i ' . $path . ' ' . $cmd . ' 1>' . $folder . '/log.txt 2>&1 ');

    And there is the following line, which should, taking into account the peculiarities of the PHP language, work out immediately after shell_exec

    $params = array(
       'status' => 'ready'
    );
    $result = $this->model->editVideo($video_key, $params);

    This line simply updates the status of the video in the database

    My question is, why doesn’t the further php code work after completion shell_exec ? What could be the catch ?

  • How to split 5.1/7.1 audio input to 6x mono outputs using FFMPEG source code ?

    20 mars 2023, par CJ_Notned

    I know how to achieve this by using cmd line as :

    


    ffmpeg -i in.wav \
-filter_complex "channelsplit=channel_layout=5.1[FL][FR][FC][LFE][BL][BR]" \
-map "[FL]" front_left.wav \
-map "[FR]" front_right.wav \
-map "[FC]" front_center.wav \
-map "[LFE]" lfe.wav \
-map "[BL]" back_left.wav \
-map "[BR]" back_right.wav


    


    would do the job I want for me, but, how can I achieve the same in the source code itself ?

    


    I assume the trick would be to set some option for AVCodec context or SwrContext when setting up the encoder, but I cannot find any option, that should do this job for me.

    


    I am interested just in FFMPEG solutions and how to do it using directly the source code. The original API is in C, but any, even tiny, code sample in any language highly appreciated.

    


    I would bet on something like :
 av_set_options_string(...) or av_opt_set(...), but I am doing something wrong using these or it is done some other way.

    


  • Pick the English audio stream provided that it exists on video

    10 mai 2017, par parsa

    How can I have the english audio stream on output file where it exists on video ? and If not exists, I set all streams on output.
    Is there anyway for do that at one command ?
    I’m using this code

      ffmpeg -i input.mkv -f mp4 -map a -map -m:language:eng -map v -map s -map d? -
    map t -c:v copy -c:a copy output.mp4