
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (65)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (10444)
-
FFMPEG to send RTSP encoded stream C++
11 décembre 2016, par GodsppedI am trying to figure out a way to take an encoded H264 image that I have created in FFMEG and send it out via RTSP using FFMPEG, is there some sample code or a tutorial out there that shows how to do this. I tried searching the web, but there is nothing that I could find out there.
Any help is greatly appreciated. Thanks in advance.
-
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 !