Recherche avancée

Médias (91)

Autres articles (106)

  • 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

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

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

Sur d’autres sites (11709)

  • ffmpeg how to open from browser and save in server

    11 février 2021, par leo

    The following code split one video from the server and save the video in the server , but how ffmpeg gets a video directly from browser ,(html5 video uploaded for the user )

    


    Code

    


    <video crossorigin="anonymous"></video>&#xA;&#xA;&#xA;&lt;?php &#xA;if (isset($_POST["submit"])){&#xA;require &#x27;vendor/autoload.php&#x27;;&#xA;$ffmpeg = FFMpeg\FFMpeg::create();&#xA;$video = $ffmpeg->open(&#x27;myvideos/video.mp4&#x27;); ** how i get uservideo  without upload the video into the server?** &#xA;$video&#xA;->filters()&#xA;->clip(FFMpeg\Coordinate\TimeCode::fromSeconds(2), FFMpeg\Coordinate\TimeCode::fromSeconds(3));&#xA;$video&#xA;->save(new FFMpeg\Format\Video\WMV(), &#x27;myvideos/clipedvideo.wmv&#x27;);  &#xA;}?>    &#xA;

    &#xA;

  • How can I save local video file to django FileField ?

    11 janvier 2021, par Nina deRossi

    I create a local video file (.mp4) by adding a logo to an existing video with the following code :

    &#xA;

            logo_path = os.path.join(MEDIA_ROOT, &#x27;logo.png&#x27;)&#xA;&#xA;        logo = (mp.ImageClip(logo_path)&#xA;                .set_duration(video.duration)&#xA;                .resize(height=50)  # if you need to resize...&#xA;                .margin(right=8, top=8, opacity=0)  # (optional) logo-border padding&#xA;                .set_pos(("right", "top")))&#xA;&#xA;        video_path = os.path.join(MEDIA_ROOT, &#x27;test7.mp4&#x27;)&#xA;        audio_path = os.path.join(MEDIA_ROOT, &#x27;temp-audio.m4a&#x27;)&#xA;&#xA;        final = mp.CompositeVideoClip([video, logo])&#xA;        final.write_videofile(video_path, codec=&#x27;libx264&#x27;,&#xA;                              audio_codec=&#x27;aac&#x27;,&#xA;                              temp_audiofile=audio_path,&#xA;                              remove_temp=True&#xA;                              )&#xA;

    &#xA;

    I want to save the new video to a FileField of my model.&#xA;Here is the code :

    &#xA;

       f = open(video_path)&#xA;   flick.videoWithWatermark.save("videoWithWaterMark.mp4", File(f))&#xA;

    &#xA;

    I keep getting the error :&#xA;'ascii' codec can't decode byte 0xd1 in position 42 : ordinal not in range(128)

    &#xA;

    How can I save the video to a FileField ?

    &#xA;

  • Revision 4305dd4778 : Avoid calls to get_coef_band(). Use value already computed value to save of cal

    9 mai 2013, par Paul Wilkins

    Changed Paths :
     Modify /vp9/decoder/vp9_detokenize.c



    Avoid calls to get_coef_band().

    Use value already computed value to save of calls

    Change-Id : I42836698e59c116416ccd75395bebdd11dd609fb