Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (26)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

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

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

Sur d’autres sites (2870)

  • FFmpeg script skips files

    15 avril 2014, par ucq52ose

    I wrote a shell script to convert many video files and save them with something appended to the file name. The script works, but it seems to randomly skip files, and a lot of them.

    When I re-run the script, it will convert files it skipped before. How can I get it to stop skipping files ?

    workingDir=/home/user/Videos

    # get list of files to convert
    find /video/folder -iname "*.mp4" > $workingDir/file_list

    # convert files
    cat $workingDir/file_list | while read LINE; do
       # FFmpeg often cuts off the beginning of this line
       echo "$(dirname "$LINE")/$(basename "$LINE")"
       if /usr/bin/ffmpeg -n -loglevel panic -v quiet -stats -i "$LINE" \
           -c:v libx264 -vf scale="trunc(oh*a/2)*2:320" \
           -pix_fmt yuv420p -preset:v slow -profile:v main -tune:v animation -crf 23 \
           "$(dirname "$LINE")/$(basename "$LINE" \.mp4)"_reencoded.mp4 2>/dev/null; then
               echo "Success: $(dirname "$LINE")/$(basename "$LINE")" >> $workingDir/results
       else
           echo "Failed:  $(dirname "$LINE")/$(basename "$LINE")" >> $workingDir/results
       fi
    done

    One problem seems to be that FFmpeg interferes with the script. The FFmpeg output often cuts off the beginning of the next command, even if the output is not shown. This is demonstrated by the echo line before the if statement, which is often cut off. But even for lines that aren't cut off, most of them will be skipped for no apparent reason.

  • Continously running a PHP script waiting for videos to trancode

    12 mai 2017, par Ian

    I’m making a transcoding server which uses FFMPEG to convert videos to flv. After user uploads a video it’s queued for processing in amazon Simple Queue Service. System is linux ubuntu.

    Instead of running CRON each 1min I wonder if it would be possible to continously run several PHP scripts (dowload queued files, process downloaded etc). Each of them would have its own queue which would be read every 10s or so looking for new tasks.

    My question is :

    How to detect if the script is already running ? I’d run CRON each 1min and if one of the programs would not be running I’d load it again. How stuff like that is done on linux ? PID files ?

    thanks for help,
    ian

  • Is there any tools/script like "ffmpeg-windows-build-helpers", but can build ffmpeg for linux use ?

    9 mai 2017, par FigoZhu

    I found an corssbuild tools ffmpeg-windows-build-helpers , it’s very useful, can build ffmpeg for windows with intel-qsv support.

    Did anyone know any other tools/script can build ffmpeg for linux include intel-qsv support ?