
Recherche avancée
Autres articles (102)
-
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 (...) -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (13097)
-
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.