
Recherche avancée
Autres articles (46)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
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.
Sur d’autres sites (5986)
-
Image pipe from php to ffmpeg
30 avril 2013, par AngusI'm tring to feed FFMpeg whith an image sequence through PHP in order to get a video out of it. I'm using this shell command to read from a text file the image filenames :
cat $(cat " . $image-list-file . ") | ffmpeg -f image2pipe ...
I would like to output to the pipe prom php, maybe after modifying the images through imagemagik or gd.
How can I do this in PHP ?
Edit :
SOLUTION
Using a combination of proc_open and buffer did the job.
Here's a working test script using some GD generated pictures.<?php
set_time_limit(0);
$descriptors = array(
0 => array("pipe", "r")
);
$command = "ffmpeg -f image2pipe -pix_fmt rgb24 -r 30 -c:v png -i - ".
"-r 30 -vcodec libx264 -pix_fmt yuv420p ".
"-y test.mp4";
$ffmpeg = proc_open($command, $descriptors, $pipes);
if (is_resource($ffmpeg)){
for ($i = 0; $i < 180; $i++) {
$im = @imagecreate(300, 300) or die("GD error");
$background_color = imagecolorallocate($im, 0, 0, 0);
$line_color = imagecolorallocate($im, 233, 14, 91);
$x = rand(0, 300);
imageline ($im, $x, 0, $x, 300, $line_color);
ob_start();
imagepng($im);
fwrite($pipes[0], ob_get_clean());
imagedestroy($im);
}
fclose($pipes[0]);
} -
Grabbing images from mp4 using ffmpeg : How to get image after X seconds
10 septembre 2015, par AnthonyI am trying to grab images from an mp4. The video is 241 seconds long and looking at data from VLC player I can see that the Frame rate is 4.
I would like to grab an image from the video every 5 seconds. Since 241/5 = 48.2 In total I would like to have around 49 images in the end.
How can I do this ?
I tried the following simply by trial and error :
ffmpeg -i ~/inputvideo.mp4 -r 0.4 -t 240 image-%d.png
This gives me a total of 50 images from the video.
-
How to create video preview from sequence image
17 février 2017, par diepntI am developing a project create video and animation from sequence image. I have created a video using opencv but it takes a long time. I need to do function transition effects preview without creating video file. After choose image sequence and click button then create preview video with multiple effect. Click and will play immediately with seekbar duration controller. Who can help me to find solutions to this problem. Thanks !