Recherche avancée

Médias (91)

Autres articles (99)

  • 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 (...)

  • 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 (...)

  • 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 (12347)

  • How to correct faulty aspect ratio with FFMPEG when encoded in both stream and container

    14 mai, par Kurt Fitzner

    I have a video that I converted from the original in a way that seems to have poisoned the aspect ratio. The intended aspect ratio is 12:5 (2.4.:1) at 1920x800 with square pixels, but the cuda scale seems to have adjusted the storage aspect ratio.

    


    The video was created with :

    


    ffmpeg -analyzeduration 1000000000 -probesize 100G -loglevel warning -stats -hwaccel cuda \
  -hwaccel_output_format cuda -y -i "UHDSOURCE.mkv" -map 0:v? -c:v hevc_nvenc \
  -preset p7 -2pass true -multipass fullres -rc vbr -rc-lookahead 55 -b:v 1000k -minrate 0 -maxrate 3000k \
  -bufsize 120000k -vf crop=3840:1600:0:280,scale_cuda=1920:800 -metadata title="HDDEST" \
  -map 0:a:2 -c:a:0 aac -b:a:0 160k -map 0:a:4 -c:a:1 aac -b:a:1 96k \
  -map 0:s? -c:s copy -map_metadata 0 "HDDEST.mkv"


    


    The original was 16:9 letterboxed, and the above command seems to have decided the SAR should reflect that. The result is a video with :

    


    Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 1920x800 [SAR 20:27 DAR 16:9], SAR 27:20 DAR 81:25, 23.98 fps, 23.98 tbr, 1k tbn (default)


    


    I can get halfway to fixing this with :

    


    ffmpeg -i HDDEST.mkv -aspect 12:5 -c copy HDDEST_ASPECT.mkv


    


    But the resultant video still shows two different SAR and DARs. Some players use one, some players insist on the 16:9, though :

    


    Stream #0:0[0x1](eng): Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 1920x800 [SAR 20:27 DAR 16:9], 1072 kb/s, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 16k tbn, Start 0.021000 (default)


    


    Q1 : What are the two aspect ratio displays ? I think one of them is the file globally and one of them is the stream, but can get no clear answer

    


    Q2 : How to correct this without re-encoding ? The disc this came from was damaged when my burner was knocked off the table.

    


  • How to use FFmpeg filters setsar and setdar when generating animated gif ?

    1er janvier 2016, par Konstantin

    I would like to make an animated gif from a small section of an mp4 video file. Unfortunately the mp4 video file has bad aspect ratio. Instead of 4:3 (640x480) it is 3:2 (720x480). When I call "ffmpeg -i" on the video I can see :

    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 720x480 [SAR 8:9 DAR 4:3], 1835 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc (default)

    When I play it with VLC media player, it shows corrected aspect ratio, becasue I think it honours the DAR value (4:3), which is set in the mp4 video. However when I try to transcode to animated gif, that animated image file format doesn’t store such an information as DAR, because the pixels are always square shaped. So when I call my simple conversion script called movie2gif :

    #!/bin/sh

    video=$1
    max_colors=$2
    ss=$3
    t=$4
    out=$5
    palette="/tmp/palette.png"
    fps=18
    filt="fps=fps=$fps,setdar=4:3,scale=150:-1,lutyuv=y=gammaval(0.4),"


    ffmpeg -ss $ss -t $t -i "$video" -sws_flags lanczos -lavfi "$filt palettegen=max_colors=$max_colors:stats_mode=full" -vsync 0 -y "$palette"
    ffmpeg -ss $ss -i "$video" -i "$palette" -sws_flags lanczos -lavfi "$filt paletteuse=dither=bayer:bayer_scale=1" -vsync 0 -t $t -pix_fmt pal8 -gifflags +transdiff -y -f gif "$5"

    I always get a 150x100 pixel animated gif. I tried different values / expressions for setting both or one of the values of "setsar" and "setdar", in different order, placing them before the "scale" and after the "scale" filter, they have no effect on the resulting animated gif dimensions, it is always 150x100 pixels. How can I use these two filter properly to get a correct result, a 150x112 animated gif image ?

  • More typo/layout fixes to the floor 1 spec (packet decode and curve computation ->

    3 février 2012, par Monty
    More typo/layout fixes to the floor 1 spec (packet decode and curve computation ->
    subsubsections, fix my escpaed square brackets)
    

    Commit new html/pdf

    git-svn-id : http://svn.xiph.org/trunk/vorbis@18182 0101bb08-14d6-0310-b084-bc0e0c8e3800

    • [DH] doc/07-floor1.tex
    • [DH] doc/Vorbis_I_spec.html
    • [DH] doc/Vorbis_I_spec.pdf