
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (56)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 (...)
Sur d’autres sites (6187)
-
ffmpeg convert images to mp4 error
31 mai 2013, par Ryan SaxeSo I have a script that grabs a bunch of images from the web and then converts them into a movie. Yet I get a whole bunch of errors when I run it.
First let me show what I am running and then I will post the error because it's huge :
#for gif
#call('convert -set delay 5 -loop 0 ' + folder + '*.jpg ' + name + '.gif', shell=True)
#for mov
#call('convert -quality 100 ' + folder + '*.jpg ' + name + '.mov', shell=True)
#for organized movie
call('ffmpeg -r 10 -b 1800 -i ' + folder + '%0' + str(size) + 'd.jpg ' + name + '.mp4', shell=True)So the commented out versions work fine, but I need to use the 3rd version ! Here is the response I get from ffmpeg :
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
built on Mar 31 2013 21:55:33 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Please use -b:a or -b:v, -b is ambiguous
[mjpeg @ 0x7f8cc402a800] [IMGUTILS @ 0x7fff5a680ae0] Picture size 10835x53928 is invalid
Last message repeated 26 times
[mjpeg @ 0x7f8cc402a800] Found EOI before any SOF, ignoring
[mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (cf)
[mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (c8)
[mjpeg @ 0x7f8cc402a800] [IMGUTILS @ 0x7fff5a680ae0] Picture size 54310x53928 is invalid
[mjpeg @ 0x7f8cc402a800] only 8 bits/component accepted
Last message repeated 8 times
[mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (c5)
[mjpeg @ 0x7f8cc402a800] [IMGUTILS @ 0x7fff5a680ae0] Picture size 10835x53928 is invalid
Last message repeated 12 times
[mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (cf)
[mjpeg @ 0x7f8cc402a800] only 8 bits/component accepted
[mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (cf)
[mjpeg @ 0x7f8cc402a800] only 8 bits/component accepted
[mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (cf)
[mjpeg @ 0x7f8cc402a800] only 8 bits/component accepted
[image2 @ 0x7f8cc4029c00] decoding for stream 0 failed
[image2 @ 0x7f8cc4029c00] Could not find codec parameters for stream 0 (Video: mjpeg): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
/Users/ryansaxe/Desktop/kaggle_parkinsons/MOVIES/%03d.jpg: could not find codec parametersNote :
[mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (cf)
[mjpeg @ 0x7f8cc402a800] only 8 bits/component acceptedrepeated about 30 times, but i cut it out of the traceback because it was overwhelming.
Question : What did I do wrong and how do I fix it ?
Edit :
I download the jpeg files using the urllib python library's urlretrieve. This is how I save them :
for src,name in zip(urls,range(len(urls))):
file_name = folder + str(name) + '.jpg'
urlretrieve(src, file_name) -
Question with complex ffmpeg compositing, overlays, visualizations etc [closed]
14 novembre 2023, par Michael CiesielczykI'm trying to make a video that will consist of an underlying video that will need to repeat until the end of the video. The video's length as well as to video elements will come from a wav audio file. There will also be one static image overlay and 3 to 5 more images that will be overlayed at set intervals.


I was able to get a little ways with a few of the elements but when I have tried to put them all together in one go I can't figure it out. And I'm trying to get it in one got to get the best possible image quality I can so I don't end up re encoding the video multiple times. I'm also using this as a template for multiple videos so when I get it figured out I can just change the images to generate the new videos.


so I have these elements :


background video: bg.mp4
audio file: test.wav
static image: logo.png
rotating images: 1.png, 2.png, 3.png



so I have :


ffmpeg -i test.wav -filter_complex " 
[0:a]avectorscope=s=1320x1240:zoom=1.5,pad=3840:2160[vs]; 
[0:a]showwaves=s=1280x202:colors=White:mode=line[sw];[vs][sw]overlay=x=(main_w- 
overlay_w)/2:y=(main_h-400)[bg]" -map "[bg]" -map 0:a -y -acodec aac video.mp4



This gets me my 4k video file and my two visualizations and my audio in my video file placed about where I want them.


I can get the rotating images to appear at the right times overlayed on the bg.mp4 file with this.


ffmpeg -i bg.mp4 -i 1.png -i 2.png -i 3.png -filter_complex "[0] 
[1]overlay=x=0:y=0:enable='between(t,0,4)'[out];[out] 
[2]overlay=x=0:y=0:enable='between(t,4,8)'[out];[out] 
[3]overlay=x=0:y=0:enable='between(t,8,12)'[out]" -map "[out]" video.mp4



But I can't figure out how to do it all together. I have ended up with bg.mp4 file playing inside the avectorscope visual. like the rest of that box was cropping it. And I know I can loop an overlay video with -stream_loop -1 and shortest=1 but I'm not sure what to do in order to have the bg video loop until the end of the audio.


I think some of my trouble is I am terrible dyslexic and a missing comma or missing close quote and it's a no go.


Anyone able to help me put this together ?


Oh and one last thing. I'm also wanting to put some simple text overlayed. like with


overlay=0:0,drawtext=fontfile=/usr/share/fonts/TTF/Vera.ttf:fontcolor=
white:x=200:y=200:text='"text'[out]"`



thank you to anyone who can help me !


-
Extract Creation date and time of multiple files at once [duplicate]
28 juillet 2021, par sJoss$ ffprobe -v quiet -select_streams v:0 -show_entries stream_tags=creation_time -of default=noprint_wrappers=1:nokey=1 input.mp4


This is good for one file at a time, can someone suggest while multiple files like 50 files at a time ? or how to run this in a loop ? When there are 50 files, it doesn't make sense to run this command 50 times inputting file name every single time. Thanks