Recherche avancée

Médias (91)

Autres articles (111)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (10259)

  • Audio out of sync after merging video chunks extracted with ffmpeg using -c copy and -reset_timestamps 1 [closed]

    8 décembre 2024, par Tree

    I’m splitting a long video (around 2 hours) into smaller chunks using ffmpeg commands like :

    


    ffmpeg -i input.mp4 -ss START_SECOND -t LENGTH -c copy -reset_timestamps 1 -y chunk_X.mp4


    


    Then, I’m concatenating the resulting chunks using a concat list file :

    


    ffmpeg -f concat -safe 0 -i list.txt -c copy -y merged_output.mp4


    


    So the chunks always come from the same file, and have the same codec/size/bitrate.

    


    My goal is to avoid re-encoding the entire video to keep the process fast. However, I’m noticing that after the final merge, the audio in some parts of the merged video is out of sync with the video. The first chunk seems fine, but from the second chunk onward, the audio often drifts out of sync.

    


    What could be causing the audio desynchronization, and how can I correctly extract and merge the chunks without losing A/V sync, while still avoiding a full re-encode ?

    


    I tried to first pass in -ss before -i to cut on keyframes, but I get the same result.

    


  • How can I get ffmpeg to start downloading a stream at a specific time ?

    9 mai 2019, par FiskFan1999

    If I know that a livestream is starting in a few hours, and I know the url of the livestream. If the stream is currently happening I have no problem using ffmpeg to save the stream to file. However, I am currently looking all over the web to find if there is a way for me to schedule a command to execute in the future. I have tried using "at", but that still seems to run the command in the present. I am wondering if "at" is the answer to my problem or if it is something else ? Thank you.

    I have tried using the at command and looking for other applications on MacOS to schedule commands.

    Here is an example of the ffmpeg command that works perfectly for my intentions when I type it into the command line at present. What I am hoping is that I can get ffmpeg to start reading from the stream at a specific date and time and start writing to file from there.

    ffmpeg -loglevel panic -nostdin -i [WEB_URL] -c:a aac -b:a 320k -crf 33 out.mp4

    Here is my unsuccessful attempt to use at :

    at 22:53; ffmpeg -loglevel panic -nostdin -i [WEB_URL] -c:a aac -b:a 320k -crf 33 out.mp4 &

    What I expected was for ffmpeg to work as if I had entered in the command at the instant I scheduled the job for. However, ffmpeg started working immediately.

  • Where can I get 16-bit video sequences ? [on hold]

    9 mai 2017, par govind

    I understand that I can create 16-bit videos from 8-bit ones, but I want to work on actual 16-bit data (for a class project) and not just the bit-shifted pixel values. I just want to extract and work on the 16-bit Luma component from the video.

    https://media.xiph.org/ has 16-bit raw contents but the file size is 500GB. I would like to limit my downloads to 1-2 GB.
    The footnote at https://media.xiph.org/video/derf/ says "These were converted from 16-bit linear RGB to Y’CbCr", can I get the source from which these conversion took place.

    I could create my own content with some custom pattern but that’s not an option since I want to work on natural-looking imagery.

    I do understand that regular monitors can only display 8-bit. I also understand that it’s not a typical StackOverflow question, but I have already spent 2 hours online searching for it. Any links will be appreciated. Thanks in advance.