Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (64)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (3669)

  • why 'read' command in shell script is missing initial characters ? [duplicate]

    15 avril 2019, par tod

    This question already has an answer here :

    I have the following shell script and it is missing some initial characters (it misses initial couple of characters, so far in my observation) from each line except the first line.

    And this happens only when I use the ffmpeg command. Otherwise, it is fine. But this command does the actual task in this script.

    Why is it so and what is the fix ?

    #!/bin/bash

    while read line; do
       printf "%s\n" "$line"
       ifile=$line
       printf "%s\n" "$ifile"
       ofile=abc_$line
       printf "%s\n" "$ofile"

       ############### Problem is the following command: ##########
       ffmpeg -y -i $ifile -c:v libx264rgb -b:v 512k -bf 0 -pix_fmt rgb24  -r 25 -strict -2 $ofile
       ##########rest is fine##########

       echo $ifile
    done < file_list
  • Shell script not working on a different server

    11 novembre 2013, par Alex Blundell

    I've just migrated a shell script to another server with similar specs (same CentOS version) but the following command seems to fail :

    find /home/removed/captures -name '*.avi' -exec ffmpeg -y -i {} -ab 1280 -b 1024000 {}.mp4 \;

    The following message gets returned :

    find: `ffmpeg': No such file or directory

    I have installed ffmpeg, and made sure it runs from the command line. I've also tried passing in the full path to ffmpeg instead of just 'ffmpeg'. Both ffmpeg versions are the same on each server. I was thinking it was something to do with syntax of the find program changing between versions, but they're both the same version too. This runs via the root crontab.

    The script does run by itself though if I call it directly. Could this be an issue with permissions ? It runs on a cPanel server.

    Thanks :)

  • possible C code implementation ideas for a given shell script(related to ffmpeg)

    21 août 2011, par Ted

    The shell script i'm trying to implement goes like this,

       #!/bin/bash
       while [ 1 ]
       do
          nc -l 1234 | ffmpeg -i pipe:0 -vcodec mpeg4 -s qcif -f m4v -y pipe:1 | nc localhost 1235
       done

    what it does is to simply take in a stream of video input through network and do live video transcoding(with ffmpeg of course !) and streaming back the video through the net. my question is how should i go by to implement this functionality in a clean C code. i know i can use popen() to pipe such a command from a c code but i would like to do better. may be with sockets and staff... any pointers are appreciated.

    AskLearnDo.