Recherche avancée

Médias (91)

Autres articles (30)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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" ;

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (5899)

  • Jump to complex filter trim ?

    24 mars 2024, par haubna

    Example :

    



    ffmpeg.exe -i "input1.mp4" -filter_complex "[0:v]trim=start=3624.005:end=3630.005,setpts=PTS-STARTPTS[vidFinal];" -map [vidFinal] output.mp4


    



    ffmpeg just reads through the entire video file just to cut 6 seconds out of the video. Is there a way to avoid this with -filter_complex ? Because I have multiple trims of multiple large video files and reading through a couple of 6 hour video files when needing only 6 seconds parts is too much.

    


  • issue starting ffmpeg screen capture on OSX (AVFoundation) from Java

    24 juin 2022, par stewori

    I would like to launch from Java on OSX a screen capture command like explained here : https://trac.ffmpeg.org/wiki/Capture/Desktop

    



    It works fine from the terminal. But when I launch exactly the same command using Java's Runtime.exec I get the following output :

    



    [AVFoundation input device @ 0x7f892f500400] Video device not found

'1:': Input/output error


    



    Assume the command I run is stored as String cmd = "ffmpeg -f avfoundation -i '1:' output.mkv". Things I tried :

    



      

    • Using ffmpeg -f avfoundation -list_devices true -i "" I asserted that 1 is the correct index for the screen. I ran that command also via Runtime.exec and it gives the same indexes as when I run it from terminal.

    • 


    • It does not make a difference whether I use '1:' or "\"1:\"". Well, in the latter case it says "1:": Input/output error. Both variants work in terminal.

    • 


    • Neither does it make a difference whether I call
Runtime.getRuntime().exec(cmd),
Runtime.getRuntime().exec(cmd.split(" ")) or (new ProcessBuilder(cmd.split(" "))).start(). In principle it starts ffmpeg and that terminates with the output given above.

    • 


    • It does not seem to make a difference whether I read out ffmpeg's output or not (via process.getErrorStream())

    • 


    • The only thing that works is to store the command in a file, e.g. in run.sh and then call e.g. Runtime.getRuntime().exec("run.sh"). It should be possible to execute this properly from Java without this kind of workaround, right ? What am I doing wrong ?

    • 


    • On Linux, using e.g. ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 output.mp4 it works fine, from command line or from Java, with Runtime.exec and via ProcessBuilder.

    • 


    



    I did not try it on Windows. On OSX (Mojave 10.14.5) I used Java 12, on Linux (Mint 18, 64bit) Java 8. Would be some hassle to try it with Java 12 on Linux and I suspect the Java version is not the cause, given that avfoundation vs x11grab is the far more dominant difference.

    


  • Capture frames of videos using FFMPeg, Java and Process [on hold]

    1er juillet 2018, par snehalg

    I see I can save the command of FFMPEG in a string.

    String command = "ffmpeg -i /Users/Documents/Theintouchables.mp4 -ss 00:00:20.000 -vframes 1 /Users/Documents/thumb.jpg" ;
    Process processDuration = Runtime.getRuntime().exec(command) ;

    Can anyone please let me know how can I can save the captured frames after the process has been run.Thanks