Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (60)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7182)

  • How To Extract First Non-Corrupted Video Frame Using FFMPEG

    30 avril 2021, par macuseronline

    I am trying to extract the first frames from a series of videos as single JPEG files, and for the most part this command works well :

    


    ffmpeg -hide_banner -loglevel warning -ss 1 -i $file -vframes 1 -f image2 "$name.jpg"


    


    The problem I am running into is, some of the videos' first frames are corrupted and FFMPEG is not only reporting the error in Terminal, but is also saving that bad frame as the single JPEG.

    


    Since the entire video is otherwise fine, or at least certainly contains some frames that are good, I am looking to have FFMPEG keep trying further frames until it finds one that is not corrupted and save that one as the single JPEG. I thought about writing code that would re-try the command after adding an x value (say 100) to the -ss switch until it processes the file without an error, but was hoping maybe FFMPEG has a native method by which to do this that would avoid the extra code.

    


    Any help with this would be appreciated !

    


  • FFMPEG joining multiple videos in grid

    31 mars 2020, par Adam Gosztolai

    I am trying to join a series of videos in a grid. Here is a command I used for 3 videos.

    ffmpeg -y -i /mnt/labserver/vid1.mp4 -i /mnt/labserver/vid2.mp4 -i /mnt/labserver/vid3.mp4 -filter_complex "color=s=360x360:c=Black [nbase];[0:v]setpts=PTS-STARTPTS,scale=180x180[b0];[1:v]setpts=PTS-STARTPTS,scale=180x180[b1];[nbase][b0]overlay=shortest=1:x=0:y=180[temp0];[temp0][b1]overlay=repeatlast=1:x=0:y=360[temp1];[temp1][b2]overlay=repeatlast=1:x=0:y=540[temp2]" -c:v libx264 -pix_fmt yuv420p /mnt/labserver/videos_joined.mp4

    I get the following error

    Invalid stream specifier: b2

    As far as I recall this has previously worked for me. Could someone tell me what could be wrong here and whether perhaps the error depends on the FFmpeg version ?

    Thank you !!

  • Creating Real-Time Video Stream from Image Frames using FFmpeg and Streaming to RTMP URL

    12 mars 2024, par Dhairya Verma

    I've been working on a project where I need to continuously convert a series of image frames into a video and stream it to an RTMP URL in real time. I initially tried using FFmpeg with the following command :

    


    ffmpeg -f avfoundation -i ":1" -framerate 30 -i "./image%05d.png" -c:v libx264 -preset medium -tune stillimage -crf 25 -c:a aac -b:a 128k -ar 44100 -vf "format=yuv420p,scale=1280:720" -maxrate 3000k -bufsize 6000k -f flv "rtmps://your_rtmp_url_here"



    


    However, I encountered issues when new images were added to the folder in real-time. The solution wasn't as straightforward as I initially thought.

    


    Does anyone have experience with real-time video streaming from dynamically changing image frames using FFmpeg ? Any help or suggestions would be greatly appreciated !

    


    Thanks !