
Recherche avancée
Autres articles (101)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (7913)
-
FFMPEG works on Console but doesn't work in PHP script on Ubuntu
16 novembre 2016, par Victor FerreiraI have this aplication where I need to convert video files to MP4 and then compress it. I’m trying to use FFMPEG to get this to work. Tried the command lines in the console and it works great
Converting
ffmpeg -i teste.avi teste.mp4
Compressing
ffmpeg -i teste.mp4 -acodec mp2 teste.mp4
But when I do the same within a PHP script, it starts yelling that something called
GLIBCXX
is not installed. This is the error :ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/i386-linux-gnu/libjack.so.0)
ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/i386-linux-gnu/libjack.so.0)
ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/i386-linux-gnu/libjack.so.0)
ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/i386-linux-gnu/libzmq.so.3)
ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/i386-linux-gnu/libzmq.so.3)
ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4)
ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4)
ffmpeg: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4)This is my script
$r = shell_exec("ffmpeg -i $file_path $output_path 2>&1"); //convert
$r = shell_exec("ffmpeg -i $file_path -acodec mp2 $file_path 2>&1"); //compressI’m running the script on Ubuntu
@edit
I can run, for example, shell_exec(’ls’) -
FFMPEG converts HEVC with Alpha mov to PNG sequence not work well
22 juillet 2023, par topfortuneI have a mov file with HEVC with Alpha codec on Mac. The mov file has no background color, but have some foreground contents in it. I want to use FFMPEG to grab some PNG pictures from it. Following is the command line I used to grab the first image from the video.


ffmpeg -i hevc-alpha-video.mov -r 1 -pix_fmt rgba -frames:v 1 out.png


I can get the output PNG picture. But it has black background color. What I want is the transparent background PNG picture.


Do you have any idea to handle this ? Thanks.


-
FFMPEG. Using current datetime in the filename. strftime parameter doesn't seem to work
5 novembre 2017, par LEMI’m connecting to an IP camera and I would like to create a new recording every 60 seconds. Each recording should have a different filename.
I tried with this :ffmpeg -i <url> -y -c:v libx264 -an -f segment -segment_time 60 -strftime 1 "%Y-%m-%d_%H-%M-%S.mp4"
</url>However, this always outputs a filename that looks like :
m-H-S.mp4
Any ideas what I must be missing ?
Thanks