Recherche avancée

Médias (0)

Mot : - Tags -/publication

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (103)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • ffmpeg : video to aligned audio (audio too short)

    16 octobre 2020, par mcb

    I want to extract an aligned audio stream from a video. The goal is to obtain an audio sequence that is precisely aligned with the video.

    


    Issue : The video and audio sequences are not aligned. The output audio duration is shorter than the video input.

    


    Script to reproduce :

    


    fn=TV-20200617-2242-4900.websm.h264
url=https://download.media.tagesschau.de/video/2020/0617/$fn.mp4
wget -nc $url

ffmpeg -y -i "$fn.mp4" -vsync 1 -async 1 -map 0:a "$fn.wav" -map 0:v "$fn.flv"

ffprobe -i $fn.mp4  # Duration: 00:01:51.68
ffprobe -i $fn.flv  # Duration: 00:01:51.68
ffprobe -i $fn.wav  # Duration: 00:01:49.61


    


    What I have tried (without success) :

    


      

    • Adding -async 1 as suggested in this answer.
    • 


    • Adding -acodec copy and exporting the video at the same time (link).
    • 


    • Opening the mp4 in Audacity. The duration there is 00:01:49.61.
    • 


    • Opening the mp4 in VLC. Duration : 00:01:51.68.
    • 


    • Explicitly setting the framerate.
    • 


    • Other video files.
    • 


    


    ffmpeg version 4.2.4-1ubuntu0.1

    


    I would appreciate any hint on how to make this work. Thank you.

    


  • ffmpeg 4 frames left in the queue on closing covert videos to mp4

    21 février 2018, par usertest

    I’m using ffmpeg to convert videos to mp4.It works fine for the most times.But rarely I got an error like this

    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [libmp3lame @ 0x3f54280] 4 frames left in the queue on closing

    This is the command I’ve run,

    exec("ffmpeg -i ".$directory_path_full." -max_muxing_queue_size 1024 ".$directory_path.$file_name.".mp4");

    when I add -max_muxing_queue_size 1024 first time It works fine but later I got the same error as "4 frames left in the queue on closing".How can I solve this issue ?

    Update1 :

    x264 [error]: malloc of size 5258880 failed

    Error initializing output stream 0:0 — Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    [aac @ 0x5a82b60] Qavg : 65536.000
    [aac @ 0x5a82b60] 2 frames left in the queue on closing

  • How to segment mp4 with ffmpeg or avconv, fast, where times are specified ?

    14 février 2018, par Vts

    I need to segment mp4 in specified pieces. They are all different durations. Example segmentation :

    1 - 0:00:00 to 0:01:11
    segment 2 - 0:01:11 to 0:04:24
    segment 3 - 0:05:51 to 0:06:30
    ...

    I already wrote a script extracting them one by one, but it is pretty slow.
    I guess because it wastes a lot of time opening the file, decoding and seeking from the beginning.