
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (46)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (7223)
-
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 ?


-
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.


-
Clips from a Live Video
12 mai 2022, par Jorge Borreguero SanmartinI am doing a program in Python that gets clips from a live video. To do so, with opencv I get the currrrent_frame_position and with the fps I get the start and final time to run this command :


ffmpeg -i live_video.ts -ss 00:01:30 -to 00:02:00 -c:v copy output.ts


To improve, I want to start dumping the live_video on the new file once I know the starting time, and finish once I get the final time. My intention is to make this process faster and get the result file sooner. It is not necessary to use ffmpeg but it is the tool that I have been using. How can I do this ?