
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (111)
-
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 -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (7912)
-
stream_loop generate a big size video [FFMPEG]
26 mars 2021, par Mouaad Abdelghafour AITALII'm trying to loop a short video for e.g. 190 time to match the audio length, I use the following code :


-y -stream_loop 190 -i input.mp4 -c copy output.mp4



The command above works, but it generates video with huge size for video with 3min the size is 885 MB


2021-03-25 23:52:30.445 5687-6253/maa.abc.music_maker D/XXX: LOOPING VIDEO SIZE ===> 885.845MB



Or there's any way I can loop the video to match the audio length without using
-stream_loop


-
Batch process audio files and image files to create movie files by matching multiple wildcard values
29 septembre 2022, par psychaudioI'm attempting to batch-process audio and image files to create video files using a Shell script with FFmpeg.


- 

- The ffmpeg script works in Terminal :




ffmpeg -loop 1 -i image.png -i audio.wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest output.mp4



- 

- A nested for loop with wildcards works as a batch script :




#!/bin/sh
for img in *.png; do
 for wav in *.wav; do
 ffmpeg -loop 1 -i $img -i $wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest ../mb/$img.mp4
 done
done



The only problem here is that it creates more combinations than I need. I'd like to be able to match wildcard values and only mix those together. I'd like to be able to prepare the filenames to match in advance to make this easier : For example, only match 1.png with 1.wav to make 1.mp4, 2.png with 2.wav to make 2.mp4 and so on. I'm able to modify the script to match the wildcards in a Regex, but I'm not sure if there is a way to then execute the logic above. Here is what I am attempting :


#!/bin/sh
img=*.png
wav=*.wav

if [[ ${img%.*} == ${wav%.*} ]];
 then
 ffmpeg -loop 1 -i $img -i $wav -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest $img.mp4;
 else
 echo "Failure"
 fi



This begins by overwriting the image files, so it does not appear to work as planned. Is there a simpler way to do this ? Perhaps looping through images 1..5 in one folder and audio files 1..5 in another ?


Thanks for any insights, and happy to provide more context (very new to this, so still learning).


-
Trying to use the arcade library on Python3 with Debian 10 errors with pyglet_ffmpeg
30 mars 2020, par ColinI’ve been trying to use the arcade library this morning with python3 but keep getting nothing but errors.
My environment is Debian 10 (buster)
I checked first to ensure I have python 3 installed, this confirmed as Python 3.7.3
I double checked (according to the arcade library website arcade linux installation instructions and ran the install for python3 to make sure that pip and the required libraries were installed.
I then ran the command to install the library
sudo pip3 install arcade
And to test it, copied and pasted the happy_face.py example. However when I tried to run it I got a slew of errors. This seems to be directly related to the arcade installation and if I just run a python script (test.py) with just one line
import arcade
At the terminal with
python3 test.py
I get the following errors
Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavcodec.so.58.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavformat.so.58.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libswresample.so.3.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavfilter.so.7.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavutil.so.56.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libswscale.so.5.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavcodec.so.58.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavformat.so.58.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libswresample.so.3.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavfilter.so.7.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libavutil.so.56.*Unable to find match for ffmpeg sound library at expected location :
/usr/local/lib64/python3.7/dist-packages/pyglet_ffmpeg2/linux_x86_64/libswscale.so.5.*I have used the following terminal command to identify the version of OpenGL installed
glxinfo | grep "OpenGL version"
Which returned
OpenGL version string : 3.3 (Compatibility Profile) Mesa 18.3.6
I have also tried the terminal command
sudo pip3 install pyglet-ffmpeg
Which returns
Requirement already satisfied : pyglet-ffmpeg in
/usr/local/lib/python3.7/dist-packages (0.1.4)Requirement already satisfied : pyglet>=1.4.0a1 in
/usr/local/lib/python3.7/dist-packages (from pyglet-ffmpeg) (1.5.0)Requirement already satisfied : future in
/usr/local/lib/python3.7/dist-packages (from
pyglet>=1.4.0a1->pyglet-ffmpeg) (0.18.2)Any assistance would be appreciated. I’ve tried to be as concise as I can, but if more information is required, I’ll gladly supply it.