
Recherche avancée
Autres articles (106)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)
Sur d’autres sites (7938)
-
How to compress a image size to a desired file size in KBs using ffmpeg or python or Ubuntu Command line ?
4 mars 2019, par yash17I’m using ffmpeg to take a screenshot from a udp stream.
Due to varying bit rates while transmission, the captured screenshot has different file size everytime.400KB,500KB..Even though it is screenshot of a same static page.Is there a way to get a specific file size every time, in ffmpeg ?
Or is there a command to convert a captured file to the desired KB using Python or through Ubuntu terminal ?
Here is the command I’m using.
ffmpeg -i udp://@XXX.XX.XX.XX:XXXX -vframes 1 -q:v 1 test.png
I also tried the following commands in terminal, but it did nothing.
convert -define jpeg:extent=100kb test.png output.png
-
Applescript to automatically convert new downloaded MKV files using ffmpeg
18 février 2014, par user3315469I'm new to Applescript and would love some help figuring out how to use it to make my life easier. I want to create a script that automatically selects new movies added to a folder (actually a folder within a folder, as I have a "Movies" folder and then each movie gets its own folder within that), checks the extensions, and converts them using the Terminal if they have extension .mkv. The Terminal command I want to run is
ffmpeg -i -y [movie_name].mkv -c copy [movie_name].mp4
It will need to look in the correct folder for the movie, which is already automatically created when the movie is added. So, to clarify, there's a "Movies" folder, which contains the newly created folder for a specific movie, which in turn contains the newly added movie file.
I am running Mavericks on a MacBook Pro.
-
How to permanently make ffmpeg recognizable from bin/bash in macOS
10 avril 2022, par AnonymousI downloaded a zip for ffmpeg, because brew installation was not compatible with macOS High Sierra 10.13.6. After unzipping, the only file contained was ffmpeg, its icon is similar to the icon of the terminal. I want to get the terminal(which runs bin/bash $SHELL) to permanently recognise
ffmpeg
command.

If I type :


- 

echo export PATH="/Users/imac/Documents/ffmpeg:$PATH" > ~/.bashrc
source ~/.bashrc
ffmpeg

then the commandffmpeg
is recognized, so everything is ok.








However if I exit the terminal and re-open it, or just restart the computer

ffmpeg
gives as output-bash: ffmpeg: command not found
. So I have to do every time steps 1 and 2 that were describe above.

- 

-
Output of
cat .bashrc
:
export PATH=/Users/imac/Documents/ffmpeg:/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin


-
Output of
echo $PATH
:
/Library/Frameworks/Python.framework/Versions/3.9/bin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/opt/anaconda3/condabin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin








Note that in step 4
ffmpeg
appears(in the location I have it stored) whereas in step 5ffmpeg
is absent. Also I have little knowledge of bash and terminal, so if you can, please be explanatory in answers and/or comments. Thank you very much !