Recherche avancée

Médias (91)

Autres articles (58)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9986)

  • FFmpeg keep framerate of input video despite overlay on color source

    12 mai 2022, par Peter
      

    • FFmpeg can overlay (docs) videos like this :
    • 


    


    ffmpeg -i inputA_60fps.mp4 -i inputB_60fps.mp4 -filter_complex "[0:v] [1:v] overlay=shortest=1" output1.mp4

    


    -> The frame rate of output1.mp4 is automatically the same as that of the inputs (60). I like this.

    


      

    • FFmpeg can also overlay on a color (docs) source like this :
    • 


    


    ffmpeg -i input_60fps.mp4 -filter_complex "color=c=black [c]; [c] [0:v] overlay=shortest=1" output2.mp4

    


    -> The frame rate of output2.mp4 is always 25, because the default frame rate of the color source is 25, even though the input has a frame rate of 60. I don't like this.

    


      

    • The color frame rate can be specified explicitly like this :
    • 


    


    ffmpeg -i input_60fps.mp4 -filter_complex "color=c=black:r=30 [c]; [c] [0:v] overlay=shortest=1" output3.mp4

    


    -> But then the frame rate of output3.mp4 is always that fixed value 30. I don't like this.

    


    Question : How can the output frame rate instead automatically use the same frame rate as the input again ?

    


  • Anomalie #3167 : redirection 301 d’anciennes URLs en .php3 ne fonctionne pas

    22 février 2014, par cedric -

    Aucun bug du côté de SPIP, mais une mauvaise compréhension des Rewrite Rules ici :
    - Les Règles de ré-écritures sont lues les une après les autre et s’enchainent pour modifier l’URL : donc ici la première, celle de SPIP, transforme rubrique.php3 en rubrique.php ce qui ne matche plus ta règle qui arrive après
    - La règle de ré-écriture porte sur l’URL, pas sur la query-string. Donc la partie ?id_(rubrique|article)=$ ne matchera jamais car cela fait partie de la query-string
    - dans ta règle complète le R=301 par un skip si tu veux éviter que les règles qui suivent ne s’appliquent aussi [R=301,skip=100] par exemple

    Une ressource utile pour s’y retrouver dans les RewriteRules : http://borkweb.com/story/apache-rewrite-cheatsheet
    Et aussi la base : https://httpd.apache.org/docs/current/mod/mod_rewrite.html

  • FFMPEG Dash with tiles of thumbnail images

    31 juillet 2020, par martyn Gilbert

    As of DASH-IF IOP version 4.2, section 6.2.6 defines the notion of image-based tracks in DASH :
https://dashif.org/docs/DASH-IF-IOP-v4.3.pdf.

    



    This is the ability to have an adaption set made up of mime type images that themselves are a strip of low resolution thumbnails. 
A player will use these thumbnails when the user hovers their mouse over the video timeline and get a 
preview of the the frame at that approximate timecode.

    



    Theo player website has a page dedicated to this function for playback :
https://www.theoplayer.com/blog/in-stream-thumbnail-support-dvr-dash-streams

    



    I need to generate a dash stream (not live) using ffmpeg that also contains these thumbnails. 
I already have an ffmpeg command that will generate the film strip of jpgs which outputs a thumbnail every 5 seconds of input video and joins 5 of these together in a single jpg :

    



    ffmpeg -i INPUT -q:v 20 -vf "select=not(mod(n\,125)),scale=480:270,tile=5x1" -vsync vfr output%d.jpg

    



    and the mpeg dash itself :

    



    ffmpeg -i INPUT -y -map 0 -acodec aac -ac 2 -ar 48000 -s 960x540 -vcodec libx264 -f dash -preset veryfast -b:v:2 1500k -seg_duration 2 output.mpd

    



    But I cannot find a way in ffmpeg to include the thumbnails in the dash mpd file.