
Recherche avancée
Autres articles (101)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (7115)
-
Using ffmpeg with subprocess python
23 décembre 2018, par VincentI am trying to download videos from Wistia and I managed to download them but in .bin& format ; I’d like to convert them to .mp4 in order to use OpenCV. For this I am calling ffmpeg with subprocess on Python but I get 1 as the value for the return code, meaning the process has failed. Any idea why, and how I can change this...?
Code is the following :
import subprocess
infile = filename #a bin&amp file
outfile = filename[:-7]+'mp4'
subprocess.run(['ffmpeg', '-i', infile, outfile],shell=True)I get :
CompletedProcess(args=['ffmpeg', '-i', '58c63bccfcc1c150646c261caad97a58ced4b5e3.bin&amp', '58c63bccfcc1c150646c261caad97a58ced4b5e3.mp4'], returncode=1)
Also, it works in the command prompt...
Thank you for your help,
Sincerely,
-
Where is the description for the '-strict' option of ffmpeg command ?
21 septembre 2022, par tristan_jiaI found a proper way from this post to trim videos by start and end time(in seconds), like :


ffmpeg -i input.mp4 -ss 15.5 -to 18.98 -strict -2 out.mp4



But I cannot find any description about this
-strict
from ffmpeg's official site. Anyone can give me a hint about the meaning of this option ? Thanks !

-
how to run and install phpize
11 juin 2013, par Hrishikesh ChoudhariI have been meaning to install ffmpeg as an extension to my php setup. So before I can install it, I need to
phpize
it. I installed php5-dev bysudo apt-get install php5-dev
But now when I run phpize I get the following error :phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the moduleThe location of my php.ini is
/usr/local/zend/etc/php.ini
From another online resource i tried this
sudo apt-get install autoconf automake libtool m4
But all of them are already installed.
Locate config.m4 didnt return anything.
Any pointers here how I can get phpize and thus, ffmpeg up and running ?