
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (105)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
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 (5209)
-
How to create Animation video from Images like Google photos ?
21 mars 2017, par AhmedI am working on a mobile application to create a video/animation of multiple images.
I have used server side tools like ffmpeg and whammy, what are other server side or mobile open source tools that i can use ? -
Create hls stream in Google Cloud Functions (ffmpeg)
3 novembre 2018, par MarkusI tried for several hours with no good outcome.
I want to create an hls stream (from a mp4 video) with the help of google cloud functions.
This is what i have come up with so far :
const remoteReadStream = myBucket.file(vidPath).createReadStream();
const remoteWriteStream = myBucket.file(vidPath.replace('.mp4', '.m3u8')).createWriteStream();
var proc = ffmpeg()
.input(remoteReadStream)
// Base url
// include all the segments in the list
.addOption('-hls_time',4)
.addOption('-c:a aac')
.addOption('-ar 48000')
.addOption('-c:v h264')
.addOption('-profile:v main')
.addOption('-crf 20')
.addOption('-sc_threshold 0')
.addOption('-g 48')
.addOption('-keyint_min 48')
.addOption('-hls_playlist_type vod')
.addOption('-b:v 800k')
.addOption('-maxrate 856k')
.addOption('-bufsize 1200k')
.addOption('-b:a 96k')
.addOption('-hls_segment_filename', 'this_is_not_working_%03d.ts')
*tried gs://.../videos/$03d.ts' as well as other paths...
.outputOptions('-f hls')
.on('progress', function(progress) {
var processing_str = 'Processing:' + progress.percent + '% done';
console.log(processing_str);
})
.on('end', function() {
console.log('file has been ffmpeg succesfully');
})
.on('error', (err, stdout, stderr) => {
console.error('An error occured during encoding', err.message);
console.error('stdout:', stdout);
console.error('stderr:', stderr);
})
.pipe(remoteWriteStream, { end: true });This will give me the m3u8 file but the header files (ts files) will not be created, cause of the failure of saving them. The m3u8 file is saved, because it is a stream.
Opening ’xxx.ts’ for writing Could not write header for output file #0 (incorrect codec parameters ?)
I want to save them in the same folder, but I cannot access it by the bucket.
Does anyone know, how to ’create’ multiple files (give the excact path of my bucket) in the ffmpeg configuration ?Maybe saving them as a stream would be the answer, but i have no clue how to pass that stream (.createWriteStream() ;) as an argument.
Thanks in advance
-
How to print the video meta output by the browser version of ffmpeg.wasm to the console of Google Chrome ?
17 janvier 2021, par helloAlI would like to ask about how to use the browser version of ffmpeg.wasm.


Through my investigation, I know that the following command can be used to output the video metadata to a file in the terminal of windows or mac.


ffmpeg -i testvideo.mp4 -f ffmetadata testoutput.txt



and then I can get this matadata like this :



I want to parse the metadata of the video through the browser, and then print the metadata to the Google console (or output to a file). At present, I know that the browser version of ffmpeg.wasm can achieve this function, but I have looked at its examples, which does not involve this part of the content. (https://github.com/ffmpegwasm/ffmpeg.wasm/blob/master/examples/browser/image2video.html)


But I want to print it to the console of Google Chrome through the browser version(usage:brower) of ffmpeg.wasm (https://github.com/ffmpegwasm/ffmpeg.wasm).
So I want to ask you how to achieve this, thank you.