
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (56)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (7962)
-
i m not able to play my video in my phone after merging through ffmpeg in flutter ?
16 juin 2021, par Muhammad Arbaz Zafarthis is my code


void _videoMerger() async {


 final appDir = await syspaths.getApplicationDocumentsDirectory();
 String rawDocumentPath = appDir.path;
 final outputPath = '$rawDocumentPath/outputPath.mp4';
 final FlutterFFmpeg _flutterFFmpeg = new FlutterFFmpeg();
 String commandToExecute = ' -i ${_storedVideoOne.path} -i ${_storedVideoTwo.path} -filter_complex "[0:v][1:v]concat=n=2:v=1:a=0[out]" -map "[out]" $outputPath.mp4';
 _flutterFFmpeg.execute(commandToExecute).then((rc) => print("FFmpeg process exited with rc $rc"));

 await MediaStore.saveFile(outputPath);

 }



my video merged and i get file in my mobile and then i try to play but its not able to play after that i built my code in emulator and merge vide then merge video successfuly but still not able to play my merge video so guys any solution ?


-
Thumbnail generation in Laravel with FFmpeg
28 mai 2023, par hehehheheheUsing FFmpeg video upload is successful in the database, but the file is not found in the storage directory. I want to make a thumbnail of the video that has just been uploaded using FFmpeg in Laravel. When viewed in the database it has been uploaded, but when viewed in the Laravel storage directory the file does not exist. What is the solution ?


$store = new Post();
$files = $request->file('file');
$ext = $files->getClientOriginalExtension();
if ($ext == 'mp4' || $ext == 'mkv' || $ext == 'webm') {
 $ext = $request->file('file')->extension();
 $final = 'video' . time() . '.' . $ext;
 $request->file('file')->move(storage_path('app/public/uploads/video/'), $final);
 $store->file = $final;

 // For Thumbnail
 $thumbnailName = 'thumbnail' . time() . '.jpg';
 $thumbnailPath = storage_path('app/public/uploads/video/thumbnails/') . $thumbnailName;

 $ffmpegCommand = "ffmpeg -i " . storage_path('app/public/uploads/video/') . $final . " -ss 00:00:01.00 -vframes 1 " . $thumbnailPath;
 exec($ffmpegCommand);

 $store->thumbnail = $thumbnailName;
}



I've looked and tried coding based on the latest documentation, but it still can't run.


-
FFMPEG concatenate multiply files with various extensions and properties
28 juillet 2022, par KRUKI'm trying to create a movie on Windows using ffmpeg from files that are from different devices and in different extensions (.mp4, .mov). Is there any way to combine any file extensions into one final movie that will play properly ?


I'm thinking of such an approach, to first normalize all files to the same format (What is the recommended final format ?) and only then combine them into a final file.


I am experimenting with this approach :


ffmpeg -i [input.anyFormatX] outputX.mp4



and then


ffmpeg -f concat -i [List of files] output.mp4



But unfortunately this does not work for all files, should pay attention to the codecs or maybe some other intermediate format ? The biggest problem appears with files recorded with Iphone and in extension .mov. After the first stage, these videos look overburnt, as if they have a lot of raised brightness, how to correct this ?


Do you know perhaps any generic solution, which would allow the assembly of videos from different devices (including Iphone) and with different parameters such as frame rate or resolution ?