
Recherche avancée
Autres articles (106)
-
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (14106)
-
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.
-
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 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.