Recherche avancée

Médias (91)

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 (7845)

  • Displaying an AVFrame on the screen with SDL 2.0

    22 septembre 2013, par jsp99

    I am working on some code with the help of this tutorial and using the latest development libraries of ffmpeg and SDL. I am stuck at the point where I have to display the decoded frame (AVFrame) on the screen. I am inclined to do the above task i.e, Displaying the AVFrame on screen using the latest API of SDL 2.0 (Using Renderers and Textures alongside the usage of SDL_Window). Frankly speaking, I am not an expert in SDL_Renderer, SDL_Texture and the functions associated with them. But I am reading the documentation in the official site of SDL 2.0 and working my way through them.

    Is there a way to do the following using SDL 2.0 API :

    • Convert the native frame format to a flavour of YUV and display it.

      (OR)

    • If it is possible, display the frame without having to convert it from native format.

    I want to do the above using Renderers and Textures. There doesn't seem to be an easy way to work with them.

    Can anyone guide me through the steps to do the above tasks ?

    PS : Though I have not explicitly tried it, I came across some ways to display AVFrame on the screen by converting the AVFrame format(native) to RGB. But I do not want the native frame format (which is mostly YUV) to RGB conversion, as it is computationally expensive.

    Converting between formats is done by sws_scale()

  • Merge Audio and Video using ffmpeg - Python Lib [duplicate]

    15 janvier 2021, par badr

    i have tried

    


    import ffmpeg
video = ffmpeg.input('video.mp4')
audio = ffmpeg.input('audio.mp3')
ffmpeg.merge_outputs(video, audio).run()


    


    and it returns

    


    TypeError: Expected incoming stream(s) to be of one of the following types: ffmpeg.nodes.OutputStream; got <class>&#xA;</class>

    &#xA;

    and i have tried

    &#xA;

    import ffmpeg&#xA;video = ffmpeg.input(&#x27;video.mp4&#x27;)&#xA;audio = ffmpeg.input(&#x27;audio.mp3&#x27;)&#xA;ffmpeg.concat(video, audio, v=1, a=1).output(&#x27;finished_video.mp4&#x27;).run()&#xA;

    &#xA;

    and it returns

    &#xA;

    FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;

    &#xA;

    also i did try

    &#xA;

    import subprocess    &#xA;subprocess.run("ffmpeg -i video.mp4 -i audio.mp3 -c copy output.mp4")&#xA;

    &#xA;

    and it returns

    &#xA;

    &#x27;ffmpeg&#x27; is not recognized as an internal or external command&#xA;

    &#xA;

    how can i do it right ?

    &#xA;

  • FFMPEG Output Framecount Different On Audio Files PowerShell

    28 avril 2020, par ilham zacky

    I am using FFPROBE to get some file durations in PowerShell.

    &#xA;&#xA;

    For my video it gets the frame count properly but for my audio files it returns a different frame count.

    &#xA;&#xA;

    This is my code :

    &#xA;&#xA;

    $audioId = "$id.m4a"&#xA;$videoId = "$id.mp4"&#xA;$duration1 = ffprobe -i $videoId -show_frames 2>&amp;1 | grep -c media_type=video&#xA;$duration2 = ffprobe -i $audioId -show_frames 2>&amp;1 | grep -c media_type=audio&#xA;echo $duration1&#xA;echo $duration2&#xA;&#xA;

    &#xA;&#xA;

    For video it returns a proper output, but for audio it returns a wrong result.

    &#xA;&#xA;

    Any suggestions ?

    &#xA;&#xA;

    Thank you

    &#xA;