
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (82)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (6561)
-
FFMPEG Drag and Drop sh file
29 avril 2021, par WFCDefiOn Windows I have a simple batch file which I drop video files onto to convert to webms, it saves a lot of time as I prefer to just use the same configuration and don't care much about the names.


@echo off 
echo. 
ffmpeg -i %1 -c:v libvpx-vp9 -quality good -cpu-used 2 -b:v 5000k -qmin 15 -qmax 45 -maxrate 500k -bufsize 1500k -framerate 60 -threads 8 -vf scale=-1:1080 -c:a libvorbis -b:a 192k -f webm %1.webm 
pause



I know the .bat file won't really work in Linux (I'm on pop os so pretty much Ubuntu) so with the other lines removed and the
%1
changed to$1
it works. It won't do anything if I try dragging and dropping a video file onto it though.

I can type sudo then drag and drop the .sh file followed by a video into a terminal and press enter and it will have the same effect as dragging a video file onto a bat file in Windows.


Is there a way to recreate dragging and dropping a file directly onto another and it executing in Linux or is the terminal the only way ?


-
retriving video details with ffprobe in php
15 juillet 2014, par Roohbakhsh Masoudi’m using this command for retrieve video information in ubuntu terminal :
ffprobe -show_streams sample.mp4
this command show all information about video in terminal, but when i use this command in php and use exec function to retrieve result , return
string(0) ""
{}how i can retrieve result in php ?
my code :
public function information($ffmpeg,$file)
{
$info = exec("$ffmpeg -show_streams $file");
return $info;
} -
retriving video details with ffprobe in php
16 mai 2023, par Roohbakhsh Masoudi'm using this command for retrieve video information in ubuntu terminal :



ffprobe -show_streams sample.mp4




this command show all information about video in terminal, but when i use this command in php and use exec function to retrieve result , return



string(0) ""
{}




how i can retrieve result in php ?



my code :



public function information($ffmpeg,$file)
 {
 $info = exec("$ffmpeg -show_streams $file");
 return $info;
 }