
Recherche avancée
Autres articles (105)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (3531)
-
error = "sh : /root/bin/ffmpeg : Permission denied
6 août 2015, par user1503606Ffmpeg install location.
Hi All i am running Centos 6.6 and i installed ffmpeg using this guide following each step.
http://trac.ffmpeg.org/wiki/CompilationGuide/Centos
But when i try and run.
$output = shell_exec("cd {$targetDir} && /root/bin/ffmpeg -i {$fileName} {$wav} 2>&1");
I get
sh : /root/bin/ffmpeg : Permission denied
After reading through lots of post i believe i should not have installed ffmpeg in /root/bin/
How do i install it in say /usr/local/bin ?
I ran this.
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure
—prefix="$HOME/ffmpeg_build" —extra-cflags="-I$HOME/ffmpeg_build/include" —extra-ldflags="-L$HOME/ffmpeg_build/lib" —bindir="$HOME/bin" —pkg-config-flags="—static" —enable-gpl —enable-nonfree —enable-libfdk-aac —enable-libfreetype —enable-libmp3lame —enable-libopus —enable-libvorbis —enable-libvpx —enable-libx264 —enable-libx265Can someone let me know who i would do this thanks.
-
Unrecognized options even though compiled FFmpeg on Ubuntu manually
11 février 2016, par Kathy LeeI would like to convert a video from .avi to .mp4 with same quality using ffmpeg but the command I put in the terminal always report some errors saying that there are unrecognized options.
I have compiled the ffmpeg manually following the steps in http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
After compiling the ffmpeg, I used the command below the compress the video
ffmpeg -i input.avi -c:v libx264 -crf 19 -preset slow -c:a libfaac -b:a 192k -ac 2 output.mp4
But the error message is saying "Unrecognized option ’crf’" :
ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --enable-nonfree --enable-pic --enable-shared
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
Unrecognized option 'crf'.
Error splitting the argument list: Option not foundThen I tried to omit flag -crf, but I got error saying
Unrecognized option 'preset'.
Error splitting the argument list: Option not foundThen I omitted flag -preset, it says I do not have libx264....
[mjpeg @ 0x164f2c0] Changeing bps to 8
Input #0, avi, from 'backup_bush.avi':
Duration: 00:01:40.70, start: 0.000000, bitrate: 12409 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc, bt470bg/unknown/unknown), 400x250 [SAR 1:1 DAR 8:5], 12407 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
Unknown encoder 'libx264'I am very confused what is going on because I have complied ffmpeg step by step and also installed the dependencies such as libx264 as described in http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu. The command I used to configure ffmpeg is
./configure --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
Why these errors happen ? How can I fix them to allow me to convert the video from .avi to .mp4 ?
Thank you very much !
-
nomenclature #3324 : Déplacer les fonctions typographiques dans un plugin séparé
29 octobre 2014, par Fil UpQuelques autres améliorations à faire (pas très difficile, mais pointilleux : faire des cas tests).
1. toujours rendre les espaces insécables (même en anglais) quand l’espace est déjà présente (a ! => a !)
2. en français-français, ajouter les espaces insécables, mais pas en français-suisse (enfin, différemment)
http://fr.wikipedia.org/wiki/Comparatif_des_différents_codes_typographiques_francophones#Diff.C3.A9rences_entre_les_typographies_fran.C3.A7aise_et_suisse3. remplacer les insécables qui vont bien par des fines (en option avec réglage ou define). Le code est déjà fait, il suffit de l’intégrer (avec les tests idoines) cf. http://core.spip.org/issues/1461