
Recherche avancée
Autres articles (58)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
L’espace de configuration de MediaSPIP
29 novembre 2010, parL’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
Il permet de configurer finement votre site.
La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (9302)
-
Invoking ffmpeg command line from C#
17 juillet 2014, par hydeI have a bunch of images in a directory that I want to make a video out of.
For example the images could have the following path :
C:\dirpath with spaces\a.tiff
C:\dirpath with spaces\b.tif
C:\dirpath with spaces\c.tif
...
C:\dirpath with spaces\zzz.tif
(the file names themselves do not have a pattern)
And ffmpeg is invoked in the server (ASP.Net WebAPI) when a user submits a query.
Right now I am having a hard time getting it to work because part of the problem might be how I am passing the file names to ffmpeg.
The command I am using is :
ffmpeg -y -pix_fmt rgb24 -s 640x540 -framerate 24 -i "C:\dirpath with spaces\a.tif" "C:\dirpath with spaces\b.tif" "C:\dirpath with spaces\c.tif" ... "C:\dirpath with spaces\zzz.tif" -an out.mp4
The problem is that the resulting video is 0 seconds long and ffmpeg does not throw any error.
My question is, is how do I make this work while working with a set of images using their full path, maybe using a wrapper library around it ?
-
Symfony PHP-FFMPEG (pulse00/ffmpeg-bundle) doesn't work
8 juillet 2014, par harisK92I installed pulse00/ffmpeg-bundle
and set it up like in documentation
dubture_f_fmpeg:
ffmpeg_binary: C:\FFMPEG\bin\ffmpeg
ffprobe_binary: C:\FFMPEG\bin\ffprobeBut I got errors
Unable to load FFProbe
..\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php at line 50
try {
} return static::load($binaries, $logger, $configuration);
catch (BinaryDriverExecutableNotFound $e) {
throw new ExecutableNotFoundException('Unable to load FFProbe', $e->getCode(), $e);
}
}When I add .exe
dubture_f_fmpeg:
ffmpeg_binary: C:\FFMPEG\bin\ffmpeg.exe
ffprobe_binary: C:\FFMPEG\bin\ffprobe.exe
Unable to probe C:\Users\XXX\XXX\ProjectFolder\src\vendor\Bundle\Entity/../../../../web/uploads/videos/e4cbef010c42d819fd6c326011fb2434c4b43c68.mp4Code in my controller
private function getThumbnail(Video $videoObject)
{
$ffmpeg=$this->getFFMPEG();
$video=$ffmpeg->open($videoObject->getAbsolutePath());
$video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
->save($videoObject->getImagesUploadDir().'/'."image.jpg");
} -
Symfony PHP-FFMPEG (pulse00/ffmpeg-bundle) questions
8 juillet 2014, par harisK92I installed pulse00/ffmpeg-bundle
and set it up like in documentation
dubture_f_fmpeg:
ffmpeg_binary: C:\FFMPEG\bin\ffmpeg
ffprobe_binary: C:\FFMPEG\bin\ffprobeBut I got errors
Unable to load FFProbe
..\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php at line 50
try {
} return static::load($binaries, $logger, $configuration);
catch (BinaryDriverExecutableNotFound $e) {
throw new ExecutableNotFoundException('Unable to load FFProbe', $e->getCode(), $e);
}
}When I add .exe
dubture_f_fmpeg:
ffmpeg_binary: C:\FFMPEG\bin\ffmpeg.exe
ffprobe_binary: C:\FFMPEG\bin\ffprobe.exe
Unable to probe C:\Users\XXX\XXX\ProjectFolder\src\vendor\Bundle\Entity/../../../../web/uploads/videos/e4cbef010c42d819fd6c326011fb2434c4b43c68.mp4Code in my controller
private function getThumbnail(Video $videoObject)
{
$ffmpeg=$this->getFFMPEG();
$video=$ffmpeg->open($videoObject->getAbsolutePath());
$video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
->save($videoObject->getImagesUploadDir().'/'."image.jpg");
}