Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (45)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5673)

  • How can we merge two video in which one is horizontal resolution and other one is vertical resolution without stretching it using ffmpeg ?

    26 février 2021, par Rohan Patil

    I want to make an application that merge two video, in which one video is of vertical resolution and other one is of horizontal resolution. I managed to merge but it leads to stretching of video which ideally shouldn't happen. Does anyone have any idea to do this ? Thank you !

    



    command = new String[]{"-y", "-i", video1.mp4, "-i", video2.mp4,"-strict", "experimental", "-filter_complex",
            "[0:v]scale=1920x1080,setdar=4:3[v0];[1:v]scale=1920x1080,setdar=4:3[v1];[v0][0:a][v1][1:a] concat=n=2:v=1:a=1",
            "-ab", "48000", "-ac", "2", "-ar", "22050", "-s", "1920x1080", "-vcodec", "libx264", "-crf", "27", "-q", "4", "-preset", "ultrafast",output.mp4};


    


  • Master playlist generate points to only one resolution among multiple

    25 avril 2019, par Parthib Dutta

    I am trying to convert one mp4 movie to multiple bitrate HLS . The individual resolutions are generating fine with their own playlists . But the master playlist includes only one resolution .

    ffmpeg -hide_banner -re -i video.mp4 -master_pl_name master.m3u8    ^
     -vf scale=w=640:h=-2 -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4   -b:v 800k -maxrate 856k -bufsize 1200k -b:a 96k -hls_segment_filename D:\xampp\htdocs\streaming-demo\360p_%%03d.ts  D:\xampp\htdocs\streaming-demo\360p_%v.m3u8 ^
     -vf scale=w=842:h=-2 -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4  -b:v 1400k -maxrate 1498k -bufsize 2100k -b:a 128k -hls_segment_filename D:\xampp\htdocs\streaming-demo\480p_%%03d.ts  D:\xampp\htdocs\streaming-demo\480p_%v.m3u8 ^
     -vf scale=w=1280:h=-2 -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4  -b:v 2800k -maxrate 2996k -bufsize 4200k -b:a 128k -hls_segment_filename D:\xampp\htdocs\streaming-demo\720p_%%03d.ts  D:\xampp\htdocs\streaming-demo\720p_%v.m3u8 ^
     -vf scale=w=1920:h=-2 -c:a aac -ar 48000 -c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4  -b:v 5000k -maxrate 5350k -bufsize 7500k -b:a 192k -hls_segment_filename D:\xampp\htdocs\streaming-demo\1080p_%%03d.ts  D:\xampp\htdocs\streaming-demo\1080p_%v.m3u8

    It include only the 360p resolution playlist link .

  • Get video resolution in nodejs

    11 septembre 2019, par tgdn

    I have been trying to get an answer to this without really finding any. Excuse me if this sounds stupid or obvious.

    I have a nodejs application and basically I would like to simply get the resolution of a video. Imagine I have film stored on disk and I would like to be able to know if it is in 720p or 1080p or anything else.

    I understood that I might need to use ffmpeg to do so, but then I also understood that ffmpeg was mostly used to "record, convert and stream audio and video files".
    That does not mean retrieve video resolution.

    Thank you for your help

    Edit 1 :
    The node.js app is a desktop app and needs to be portable to Linux, windows and OS X. If possible a portable answer would be more appreciated but of course any answer is welcome.