Recherche avancée

Médias (91)

Autres articles (68)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (4506)

  • ffmpeg complex filter pip loop not working

    4 août 2021, par Dzseti

    I am using an ffmpeg complex filter to :

    


      

    1. turn a number of images into a slideshow
    2. 


    3. scale the slideshow to 1/6th of its original size
    4. 


    5. loop the slideshow infinitely
    6. 


    7. set the looping slideshow as a picture-in-picture over another looping video
    8. 


    


    then add audio from another file which determines the maximum length of the final video.

    


    Everything is working except step 3.

    


    Here is my code (broken down into individual lines) :

    


    ffmpeg -y 
-loop 1 -t 5.5 -i /uploads/2021/07/slide04-scaled.jpg 
-loop 1 -t 5.5 -i /uploads/2021/07/Slide05-scaled.jpg 
-loop 1 -t 5.5 -i /uploads/2021/07/Slide06-scaled.jpg 
-i /slowwmo-videos/intro.mp4 
-i /uploads/2021/07/busy_bees_01.mp3 
-filter_complex 
"
[1]fade=d=0.5:t=in:alpha=1,setpts=PTS-STARTPTS+5/TB[a1];
[2]fade=d=0.5:t=in:alpha=1,setpts=PTS-STARTPTS+10/TB[a2];
[0][a1]overlay[b2];
[b2][a2]overlay[slides];
[slides]loop=loop=-1,scale=iw/6:ih/6,format=yuv420p,fps=fps=25[pip];
[3][pip]overlay=W-w-100:200[v]
" 
-map [v]:v:0 -map 4:a:0 -vcodec libx264 -profile:v main -video_track_timescale 25000 -pix_fmt yuv420p -s 1280x720 -acodec aac -af aresample=44100 -shortest /slowwmo-videos/busy_bees/7494.ts


    


  • Need help to change working ffmpeg command to overlay instead of concatenate two audio files at specific position

    7 mars 2019, par lukistar

    By asking another question here, I got working code

    ffmpeg -i input.mp3 -i second.mp3 -filter_complex "[0:a]atrim=end=10,asetpts=N/SR/TB[begin];[0:a]atrim=start=10,asetpts=N/SR/TB[end];[begin][1:a][end]concat=n=3:v=0:a=1[a]" -map "[a]" output

    The code inserts second.mp3 into the input.mp3 at 10 seconds.

    But now I need to overlay second.mp3 into the input.mp3 starting at 10seconds.
    In other words I need playing input.mp3 and after 10 seconds I need start playing second.mp3 simultaneously.

    The code I have been given keeps the params of input.mp3 and changes everything about second.mp3 to match input.mp3.

    Could you help me altering the command I have to do the overlay...

  • ffprobe json output not working in exec, but works in CMD

    26 novembre 2015, par Nicholas Walker

    I’ve installed ffmpeg on my windows 2008 server.

    I use this string in CMD and i get what i want to get in my

    PHP file :

    ffprobe -v quiet -print_format json -show_format -show_streams "C:\wamp\www\uploads\fc30e528b500b26a391ed4f5ed484310.mp4"

    This is my PHP function i found on another stackoverflow question, it had great feedback so i tested it.

    $file_name = 'fc30e528b500b26a391ed4f5ed484310';
    $file_ext = 'mp4';
    $ffprobe = 'C:\\ffmpeg\\bin\\ffprobe.exe';
    $videoFile = 'C:\\wamp\\www\\uploads\\'.$file_name.'.'.$file_ext;

    $cmd = shell_exec($ffprobe .' ffprobe -v quiet -print_format json -show_format -show_streams "'.$videoFile.'"');
    $parsed = json_decode($cmd, true);
    print_r($parsed);

    What is get back is nothing. I also tried using the same function i used with ffmpeg(which i got working for ffmpeg).

    $cmd = $ffprobe.' ffprobe -v quiet -print_format json -show_format -show_streams "'.$videoFile.'" 2>&1';
    echo shell_exec($cmd);

    This also brings back nothing.

    Any ideas ?