Recherche avancée

Médias (0)

Mot : - Tags -/tags

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (26)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (3659)

  • 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

    


  • Question with complex ffmpeg compositing, overlays, visualizations etc [closed]

    14 novembre 2023, par Michael Ciesielczyk

    I'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 !

    


  • ffmpeg convert images to mp4 error

    31 mai 2013, par Ryan Saxe

    So 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 parameters

    Note :

    [mjpeg @ 0x7f8cc402a800] mjpeg: unsupported coding type (cf)
    [mjpeg @ 0x7f8cc402a800] only 8 bits/component accepted

    repeated 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)