Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (80)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (9060)

  • FFmpeg + Cut videos

    16 décembre 2022, par Shiva Golzari

    I want to trim the first 5 minitues of videos. I wrote a code for it. It runs without any error but there are not any outputs.

    


    import ffmpeg
import os
path = r"D:\Projects\Gdot\pilot\Video"
for filename in os.listdir(path):
    if filename.endswith(".mp4"): 
        command = "ffmpeg -fflags +discardcorrupt -i " + os.path.join(path, filename) + " -c copy -map 0 -segment_time 00:05:00 -f segment -reset_timestamps 1 " + os.path.join(path, "output%03d.mp4")
        os.system(command)
    
    else:
    
        continue



I want to trim some vedoes by FFmpeg


    


  • Generate Black frames between concatenated videos ffmpeg

    9 février 2019, par Alex K

    I’m trying to concatenate 2 videos together using ffmpeg concat, but I want to have there be 2 seconds of black between the 2 videos.

    The problem is that whenever I’ve tried to generate a black video and concatenated it in, the properties never match my input video exactly, and so the concatenation is all broken - the audio is broken or the frames change at the wrong speed or generally concatenation fails.

    Here’s the output of ffmpeg -i my_input_video1.mp4 (and is identical for my_input_video2.mp4) :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input_vid1.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.3.100
     Duration: 00:00:03.07, start: 0.000000, bitrate: 191 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 480x270, 116 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 63 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    How can I generate a 2 second black video with these properties so that it can be concatenated with my input videos ?

  • How do i convert videos uploaded by user to .swf ?

    3 avril 2020, par Anish Silwal

    I am creating a website which enables to upload videos. But we know that user can upload any kind of video but the browser can't play them. So, I thought that I somehow can convert them into .swf and play them using a flash player. I tried to use ffmpeg-php but it didn't worked. my code was :

    



    shell_exec('ffmpeg -i in.mp4 out.swf');


    



    It does not show any error neither it returns out.swf.

    



    Please ! help me.