Recherche avancée

Médias (91)

Autres articles (55)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

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

  • How do you change a video's resolution depending on the original one in FFMPEG ?

    16 avril 2022, par WilliamLee

    To break it down, I want to set a maximum resolution depending on the original videos resolution in ffmpeg, for an example, if i'm converting a video from 144p - 1080p, and the original video's resolution is 480p, ONLY convert the video from 144p - 480p, not 1080p.

    


  • Is there a way to run a ffmpeg command based on the videos resolution ?

    15 avril 2022, par William Lee

    As an example, if a video has a maximum resolution of 480p, DO NOT convert it to 1080p, just convert it from 144p to 480p.

    


    Is there any way that this is possible ?

    


  • FFprobe reading incorrect resolution value despite players rendering it correctly

    24 juillet 2015, par Boehmi

    I’m creating a video from a stream with the help of FFMPEG and I also use FFPROBE to gather information for use on a status page like resolution, codecs et cetera.

    When FFProbe parses my video for information, I get a resolution value of 544x576 (almost a square !), but an aspect ratio of 16:9.

    These values are consistent on both the input stream and my saved video.

    When I watch the video in the standard HTML5 Player, VLC or FFPLAY however, I get a video with the proportions of 16:9 and a resolution (measured using an image editing program) of 1024x576 that does look native and not stretched in any way.

    Even if I re-encode the video using slightly different codecs, this incorrect resolution value persists, even though every player I use displays it correctly.

    This is slightly inconvenient because I am relying on getting the correct resolution value from the video for further processing.

    I’m also using a recent FFMPEG+FFPROBE version that was compiled on the 15th of July.

    Is this a bug within FFMPEG or is there anything I’m doing wrong ?

    Used command lines :

    FFMPEG :

    ffmpeg -i source -loglevel debug -vcodec copy -acodec copy -bsf:a aac_adtstoasc -movflags +faststart -t 360 -y video.mp4

    FFPROBE (I parse the output of this directly and save the values) :

    ffprobe -i source -show_format -show_streams

    FFProbe output :

    width=544
    height=576
    coded_width=544
    coded_height=576
    has_b_frames=2
    sample_aspect_ratio=32:17
    display_aspect_ratio=16:9

    I can see that the sample aspect ratio is different from the display aspect ratio, but how come the video looks proper in 16:9 when it’s supposedly encoded at a near square resolution ?