
Recherche avancée
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin 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 (...) -
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. -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (7133)
-
Rendering video streaming in android
16 avril 2013, par user1568549I've successfully cross-compiled a c++ streaming library to the ICS platform
This library contains a sample player that uses sdl library to render the resulting decoded streams and libav for decoding that i've also succeeded to cross compile(libav ... classes) .Then, i 've made the necessary jni classes and tested it log tags it seems that everything is fine but now i want to show the result on the screen(show the real streaming not just log messages)
I am searching for the easiest way to render my video-stream (just to be sure that everything works fine)
Am i obliged to cross-compile the SDL library too ? Is it possible ? If yes is there any good tutorial ?
Is there any other solution to render directly FFmpeg decoded frames ?
-
ffmpeg encoding outputs a file with incorrect metadata
20 juillet 2013, par user2554615I use ffmpeg to convert a flv file to an mp3 file like so in bash :
ffmpeg -i path/to/file.flv path/to/output.mp3
say the flv is 5 minutes long, the output file is supposedly say, 3 minutes long. however when played back it will reach the 3 minute mark and keep playing (as it should) the full length. when i try to skip to a portion of the song it only skips by fractions of the time it should, take for example if the video is labeled as 3 minutes long and i skip to the end, it will actually be playing the area that is about 30 seconds in. why is it doing this and how do i fix it ? is there any other utility that i can use that will effectively convert .flv and .mp4 files to .mp3 or .wav in a loss-less fashion while maintaining the correct metadata, preferably for windows ? perhaps an API i can use in java or c++ ?
PS : i ask here because it relates to a command line utility and i assume that the the solution will relate to the options used in the command.
PPS : i am using the ffmpeg that comes with puppy linux (precise) 5.4
-
video orientation detection in bash
30 décembre 2020, par MiatiI need to detect whether videos are recorded in portrait or landscape mode, then transpose those into the correct orientation, in a scripted fashion.



if [ "$v_orient" == "landscape" ]
 then
 ffmpeg -i file.mp4 -vf "transpose=1" file.ogv
 else 
 ffmpeg -i file.mp4 file.ogv
fi




I've looked in ffmpeg online documentation and googled around,



I've attempted exiftool



exiftool -Rotation -Rotate file.mp4




However, this outputs Rotate : 90 for both landscape & portrait videos I have.





How can I detect the video orientation in bash ?