Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (96)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

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

  • Modify code so each snippets start from begin instead end

    13 décembre 2022, par Ohiowizard

    source : https://davidwalsh.name/video-preview#comment-515168
    
the part of code that trim videos into snippets :

    


     # Loop and generate video snippets
    mkdir $tempdir
    interval=$(($length/$desiredsnippets-$starttimeseconds))
    for i in $(seq 1 $desiredsnippets)
    do
        # Format the second marks into hh:mm:ss format
        start=$(($(($i*$interval))+$starttimeseconds))
        formattedstart=$(printf "%02d:%02d:%02d\n" $(($start/3600)) $(($start%3600/60)) $(($start%60)))
        echo 'Generating preview part ' $i $formattedstart
        # Generate the snippet at calculated time
        ffmpeg -i $sourcefile -vf scale=$dimensions -preset fast -qmin 1 -qmax 1 -ss $formattedstart -t $snippetlengthinseconds -threads $(nproc) $tempdir/$i.mp4
    done


    


    `

    


    Video length is 3600 (60mins)
    
Desired snippets = 30, that mean 2mins each
    
It always start at 0:02:00 to 0:04:00 -> and so on
    
but i want it start at 0:00:00 (1st snippet) -> 0:02:00 (2nd snippet) -> (this put in code because it said invalid code format)

    


      

    • I want to make it trim from start of each snippets instead end of each snippets.
    • 


    • This code trim video into multiple parts(snippets) that set by user, and then merged all snippets into one video.
    • 


    


  • FFMPEG — Create New Audio File using aselect filter API call in C code

    17 juin 2021, par AfricanMamba

    I have been working on an a program in C that invokes the use of FFMPEG's libraries to remove some segments of audio from a given audio file. I have created the filter successfully using the API call, const AVFilter* aselect = avfilter_get_by_name("aselect"), linking it with abuffersrc and abuffersink.

    


    However, I am not sure entirely sure what to pass in to the arguments when creating the filter because when I pass in the argument string, "'between(t,10,32)', asetpts = N/SR/TB output.wav", it gives me an error saying : "Invalid chars ',asetpts=N/SR/TBoutput.wav' at the end of expression"

    


    But when I pass in just "'between(t,10,32)'" as the arguments for the filter, the program compiles and runs but no output file is created with just the audio from 10 seconds to 32 seconds. Does anyone happen to know if it is even possible to use the aselect filter API to create new audio files or if there is an example that exists showing how to copy only frames from one audio file to another ? Thanks !

    


  • I've download ffmpeg source code,but I don't know how to use it on anroid

    23 octobre 2013, par Sravanthi Pasaragonda

    I've download ffmpeg source code,but I don't know how to use it on anroid.I need to remove audio from vedio file and i need to add other audio to vedio.This is my Task .I am using ubutu 10.04 ,And i have installed NDK-r9,ffmpeg and yasm 1-2.0 in my system.
    please any sample process to how to start ffmpeg example,i have downloaded lot of example from GITHUB Like

       https://github.com/appunite/AndroidFFmpeg
       http://www.roman10.net/how-to-build-android-applications-based-on-ffmpeg-by-an-example/
       https://github.com/mconf/android-ffmpeg



    But i dont no how to complie all projects using ffmpeg.

    Please give me step by step process for any ffmpeg example in ubutu.

    Thanks