Recherche avancée

Médias (91)

Autres articles (25)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (5239)

  • Concatination of images and videos in FFMpeg [closed]

    29 octobre 2023, par Juliano David Hilario

    I've been trying to concat pieces of videos with mix of images in FFMpeg and I can not achieve desired results. I'm trying to create a mock interview project for a friend, she answers the questions from a script. The question should be flashed in the screen before the footage of her answering is shown. The videos are encoded in H.265, with frame rate of 30fps, (via mediainfo) and when I try to concat the videos and images using the concat demuxer, it shows this message in rapid succession and only output the first image in the given duration in the output file : (meaning it failed when concating the video, I assume this is due to the fact that demuxed images doesn't have audio streams.)

    


    [png @ 0x55b4a4cb3540] Invalid PNG signature 0x3DB0201D430.
Error while decoding stream #0:0: Invalid data found when processing input


    


    the command I've used :

    


    ffmpeg -hide_banner -y -f concat -safe 0 -i concat.con -r 30 -c:v libx265 -c:a aac -pix_fmt yuv420p out.mp4


    


    the slice of concat.con file :

    


    file slides/1.png
duration 6
file parts/1.mp4
file slides/2.png
duration 8
file parts/2.mp4
file slides/3.png
duration 9
file parts/3.mp4
. . .
duration 12
file parts/9.mp4
file slides/10.png
duration 9
file parts/10.mp4



    


    Since, I need to get this done if possible today, I tried this route of turning the images into videos by this command :

    


    #!/bin/sh

ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -loop 1 -i "${1}.png" -c:v libx265 -r 30 -c:a aac -t "$2" -pix_fmt yuv420p "${1}_slide.mp4"


    


    This does create the desired result of a static video without sound but still has an audio channel (which is a pre-requisite for the concat demuxer), but when I concat it with the same command above with videos, the videos' audio desyncs and advances, now the video delays with the audio, which is not obviously feasable for the project. I suspect it has to do with frames and PTS, as MPV (a media player) logs when the duration of the video enters the video that has been concatinated that the PTS is invalid, and says :

    


    Invalid audio PTS: 6.037188 -> 6.553832

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).


    


    Tried turning the pictures into an image, and was expecting it to atleast sync with the audio

    


  • Audio clicks / cracklings with ffmpeg audio recording on mac os

    15 février 2023, par Specimen

    I'm having audio clicks on my ffmpeg audio recordings. If I record with OBS for example, the audio comes out just fine. This is what I put in the terminal :

    


    ffmpeg -f avfoundation -i ":0" test.mp3


    


    where 0 is my Soundflower audio device, which I found using ffmpeg -f avfoundation -list_devices true -i "", which returns :

    


    AVFoundation audio devices:
[0] Soundflower (2ch)


    


    Soundflower, my speakers, and the ffmpeg recording are all set at 48kHz.
There is another thread that states that this may be an issue with ffmpeg version 4.3, and to try to downgrade to 4.2 ; I tried to google how to downgrade on brew, but didn't find anything.

    


  • lavfi/fifo : fix flushing when using request_samples

    4 août 2013, par Anton Khirnov
    lavfi/fifo : fix flushing when using request_samples
    

    If any samples are still buffered when request_frame returns EOF, they
    won’t be returned currently.

    • [DH] libavfilter/fifo.c