Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (17)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (4397)

  • How to build ffmpeg executable binary for Android ?

    22 février 2016, par Én Xinh Lung Linh

    I’m struggling how to build an executable binary of ffmpeg for Android command.
    I am very new to ffmpeg which I need to extract audio from video files such as mp4.

    I followed a tutorial here to build ffmpeg binary : http://www.roman10.net/how-to-build-ffmpeg-for-android/

    I dont need *.so file to use in NDK but only an executable binary.

    I tried to enable : --enable-ffmpeg in shell script build. It yielded a ffmpeg file too. Especially, the file size is small with around 2M. However, I am unable to use it in android execution as following :

    p = Runtime.getRuntime().exec("/data/data/example/ffmpeg -i /sdcard/test.mp4  -vn -acodec copy /sdcard/test.aac");

    The above executed very quickly and of course it didn’t give any result.

    I continued searching and found an example here : https://github.com/guardianproject/android-ffmpeg-java

    The ffmpeg binary in the project is nice, I can run some command with desired output. However, some conversions to mp3 format gets failed because probably it lacked libmp3lame when building. Specially, ffmpeg is heavier than mine quite much, it is about 15M. I don’t know how they build the binayr.

    I’m looking for is a proper guide which I can build with arbitrary options such as libmp3lame, libshine. I get stuck at m4a to mp3 conversion.

    Everybody who has experience in ffmpeg, please guide me. Thank you !

  • FFProbe doesn't work

    24 février 2018, par Royal.O

    Argument /storage/emulated/0/Watermark/test.flv provided as input filename, but ffprobe was already specified.
    compile 'nl.bravobit:android-ffmpeg:1.1.1

              String [] command = {"ffprobe", videoPath };
              FFprobe ffprobe = FFprobe.getInstance(this);

               try {
               ffprobe.execute(command, new ExecuteBinaryResponseHandler() {

                   @Override
                   public void onSuccess(String message) {
                       addTextViewToLayout("SUCCESS with output : "+ message);
                       Logger.print("onSuccess : "+message);

                   }
                   @Override
                   public void onProgress(String message) {
                       addTextViewToLayout("Started command : ffmpeg "+command);
                       addTextViewToLayout("progress : "+message);
                       Logger.print("Started command : ffmpeg "+command.toString());
                       Logger.print("progress : "+message);
                   }

                   @Override
                   public void onFailure(String message) {
                       Logger.print("FAILED with output : "+message);
                   }

                   @Override
                   public void onStart() {
                       Logger.print("onStart");
                   }

                   @Override
                   public void onFinish() {
                       Logger.print("onFinish");
                   }

               });
           } catch (FFprobeCommandAlreadyRunningException e) {
               e.printStackTrace();
           }


       }

    ffprobe works good in Windows, Mac, Ubuntu but doesn’t work in Android.

    If anybody experienced please share me your experience.

  • How can I play audio file(.mp3, .flac, .wav) and then loop over it (mix every few seconds) another audio file(wav) using ffmpeg

    11 mars 2019, par lukistar

    I got two different commands.

    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

    This command inserts second.mp3 into input.mp3. It seems to always keep the parameters of input.mp3. It inserts it in exact 10 seconds of input.mp3.

    Here is the second command :

    ffmpeg -i input.mp3 -i second.mp3 -filter_complex "[1:a]adelay=10000|10000[1a];[0:a][1a]amix=duration:first" output

    This command is closer to my final goal. It plays input.mp3 and in exact 10 seconds it plays along second.mp3 without stopping input.mp3’s sound.(I think that’s called mixing ?)

    My final goal is to create final.mp3.

    Its duration must always equal input.mp3 duration. It must keep the samplerate, the count of channels, etc of input.mp3

    When playing final.mp3, it must play the whole input.mp3.
    But each 10-15 seconds, it must play second.mp3 without stopping input.mp3.(mix)
    It could be said that I must use "Second command" but in a loop.
    It would be great if there is one-line command for that in ffmpeg.
    I am working with flac, mp3 and wav and both of the commands were suitable for that.

    For example :

    input.mp3 could be 40 seconds long.

    second.mp3 could be 2 seconds long.

    When I play final.mp3 it will be 40 seconds long, but each 10-15 seconds(on random) it will play second.mp3 at the same time as input.mp3.

    Sadly I have no experience with ffmpeg, both of the commands I got are answers to questions here in stackoverflow. Hope somebody can help me. Thank you !