Recherche avancée

Médias (91)

Autres articles (29)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

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

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4292)

  • FFMPEG Seeking with concat demuxer causes video & audio to be out of sync

    20 février 2023, par Garuuk

    I have a very simple use case that's driving me bananas.

    


    My problem and question :

    


    I'm using ffmpeg version 5.1.2 on a MacOS and i'm using ffmpeg seeking and concat demuxer to cut many 1 minute videos into 15 seconds chopped up over 12 clips where every clip is just 2 seconds from the same video (kind of like a mini teasers for the video). I would really like to not have to re-encode to make the video processing as fast as possible.

    


    First, I take each 1 minute video and cut it up into 12 clips (I do all this programmatically in python fwiw)

    


    ffmpeg -ss 0 -i input.mp4 -t 2 -c copy -y cut_1.mp4
ffmpeg -ss 4 -i input.mp4 -t 2 -c copy -y cut_2.mp4
ffmpeg -ss 8 -i input.mp4 -t 2 -c copy -y cut_3.mp4
...
...


    


    I then write all the output file names to my concat_manifest.txt

    


    file cut_1.mp4
file cut_2.mp4
...
...


    


    Then I run my concat command :

    


    ffmpeg -f concat -i concat_manifest.txt -c copy -y concat_video.mp4


    


    This works really fast but the audio and video at the stitch point get out of sync and sometimes the video just chokes & lags. It's mostly not a smooth experience.

    


    What I have tried :

    


      

    1. using the concat protocol with intermediate profiles : ffmpeg.org/wiki/Concatenate#demuxer
    2. 


    3. Putting the -ss when I seek after the -i. This makes everything worse
    4. 


    5. Playing around with different -ss values. This has some noticeable affects but it's not obvious why yet.
    6. 


    7. I've also read from the ffmpeg resource regarding seeking and copying :
    8. 


    


    Which leads me to believe that maybe because ffmpeg is using timestamps instead of frames, seeking isn't accurate using -ss when using the concat demuxer

    


    Is there a way to get concat demuxer cutting and concatenating the video where the audio is somewhat in sync with the video ?

    


    Thanks

    


    EDIT : I found an answer and i'll be posting the solution in the coming few days.

    


  • Revision 51752 : Noisette d’affichage du bouton "j’aime" de FaceBook

    23 septembre 2011, par yffic@… — Log

    Noisette d’affichage du bouton "j’aime" de FaceBook ?

  • Revision 100192 : $val[’htpass’] est défini plus haut, qui plus est là on le rendait vide

    26 octobre 2016, par kent1@… — Log

    $valhtpass ? est défini plus haut, qui plus est là on le rendait vide