Recherche avancée

Médias (0)

Mot : - Tags -/navigation

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

Autres articles (77)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (8367)

  • Error opening filters : Running ffmpeg through Groovy and ProcessBuilder

    30 octobre 2016, par smeeb

    This question involves the popular Linux media processing utility "ffmpeg", but I think its really a Java 8 ProcessBuilder question at its core. Or possibly an issue w/ Groovy GStrings.

    The ffmpeg command to split an MP4 video into frames/images based on a sampling rate is :

    ffmpeg -i /some/path/to/video.mp4 -vf "select=not(mod(n\,${samplingRate}))" -vsync vfr -q:v 2 img_%d.jpg

    Where ${samplingRate} is a positive integer and represents the number of frames to skip in between creating each frame. So for instance, if you had a video with 430 frames in it, and wanted to sample every 50th frame, your command would be :

    ffmpeg -i /some/path/to/video.mp4 -vf "select=not(mod(n\,50))" -vsync vfr -q:v 2 img_%d.jpg

    Which would then create 8 (or maybe 9, not gonna do the math for a pretend example) JPG files called img_1.jpg, img_2.jpg, ...etc. The first image would be the 50th frame in the video. The second image would be the 100th frame, etc. I have ran the above command directly from a terminal and confirmed that it is correct and succeeds without errors.

    I have a Groovy app, and am trying to run this ffmpeg command via a Java 8 ProcessBuilder, and am having issues with the select= argument. Currently I have :

    int numSamples = 50
    Process frameSamplerProc = new ProcessBuilder(
       'ffmpeg',
       '-i',
       "/home/myuser/some/path/to/video.mp4",
       '-vf',
       "\"select=not(mod(n\\,${numSamples}))\"",
       '-vsync',
       'vfr',
       '-q:v',
       '2',
       'sample%d.jpg'
    ).redirectErrorStream(true).start()

    frameSamplerProc.inputStream.eachLine { fsamplerLine ->
       println(fsamplerLine)
    }

    When I run thise code, I don’t get any errors, but I do see errors in ffmpeg’s output :

    ffmpeg version N-81995-gd790e48 Copyright (c) 2000-2016 the FFmpeg developers
    // Omitting the next ~50 lines of output as it all looks normal

    Metadata:
     creation_time   : 2016-10-27T20:20:01.000000Z
     handler_name    : SoundHandle
    [AVFilterGraph @ 0x3eddc80] No such filter: '"select'
    Error opening filters!

    I’m wondering if I’m not escaping the select argument properly or if I’m passing in a bad array to the ProcessBuilder. Can anybody spot where I’m going awry ?

  • ea : Change type of array stride parameters to ptrdiff_t

    7 septembre 2016, par Diego Biurrun
    ea : Change type of array stride parameters to ptrdiff_t
    

    ptrdiff_t is the correct type for array strides and similar.

    • [DBH] libavcodec/eacmv.c
    • [DBH] libavcodec/eaidct.c
    • [DBH] libavcodec/eaidct.h
    • [DBH] libavcodec/eamad.c
    • [DBH] libavcodec/eatgq.c
    • [DBH] libavcodec/eatgv.c
    • [DBH] libavcodec/eatqi.c
  • avformat/smacker : add better seeking support

    6 avril 2022, par Paul B Mahol
    avformat/smacker : add better seeking support
    
    • [DH] libavformat/smacker.c