Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (76)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • 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" ;

Sur d’autres sites (9185)

  • Audio and video not lining up after ffmep extraction [closed]

    13 juin 2024, par sundrycode

    I am doing a python script that cuts silence over particular words (whatever the user defines). I'm using Pydub and moviepy (both ffmeg).

    


    The problem is the audio and video don't line up. They are both the same length (a few milliseconds difference sometimes) and the farther into the video you go the more off they become.

    


    Thinking it could be a problem with either the cutting the silence into the audio or the way the video gets put back together, I tried just extracting the audio from the video (without editing the audio) and taking it into a video editing program. I found that even without editing the audio or video files they didn't match. All I did was run a simple audio extraction (tried using both moviepy, and using ffmeg directly) but the video and audio aren't right.

    


    import subprocess
import os
import sys

def convert_video_to_audio_ffmpeg(video_file, output_ext="mp3"):
    """Converts video to audio directly using `ffmpeg` command
    with the help of subprocess module"""
    filename, ext = os.path.splitext(video_file)
    subprocess.call(["ffmpeg", "-y", "-i", video_file, f"{filename}.{output_ext}"], 
                    stdout=subprocess.DEVNULL,
                    stderr=subprocess.STDOUT)

if __name__ == "__main__":
    vf = sys.argv[1]
    convert_video_to_audio_ffmpeg(vf)


    


    OR

    


    
    # Load the video clip
    video_clip = VideoFileClip(mp4_file)

    # Extract the audio from the video clip
    audio_clip = video_clip.audio

    # Write the audio to a separate file
    audio_clip.write_audiofile(mp3_file)

    # Close the video and audio clips
    audio_clip.close()
    video_clip.close()


    


    I'm very new to ffmeg, audio and video editing and I don't understand what I'm doing wrong, any help would be greatly appreciated.

    


  • How to have the camera 'desynchronized' with Illumination changes ?

    30 juillet 2020, par vasudha

    For my current project, I have to record a video stream from a USB camera connected to Raspberry-Pi. While recording the videos if there are any illumination changes the camera should not synchronize it's preview/recording to the light change. Instead it should only record what it sees without any changes from camera input(for ex : exposure, contrast or brightness).

    


      

    1. I tried making changes in FFMPEG config and reinstalled it but it doesn't seem to work.

      


    2. 


    3. I turned off auto_exposure with opencv but that wasn't useful either.

      


    4. 


    


    I am using OpenCV for recording the videos later from which face recognition and skin-type classification will be done. So it is important that the Face color is not altered by the camera automatically with external illumination change. Can someone please help me with this ? Thanks.

    


  • Merge commit ’8c1ce7787ad7af8fc321b4a145e9dc965f6d0e86’

    4 février 2015, par Michael Niedermayer
    Merge commit ’8c1ce7787ad7af8fc321b4a145e9dc965f6d0e86’
    

    * commit ’8c1ce7787ad7af8fc321b4a145e9dc965f6d0e86’ :
    aacsbr : silence message for SBR extension "padding".

    See : 1ac606bae60e46522189b678b58a7fb8376046ac
    Merged-by : Michael Niedermayer <michaelni@gmx.at>