Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (96)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • 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 (...)

Sur d’autres sites (12743)

  • Problem to capture a video in 4K with FFmpeg

    16 mars 2020, par Ale7

    I am a new user of FFmpeg. I am trying to capture a ten minutes video in mp4 format, on 4 4K’s slot and 4 FHD’s slot with cards video Pro Capture by Magewell.
    My machine has the following characteristics :

    • OS : Windows Server 2012
    • RAM : 64 GB
    • CPU : 2 processors Intel Xeon E5-2640 v3 @ 2.60 GHz

    The FFmpeg script, for slot 4K (I change resolution for FHD), used is the following :

    ffmpeg -rtbufsize 2048M -re -y -thread_queue_size 20384 -pix_fmt yuv420p -f dshow -video_size 3840x2160 -r 50 -i video="Video (05-0 Pro Capture HDMI 4K+)"  -codec:v libx264  -preset ultrafast -threads 8 -pix_fmt yuv420p -tune fastdecode -bufsize 2048M output.mp4

    This command is the best solution found at the moment, but the CPU goes up to 100% and the buffer fills up quickly and starts to drop the frames.
    So, my question : Is there a way to improve it or is a limit, principally, of the my machine ?
    If it is a machine limit, you would indicate me the minium requirments to do that.

    Thanks in advance to everyone.

  • problem with moviepy.video.io.ffmpeg_tools.ffmpeg_movie_from_frames

    7 mars 2023, par fjal

    when i try using this code it gives me this error

    


    from moviepy.video.io.ffmpeg_tools import ffmpeg_movie_from_frames as a
a('file.mp4','New folder',24)


    


    Traceback (most recent call last) :
File "C :\Users\lenovo\Desktop\fr.py", line 2, in 
a('file.mp4','New folder',24)
File "C :\Users\lenovo\AppData\Local\Programs\Python\Python37-32\lib\site-packages\moviepy\video\io\ffmpeg_tools.py", line 20, in ffmpeg_movie_from_frames
"-b", "%dk"%bitrate,
TypeError : %d format : a number is required, not str

    


  • ffmpeg play raw h264 stream, dts/pts problem

    29 mars 2019, par LoganMia

    I need to use ffmpeg to play the raw h264 stream, but there is no dts/pts inside, there is a timestamp

    void h264_decode(void *h264_buffer, int buflen, double timestamp) {
       ...
       AVStream * st = ic->streams[pkt->stream_index]; //video stream
       double duration_s = av_q2d(st->time_base);
       double duration = duration_s / av_q2d(st->time_base);
       pkt_ts = pkt->dts = pkt->pts = frame_index * duration; // no B frame
       ...
    }

    But the playback speed is too slow,
    How can I use timestamp to set pts/dts correctly ?
    Thanks .