Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (90)

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

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (16210)

  • avcodec/mpeg12dec : Remove redundant save_width/height

    16 mai, par Andreas Rheinhardt
    avcodec/mpeg12dec : Remove redundant save_width/height
    

    These have been added in 29644cb504eee88bd40f95abaa392047946c6066
    in 2007 at a time when the MPEG-1/2 parser just set
    the AVCodecContext's dimensions when encountering a sequence header,
    so that the checks for the coded dimensions didn't trigger.
    Yet this is no more and so we can simply remove these redundant checks.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/mpeg12dec.c
  • avcodec/cbs_h266 : stricter validation for subpicture's max width and height

    23 novembre 2024, par Nuo Mi
    avcodec/cbs_h266 : stricter validation for subpicture's max width and height
    

    Co-authored-by : Frank Plowman <post@frankplowman.com>

    • [DH] libavcodec/cbs_h266_syntax_template.c
  • ffmpeg - force_original_aspect_ratio=increase - stretches video height but not width [closed]

    10 février, par Rhys

    I am trying to concat 3 videos. But the middle video, is only stretching in height.

    &#xA;

    test1.mp4&#xA;test2.mkv&#xA;test3.gif&#xA;

    &#xA;

    Which have been encoded into mp4s with ffmpeg

    &#xA;

    test1.mp4&#xA;Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, progressive), 720x1280 [SAR 1:1 DAR 9:16], 30 fps, 30 tbr, 90k tbn&#xA;&#xA;test2.mp4&#xA;Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 538x662 [SAR 1:1 DAR 269:331], 30 fps, 30 tbr, 90k tbn&#xA;&#xA;test3.mp4&#xA;Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 333x592 [SAR 1:1 DAR 9:16], 30 fps, 30 tbr, 90k tbn&#xA;

    &#xA;

    When I attempt the concat them. test3.gif scales up to fit the screen. But test2.mkv only scales up its height to fit the screen. (Its width does not increase to match)

    &#xA;

    When using, force_original_aspect_ratio=decrease, test2.mkv has correct aspect ratio (does not stretch) ... but does not stretch to fit screen (1280x720) ... it just sits in the middle of the screen like a thumbnail. Whereas test3.gif correctly scales up to fit the screen.

    &#xA;

    When using, force_original_aspect_ratio=increase, test2.mkv has the incorrect aspect ratio (only the height scales up to fit the screen) ... but the width does not scale up and the video appears squashed in width.

    &#xA;

    These are the codes I am using for both examples,

    &#xA;

    force_original_aspect_ratio=increase

    &#xA;

    ffmpeg  -f concat -i mylist.txt -vf scale=force_original_aspect_ratio=increase,setsar=1 merged_video2.mp4&#xA;

    &#xA;

    force_original_aspect_ratio=decrease

    &#xA;

    ffmpeg -f concat -i mylist.txt -vf "scale=720:1280:force_original_aspect_ratio=decrease:eval=frame,pad=720:1280:-1:-1:color=black" merged_video2.mp4&#xA;

    &#xA;

    Question

    &#xA;

    How can I get test2.mkv width to scale up with the height ? So the aspect ratio stays fixed.

    &#xA;

    test2.mkv has a DAR 269:331 and the other 2 videos both have, DAR 9:16 ... could this be causing the problem ?

    &#xA;