
Recherche avancée
Autres articles (69)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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.
Sur d’autres sites (7451)
-
create image from video with ffmpeg
1er juillet 2012, par Rajanikant ShuklaI want to create image from video(.mpeg) file. i downloded ffmpeg and i put php_ffmpeg.dll to my /php/ext and rest of file in windows/system32 and i use following programm Please have look and told to create in step wise
<?php
function ExtractThumb($in, $out)
{
$thumb_stdout;
$errors;
$retval = 0;
// Delete the file if it already exists
if (file_exists($out)) { unlink($out); }
// Use ffmpeg to generate a thumbnail from the movie
$cmd = "ffmpeg -itsoffset -4 -i $in -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 $out 2>&1";
exec($cmd, $thumb_stdout, $retval);
// Queue up the error for processing
if ($retval != 0) { $errors[] = "FFMPEG thumbnail generation failed"; }
if (!empty($thumb_stdout))
{
foreach ($thumb_stdout as $line)
{
echo $line . "
\n";
}
}
if (!empty($errors))
{
foreach ($errors as $error)
{
echo $error . "
\n";
}
}
}
$in="D:\Video\handycam\guria marriage\HANDYCAM VIDIEO\M2U00233.mpeg";
$out="D:\Video\handycam\guria marriage\HANDYCAM VIDIEO";
ExtractThumb($in, $out);
?> -
How to batch convert mp4 files to ogg with ffmpeg using a bash command or Ruby
3 avril 2013, par TJ SherrillI am running a OSX, don't know tons about video conversions. But I have like 200 videos that are all in mp4 format and won't play in Firefox. I need to convert them to ogg to use the html5 video tag.
These files live in a folder structure that makes it hard to do files one at a time. I would like the bash command or Ruby command to go through all child folders and find all .mp4's and convert them.
I found one reference of how to do this with Google : http://athmasagar.wordpress.com/2011/05/12/a-bash-script-to-convert-mp4-files-to-oggogv/
#!/bin/bash
for f in $(ls *mp4 | sed ‘s/\(.*\)\..*/\1/’)
do
ffmpeg -i $f.mp4 -acodec vorbis -vcodec libtheora $f.ogg
doneBut have no idea how to convert this from linux to osx.
-
FFmpeg flags for second input / audio source
10 juillet 2015, par LouisKReading FFmpeg docs it seems it’s totally possible to use two streams of buffer data to transcode. Is this wrong ?
I’m trying to use 2 streamed inputs via a child process in node.js, but only have 1 working.
Only appending 1 -i, 1 source piped in works for video only or an already combined stream :
ffmpeg -i - -f mp4 -movflags frag_keyframe+faststart pipe:1
two inputs, 2 piped sources fails :
ffmpeg -i - -map 0:v -i - -map 0:a -ar 44100 -ac 2 -ab 96000 -f mp4 -movflags frag_keyframe+faststart pipe:1 pipe:2
gives : Error opening input files : Invalid argument — what argument is invalid ? Is the data I’m sending it an issue ?