Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (52)

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

  • ffmpeg-python extract a specific video stream, change its FPS and embed it back in the video

    19 mars 2021, par user972014

    I have a video containing several streams. A few data and one video.

    


    I need to extract the video stream, change the frame rate, embed it back in the video (or combine all stream back to an output file)

    


    If needed, this is the list of existing streams :

    


    I only need stream 0 and 5 (both video streams) Converted to 2 FPS. And stream 3 which is gpmd, which some irrelevant data format that I need to keep.

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\temp\video.360':
  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    creation_time   : 2020-09-08 16:35:49
  Duration: 00:00:28.13, start: 0.000000, bitrate: 66559 kb/s
    Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 4096x1344 [SAR 1:1 DAR 64:21], 30036 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro H.265
      encoder         : GoPro H.265 encoder
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro AAC
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro TCD
    Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 96 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro MET
    Stream #0:4(eng): Data: none (fdsc / 0x63736466), 20 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro SOS
    Stream #0:5(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 4096x1344 [SAR 1:1 DAR 64:21], 30019 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro H.265
      encoder         : GoPro H.265 encoder
    Side data:
      displaymatrix: rotation of nan degrees
    Stream #0:6(eng): Audio: pcm_s32be (in32 / 0x32336E69), 48000 Hz, 4 channels, s32, 6144 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro AMB


    


  • How to overlay video on video with FFMPEG

    28 septembre 2021, par Yogas

    ihave 2 input video.mp4 (with audio) and notif.mov (with audio). I want to overlay notif.mov on video.mp4. I tried this code :

    


    ffmpeg -y -i video.mp4 -i "notif.mov" -filter_complex "[0:v][1:v]overlay=0:0" output.mp4

    


    both videos playing simultaneously, but sound missing from second input (notif.mov)

    


    Any tips ? Thank you !

    


  • Can you stream multiple video clips to youtube or twitch with a separate audio track with a different length than the video clips with FFMPEG ?

    8 juin 2020, par Fight Fire With Fire

    What I'd like to do is stream a set of video clips to youtube or twitch using FFMPEG. Right now i loop thru the videos file names in a list called DIRECTORY. video[0] is the file name and send to stream_url with the audio for the video attached.

    



    What i would love to figure out, is there a way I could mux in a single audio track streaming to youtube/twitch but switch the video clips out live. Here is the code I am working with right now :

    



    
     for video in directory:
            command = [
            "ffmpeg" , "-re" , "-i" , video[0] ,
            "-vcodec" , "libx264", "-pix_fmt", "yuv420p",
            "-preset" , "medium" , "-r" , "30" , "-g" , "48" , "-b:v" , "2500k" ,
            "-acodec" , "libmp3lame" , "-ar" , "44100", "-threads" , "6" ,
            "-q:a" , "3" , "-b:a" , "712000" ,"-bufsize", "512k" , "-f" ,
            "flv" , STREAM_URL,
        ]
             subprocess.run(command)