Recherche avancée

Médias (91)

Autres articles (48)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (7067)

  • FFMPEG : How to extract a PNG sequence from a video, remove duplicate frames in the process and keep the original frame number ?

    16 mai 2020, par Simon

    I have a recording of an old game which has variable framerate. Since I want to process individual frames to upscale and modernize the footage I would like to avoid any duplicate frames. I know that I can use this function to extract all frames from a video :

    



    ffmpeg -i input.mov -r 60/1 out%04d.png


    



    And I know that I can remove duplicate frames using this function :

    



    ffmpeg -i input.mov -vf mpdecimate,setpts=N/FRAME_RATE/TB output.mov


    



    However, the above command removes duplicate frames and puts frames next to each other whereas in order to keep a timecode of sorts it would be a lot more useful to be able to extract PNGs with frame number (video is progressive 60fps) but without all of the duplicates.

    



    So, the question is : what if I want to extract PNG files BUT maintain the original corresponding framenumber within the sequence ? So, if we have a video with 10 frames and frames 2-8 are duplicates it spits out 1.png 2.png 9.png and 10.png ? How do I combine both bits of code listed above ?

    


  • libavutil : Use an intermediate variable in AV_COPY*U

    28 juillet 2016, par Martin Storsjö
    libavutil : Use an intermediate variable in AV_COPY*U
    

    If AV_RN and AV_WN are macros with multiple individual reads and
    writes, the previous version of the AV_COPYU macro would fail if
    the reads and writes overlap.

    This should not be any less efficient in any case, given a
    sensibly optimizing compiler.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavutil/intreadwrite.h
  • FFmpeg GIF dump & video slideshow errors

    27 avril 2017, par Techie Android

    I’m running Windows 10 and have the latest static 64bit nightly FFmpeg version. Here are my scripts, I’ve been trying to get them fixed but I can’t seem to get either to work.

    I have a GIF file named gif.gif that I need the frames dumped out of and named in this order : img000.png img001.png img002.png and so forth.

    ffmpeg -i "gif.gif" "%img%%03d.png"

    It’s error message is :

    [NULL @ 052857c0] Unable to find a suitable output format for ’C :\Users\username’
    C :\Users\username : Invalid argument

    This is where I need the individual frames to be encoded into a video file and get it to duplicate the frames necessary to make it a slideshow. It should copy each frame 150 times so that they will last for 5s each at 30fps.
    The filename is video maker.bat

    ffmpeg -i %img%%03d.png -framerate 1/5 -c:v libx264 -r 30 -pix_fmt yuv420p "output.mp4"

    It’s error message is :

    imgC :\myfilesdirectoryhere\video maker.bat3d.png : Protocol not found