
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (111)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (10230)
-
php - how to make thumbnail of video with out ffmpeg
9 septembre 2018, par engineer emirI’m using php ( Phalcon frameWork ) .
I tried to using ffmpeg to do this but its taking too much .
I need a thumbnail as screen shot from video .
Is there any other solutions ( Only PHP ) ?
this is my code :
// where ffmpeg is located, such as /usr/sbin/ffmpeg
$ffmpeg = '/usr/bin/ffmpeg';
// the input video file
$video = BASE_PATH . "/public/uploads/video/" . $fileName;
// where you'll save the image
$image = BASE_PATH . "/public/uploads/image/" . "thumbnail-".$fileName .".jpg";
// default time to get the image
$second = 1;
// get the duration and a random place within that
$cmd = "$ffmpeg -i $video 2>&1";
if (preg_match('/Duration: ((\d+):(\d+):(\d+))/s', `$cmd`, $time)) {
$total = ($time[2] * 3600) + ($time[3] * 60) + $time[4];
$second = rand(1, ($total - 1));
}
// get the screenshot
$cmd = "$ffmpeg -i $video -deinterlace -an -ss $second -t 00:00:01 -r 1 -y -vcodec mjpeg -f mjpeg $image 2>&1";
`$cmd`; -
Timelapse from image files in subfolders using FFMPEG
11 avril 2022, par user44109Is it possible to search for image files in subfolders using FFMPEG ? I'm creating a time lapse video file from jpegs and they are located in subfolders (for each recorded day).


Here is my current code, which will work if I run it in the folder with the image files, but it will not work if I try to run it on the parent folder (the folder containing the subfolders).


ffmpeg -framerate 50 -pattern_type glob -i '*.jpg' -c:v libx264 -pix_fmt yuv420p out3.mp4



Edit : I also tried this after the suggestion from @kesh


ffmpeg -framerate 50 -pattern_type glob -i '**/*.jpg' -c:v libx264 -pix_fmt yuv420p out3.mp4



What happens with that one is that it will indeed find the files in the subfolder but it only seems to encode the contents of the first subfolder.


-
FFMPEG command for audio file streaming [closed]
29 février 2024, par VigoI am trying to stream an audio file in mp3 format using the FFMPEG library to a remote computer, located on the same LAN as the sender. The command i used to stream at the sender is given below :



ffmpeg -re -f mp3 -i sender.mp3 -ar 8000 -f mulaw -f rtp rtp://10.14.35.23:1234




I got the below command on FFMPEG documentation page that generates audio and streams it to port number 1234 on remote computer



ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw -f rtp rtp://10.14.35.23:1234




I thought i had made relevant changes to this so that the mp3 streaming command will work, but only to know encounter the error which reads

"Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"


Can anyone tell me what is the wrong parameter here and how to rectify it ?