Recherche avancée

Médias (1)

Mot : - Tags -/graphisme

Autres articles (41)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (10417)

  • ruby wont read output of ffmpeg

    6 août 2012, par Amit

    running

    a = `ffmpeg -i video.mp4`

    does not seem to give the output of the command into a... Why is that ? how do override it ?

  • parsing different ffmpeg -i output

    11 août 2012, par Jizbo Jonez

    I have a bit of code that gets a video files duration, width, height and framerate which works fine for some videos -

    $output = `ffmpeg -i /var/thismovie.avi`;
    preg_match('/Duration: (.*?),.*?Video:.*?0x.*?([0-9]+)x([[0-9]+).*?([0-9]+) fps/i'
    ,$output , $result);

    The problem is there are other videos that give a slightly different output information, for example the above code works with this output -

    Input #0, avi, from '/var/www/vhosts/thissite.com/httpdocs/video1.avi':
    Duration: 00:00:10.76, start: 0.000000, bitrate: 5180 kb/s
    Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, s16, 128 kb/s

    but another video gives this info and will not give any results when used with the above code -

    Input #0, avi, from '/var/www/vhosts/thissite.com/httpdocs/video2.avi':
    Duration: 00:00:05.68, start: 0.000000, bitrate: 887 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x272 [SAR 1:1 DAR 40:17], 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb/s

    The difference between the two outputs is in the Stream #0:0 part. The fist output shows 7 different pieces of information separated by a comma, the last output only shows 6 bits. The missing piece of info in the last output is the frame rate (fps) but apparently I can use the value for tbr instead.

    So my question is, how can I modify the code I am using to cover both types of outputs ?

  • I want to add a audio to the video in python [closed]

    27 mai 2022, par Drawing made easy with Manas

    I used ffmpeg to Concatenate audio and video but the ffmpeg keeps giving me error or I can't figure it out as I am python intermediate so please give an examplethat how can I do it
Thanks for your help