
Recherche avancée
Médias (1)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
Autres articles (90)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 (...) -
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 (...)
Sur d’autres sites (8505)
-
HTML5 Video FFMPEG Shell Script
18 novembre 2011, par SchermyI wrote this quick and dirty shell script to run ffmpeg over a bunch of files to generate webm/ogg/h.264 videos for a HTML5 site.
#!/bin/bash
ext=$1
enc=$2
#!/bin/bash
for file in *.$ext; do
while pidof /usr/local/bin/ffmpeg; do sleep 10; done >/dev/null
ffmpeg -i "$file" -s 1280x720 -b 500k "${file/%$ext/$enc}"
doneIt works great for my purposes but I've noticed that each video now takes a lot longe to convert and ffmpeg is not taking advantage of my multi-core setup.
I would like to improve this script when I have some time and make it available for use by others but I'd like to solve this issue first.
Thanks in advance for all of your help.
P.S. This is setup to use the ffmpeg installation from brew on the Mac (and yes I would like to make this script more platform agnostic later on).
-
When converting .mov to .flv video plays horizontally
2 janvier 2014, par user291247When I record a video (.mov) through my iPhone it display vertically which is right.
But after converting the .mov to .flv(using ffmpeg) it displays horizontally.My code :
function convert_flv($vidtime,$infile, $outfile, $w = 0, $h = 0, $extra_infile = '', $extra_outfile = '') {
$parms = '';
if($w == 0 && $h == 0) {
//$parms .= '-sameq ';
} else {
$parms = '-s {$w}x{$h} ';
}
if($vidtime==60) {
$cmd = ffmpeg($infile, $outfile, $parms.' '.$extra_infile, '-t 00:01:00 -ar 22050 -r 15 -f flv '.$extra_outfile);
} else {
$cmd = ffmpeg($infile, $outfile, $parms.' '.$extra_infile, '-t 00:04:00 -ar 22050 -r 15 -f flv '.$extra_outfile);
}
print_r($cmd);
return $cmd;
} -
Use ffmpeg to watermark and scale an image on video
11 mai 2015, par Ae.I want to be able to watermark videos with a logo image, which contains a website url.
The videos can be of different formats and dimension.
I’m trying to figure out a generic ffmpeg command to achieve it, so that i don’t have to tweak the command depending on the video i have to process.
So far i got :ffmpeg -i sample.mov -sameq -acodec copy -vf 'movie=logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]' sample2.mov
In this way though the logo will look too big or too small with video of different size.
I’ve seen there is a scale option for avfilter, but I haven’t figure out whether it’s possible to resize the image logo based on the dimension of the input video, so that I can say to scale the logo to 1/3 of the video length for example, and keep the image ratio.Any idea ? doesn’t need to be done in a single command, could even be a script.
thanks in advance.