
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 (...) -
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 (12381)
-
How to create thumbnails of videos with Meteor, CollectionFS, & FFMPEG
29 juin 2017, par Jared MartinI’m using Meteor with CollectionFS to store videos. I need a transform to create thumbnails of my videos.
Videos = new FS.Collection("videos", {
stores: [
new FS.Store.FileSystem("thumbs", {
transformWrite: function(fileObj, readStream, writeStream) {
// What goes here?
}
}),
new FS.Store.FileSystem("videos"),
],
});I’ve worked out how to do this with ffmpeg :
ffmpeg -i video.mp4 -vf "thumbnail,scale=640:360" -frames:v 1 thumb.png
But I’m not sure how to do this with the readStream I’m given and output the writeStream.
Here’s an example of how it is done with images using GraphicsMagick :
Images = new FS.Collection("images", {
stores: [
new FS.Store.FileSystem("thumbs", {
transformWrite: function(fileObj, readStream, writeStream) {
// Transform the image into a 10x10px thumbnail
gm(readStream, fileObj.name()).resize('10', '10').stream().pipe(writeStream);
}
}),
new FS.Store.FileSystem("images"),
],
});Although the samples use the local filesystem, Ill be using cvs:dropbox, so you can’t rely on the file being there locally.
-
How to create thumbnails of videos with Meteor, CollectionFS, & FFMPEG
24 juin 2015, par Jared MartinI’m using Meteor with CollectionFS to store videos. I need a transform to create thumbnails of my videos.
Videos = new FS.Collection("videos", {
stores: [
new FS.Store.FileSystem("thumbs", {
transformWrite: function(fileObj, readStream, writeStream) {
// What goes here?
}
}),
new FS.Store.FileSystem("videos"),
],
});I’ve worked out how to do this with ffmpeg :
ffmpeg -i video.mp4 -vf "thumbnail,scale=640:360" -frames:v 1 thumb.png
But I’m not sure how to do this with the readStream I’m given and output the writeStream.
Here’s an example of how it is done with images using GraphicsMagick :
Images = new FS.Collection("images", {
stores: [
new FS.Store.FileSystem("thumbs", {
transformWrite: function(fileObj, readStream, writeStream) {
// Transform the image into a 10x10px thumbnail
gm(readStream, fileObj.name()).resize('10', '10').stream().pipe(writeStream);
}
}),
new FS.Store.FileSystem("images"),
],
});Although the samples use the local filesystem, Ill be using cvs:dropbox, so you can’t rely on the file being there locally.
-
concatenate mp4 videos with ffmpeg concat demuxer in android
6 mai 2016, par Ara BadalyanI want to concatenate mp4 videos with ffmpeg, the problem is when I want to merge videos taken with Iphone and Android it throws problem
" Non-monotonous DTS in output stream 0:1 ; previous : 150528, current : 139268 ; changing to 150529. This may result in incorrect timestamps in the output file."
This is my code
merge.txt
file 'iphone.mp4'
file 'android.mp4'ffmpeg command
ffmpeg -f concat -i marge.txt -c copy -y merge.mp4
If I can’t merge this videos how can i make them with same parameters (frame rate, bitrate...) and merge them ?
P.S I use ffmpeg version 2.4.2 , because I can’t find android ffmpeg library higher then 2.4.2.