Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (79)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (5691)

  • ffmpeg to make black video with multiple audio and subtitles [closed]

    9 septembre 2024, par Tony M

    I want to use ffmpeg to make a video with only audio and subtitles in different languages. The video part can be a simple black background. I want to be able to switch between languages in video players like QuickTime.

    


    I've tried to get help from posts like this, but I couldn't figure out how to get it to work.

    


    To demonstrate that I've worked a long time on this, I'm showing what I've come up with below — but only steps (1) & (2) work. I can't get the subtitles step (3) to work.

    


    I've used ffmpeg for a long time, but never really understood it... I've only recently started to build my own commands, so the following probably looks awful to an expert :

    


      

    1. make a silent video using

      


      ffmpeg -loop 1 -i black.jpg -i silent.mp3 -acodec copy -shortest -vf scale=1000:136 silent.mov

      


    2. 


    


    where m.jpg is a 500x68 black image and m.mp3 has 5 min of silence

    


      

    1. add 3 language (italian, french, german) using

      


      ffmpeg -i silent.mov -i ita.mp3 -i fre.mp3 -i ger.mp3 -map 0:v -map 1:a -map 2:a -map 3:a -metadata:s:a:0 language=ita -metadata:s:a:1 language=fre -metadata:s:a:2 language=ger ita-fre-ger.mov

      


    2. 


    3. add subtitles using (doesn't work)

      


    4. 


    


    ffmpeg -i ita-fre-ger.mov -i ita.srt -i fre.srt -i ger.srt -map 0 -map 1 -map 2 -map 3 -c copy -c:s mov_text -metadata:s:s:0 language=ita -metadata:s:s:1 language=fre -metadata:s:s:2 language=ger final.mov

    


  • Piping via FFMPEG make loose file duration

    26 juillet 2018, par Megaman

    In order to dynamically encode file and upload them to a server, I output ffmpeg to pipe:1 and use curl to post the result to a file.

    The problem is when I use MediaInfo to check the file, it appears as ’Open / Incomplete’ and the duration is no longer available. Is there a solution to make the piping properly closing the file ?

    I have also pipe locally the output to check if it is related to the upload, but the problem is still there.

    Here is my command :

    ffmpeg -i myFile.mxf -vcodec copy -filter_complex "[0:1:a]channelsplit[left1][right1];[left1]asplit=1[a1];[right1]asplit=1[a2]" -map 0:v:0 -map "[a1]" -map "[a2]"  -c:a:0 pcm_s24le -b:a:0 1152k -ar:0 48k -c:a:1 pcm_s24le -b:a:1 1152k -ar:1 48000 -f mxf pipe:1 > myFile_ff_pipe_local.mxf

    Thanks in advance \m/

  • Grab frame without downloading whole file ?

    12 janvier 2012, par Writecoder

    Is this possible using php + ffmpeg ?

    ffmpeg-php has the ability to :

    Ability to grab frames from movie files and return them as images that
    can be manipulated using PHP's built-in image functions. This is great
    for automatically creating thumbnails for movie files.

    I just don't want to download the whole file before doing so.
    So lets say i want to grab a frame @ 10% of the movie :

    First lets get the size of remote file :

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_HEADER, true);
    curl_setopt($ch, CURLOPT_NOBODY, true);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    curl_setopt($ch, CURLOPT_URL, $url); //specify the url
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
    $head = curl_exec($ch);

    $size = curl_getinfo($ch,CURLINFO_CONTENT_LENGTH_DOWNLOAD);

    Then it's quite easy to download only 10% of the .flv or .mov file using curl.

    But the framegrab trick using ffmpeg-php probably won't work because the file probably is corrupted ?

    Any other ideas ?