
Recherche avancée
Autres articles (93)
-
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 ) (...) -
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 -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (6158)
-
How can I concatenate multiple videos while maintaining the original aspect ratio of each
25 décembre 2019, par AntonyHow can I concatenate multiple videos while maintaining the original aspect ratio ? I think there are 2 approaches to do this. Either scale videos one by one or concatenate them all with one command. Currently, I’m using the following command
ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex "[0]scale=iw*sar:ih,setsar=1[ref];[1][ref]scale2ref=w=oh*mdar:h=ih[s][v0];[s]pad=1024:576:(ow-iw)/2:(oh-ih)/2,setsar=1[v1];[v0][0:a:0][v1][1:a:0]concat=n=2:v=1:a=1[v][a]" -map "[v]" -map "[a]" out.mp4
In the above example the reference video(1.mp4) is 720x576[SAR 64:45 DAR 16:9]. This works great for concatenating 2 videos but I don’t know how to make it more dynamic.
So how could I make the command above work for 3 videos ? Either scaling & concatenating 1 by 1 or all together.
-
Comparing two similar videos of different run time length
5 décembre 2016, par Sachin BansalI have two videos of a single selenium automation script. One is a baseline video and I want to compare the second video with this baseline video. In comparison I want to capture the screenshots of the frames that are not matching.
The problem is that the videos might not be of same size and run time as the running of scripts depends on network.
I have tried ffmpeg for this, but that didn’t result in any fruitful result. Can anyone guide me in a right direction on how to get a head-start in this.
Thanks
-
how to play m3u8 videos from laravel storage
10 mars 2019, par Farzane KhazaeiI used ffmpeg to convert my MP4 videos to M3U8 format to have multiple qualities and stream my videos. because of security reason I have to put my videos in storage folder (not public) and now when I try to watch videos the browser just download M3U8 text file and video wont display. I install chrome extension to display M3U8 videos and i can see my M3U8 videos if I put the files in public folder and call the URL directly. this is my code
$fileName = $product->details()['sample_file_name'];
$filePath = $product->type.'s/'.$product->id.'/'.$fileName;
$fileContents = Storage::disk('products')->path($filePath);
$header = ['Content-type' => Storage::disk('products')->mimeType($filePath)];
$header = ['Content-Disposition' => 'attachment; filename='.basename($filePath)];
$response = Response::download($fileContents, $fileName, $header);
return $response;please help me what headers should i set for my download response.