Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (85)

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (9295)

  • Creating Thumbnails From Ffmpeg Hangs Php

    30 octobre 2012, par Piyush Arora

    I have been working on a php webservice, which receives videos(uploaded) from iphone and upload them to Amazon cloudFront. After uploading videos, I need to generate thumbnails for video from the Amazon link generated. I am using ffmpeg with shell_exec command for it. Here is the code for the same :

    public function createThumbnail($userId,$fileUrl,$imageName){
       //$imageUrl = 'http://184.168.116.177:81/json_api/json/bin/';
       if(!is_dir("images/".$userId)){
           mkdir("images/".$userId);
       }
       // path of installed ffmpeg
       $ffmpeg = $_SERVER['DOCUMENT_ROOT'] .'bin/ffmpeg';
       $cmd = "$ffmpeg  -itsoffset -1 -i $fileUrl -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 images/".$userId."/".$imageName;

       shell_exec($cmd);

       return "images/".$userId."/".$imageName;
    }

    The above code generates the thumbnail, but script does not execute after shell_exec command. So, there is no response sent to iphone end about the thumbnail link. This function works well video is uploaded from web browser of pc. If I comment, shell_exec command, then response is sent to iphone end, but obviousely image is not created.

    Thanks in advance.

  • Extract video clip from MP4 of exacting length [closed]

    21 janvier, par Wes

    The tools I've tried so far are only gives me approximations to the start and end times that I specify. They are usually off by a few seconds.

    


    I need a tool to extract video and audio at exact start and stop times, ideally to the millisecond. It would be preferable to do so without any easily noticeable loss in video quality from the original. I would also prefer to keep the audio in the video.

    


  • FFMPEG picture in picture

    19 février 2016, par Jalyo

    I try to put a portion of video in a video at a certain time.

    Se here’s my command :

    ./ffmpeg-3.0-32bit-static/ffmpeg \
    -y \
    -i main.mp4 \
    -itsoffset -10 \
    -i overlay.mp4 \
    -filter_complex \
    "[1:a] atrim=5:20 [1:a1]; \
    [1:a1] adelay=5000|5000 [1:a2]; \
    [0:a][1:a2] amix [outa]; \
    [1:v] scale=120:-1 [1:v1]; \
    [0:v][1:v1] overlay=x=25:y=25:enable='between(t,5,20)'[outv]" \
    -map "[outv]" \
    -map "[outa]" \
    -c:a aac \
    -c:v libx264 \
    -vb 1000k \
    -r 24 \
    -strict -2 \
    output.mp4

    But I’ve got "Buffer queue overflow, dropping" messages which, I think, makes my overlay.mp4 a little jerky on the output.mp4 :

    [Parsed_overlay_4 @ 0xc29d9c0] [framesync @ 0xc29da84] Buffer queue overflow, dropping.
       Last message repeated 50 times
    [Parsed_overlay_4 @ 0xc29d9c0] [framesync @ 0xc29da84] Buffer queue overflow, dropping.0.927x
    [Parsed_overlay_4 @ 0xc29d9c0] [framesync @ 0xc29da84] Buffer queue overflow, dropping.=2.72x
       Last message repeated 33 times
    [Parsed_overlay_4 @ 0xc29d9c0] [framesync @ 0xc29da84] Buffer queue overflow, dropping.=2.72x
       Last message repeated 14 times
    [Parsed_overlay_4 @ 0xc29d9c0] [framesync @ 0xc29da84] Buffer queue overflow, dropping.=2.97x
       Last message repeated 13 times
    [Parsed_overlay_4 @ 0xc29d9c0] [framesync @ 0xc29da84] Buffer queue overflow, dropping.=3.16x
       Last message repeated 35 times
    [Parsed_overlay_4 @ 0xc29d9c0] [framesync @ 0xc29da84] Buffer queue overflow, dropping.=3.35x
       Last message repeated 45 times
    [Parsed_overlay_4 @ 0xc29d9c0] [framesync @ 0xc29da84] Buffer queue overflow, dropping.=3.46x
       Last message repeated 5 times

    Any idea why ?

    EDIT : Forgot to say I’ve got the last version of ffmpeg => 3.0.