Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (82)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (8528)

  • ffmpeg : copy color properties in case of -c:v copy.

    3 mai 2016, par Ronald S. Bultje
    ffmpeg : copy color properties in case of -c:v copy.
    

    I have no idea why the first hunk uses ost->enc_ctx, because as far as
    I understand, that is never used in case of -c:v copy, but this code
    block is only entered if encoding_needed=0, which means stream_copy=1.
    My point being : review from someone that knows this really well would
    be appreciated.

    • [DH] ffmpeg.c
  • FFMPEG : audio unsynchronized, losing framerate and strange behavior when pavucontrol is open

    10 mars 2021, par Rik Ferreira

    I'm trying to record my desktop screen with internal audio and mic, but I'm noticing some issues with the output, according to this empirical scale :

    


      

    • If I record only the desktop, the output is GOOD.
    • 


    • If I record the desktop + mic, the output is GOOD.
    • 


    • If I record the desktop + internal audio only, the output is BAD.
    • 


    • If I record the desktop + mic + internal audio, the output is BAD.
    • 


    • If I record the desktop + mic + internal audio + open pavucontrol, the output is GOOD.
    • 


    


    Good means the two audio sources and the video are acceptably synchronized and bad means not synchronized at all.

    


    I recorded some samples to show what is going on :

    


    


    I'm snapping my fingers near the microphone when the Beep! message appears along with the sound.

    


    I'm using a simple script to play a sound and show a message in the terminal instead of using pavucontrol because it masks the problem.

    


    FFMPEG call

    


    Although the entire script is visible in the videos, here is the ffmpeg call in plain text :

    


    Dual audio

    


    ffmpeg -y \
    -f x11grab -s 1920x1080 -i :0.0 \
    -f pulse -i 0 \
    -f pulse -i 1 \
    -filter_complex amix=inputs=2 \
    output.mp4


    


    Only microphone

    


    ffmpeg -y \
    -f x11grab -s 1920x1080 -i :0.0 \
    -f pulse -i 1 \
    output.mp4


    


    Other info

    


    SO : Arch Linux

    


    When pavucontrol isn't open, pacmd list-source-outputs returns : 0 source output(s) available., but when pavucontrol is open :

    


    pacmd list-source-outputs | grep source

2 source output(s) available.
        source: 0 
                module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
        source: 1 
                module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"


    


    What am I missing ? Why the ffmpeg works fine when pavucontrol is open ?

    


  • Merge video and audio with ffmpeg. Loop the video while audio is not over

    9 septembre 2021, par fstephany

    I'm trying to merge an audio file with a video file.

    


    I have two options :

    


      

    • Have a very small video file (e.g., 10 seconds) that loop while the audio file is not over.

      


    • 


    • Have a very long video file (longer than any of my audio file) on which I can attach the audio file. I would like to cut the video when the audio is finished.

      


    • 


    


    I'm using the latter with the -t <duration in="in" second="second"></duration> option of ffmpeg. It means I have to get the duration of the audio file to feed it into ffmpeg. Is it possible to avoid this step ?

    &#xA;

    Any pointer for the first solution ?

    &#xA;