Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (38)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (7017)

  • FFMPEG Concat different video types along with Images and Gifs [duplicate]

    7 août 2020, par Philban

    So I thinking this question has been done to death but none of the solutions seem to work for me exactly.

    


    So TL ;DR here's what I'm looking to do.

    


    I have 3 video files all .mp4 at different scales and I would like to concat them all into a single .mp4. Now want to use the concat protocol and I know they need to be all the same scale.

    


    On top of that, I have 3 images (2 Gif's and 1 JPG) I'd like to have a final output video which looks like the following :

    


      

    • Image 1
    • 


    • Video 1
    • 


    • Gif 1
    • 


    • Video 2
    • 


    • Gif 2
    • 


    


    Could someone help me here and show me a command that I can run that works. Oh and lastly is it possible to keep the audio working from Video 1 and Video 2 ?

    


    Many thanks !!!

    


  • ffmpeg exited with code 1 : Error configuring complex filters

    21 décembre 2015, par rycornell

    I am using the fluent-ffmpeg node package to merge videos. I am following the documentation exactly but I get the following error : Error: ffmpeg exited with code 1: Error configuring complex filters. Here is the code :

    ffmpeg('/videos/test/part1.mov')
     .input('/videos/test/part2.mov')
     .on('error', function(err) {
       console.log('An error occurred: ' + err.message);
     })
     .on('end', function() {
       console.log('Merging finished !');
     })
     .mergeToFile('videos/test/final.mp4', 'videos/test/tempDir');

    and here is the error output (I logged the command generated by fluent-ffmpeg to the console) :

    C:\Program Files\ffmpeg\bin\ffmpeg.exe [ '-formats' ] { captureStdout: true }
    C:\Program Files\ffmpeg\bin\ffmpeg.exe [ '-encoders' ] { captureStdout: true }
    C:\Program Files\ffmpeg\bin\ffmpeg.exe [ '-i',
     '/videos/test/part1.mov',
     '-i','/videos/test/part2.mov',
     '-y',
     '-filter_complex',
     'concat=n=2:v=1:a=1',
     'videos/test/final.mp4' ] { niceness: 0 }
    An error occurred: Error: ffmpeg exited with code 1: Error configuring complex filters.
    Invalid argument

    at ChildProcess.<anonymous> (C:\test\node_modules\fluent-ffmpeg\lib\processor.js:169:22)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:809:12)
    </anonymous>

    I’m able to run ffmpeg on my machine for other tasks and it works fine. I’m not sure what the ’-filter_complex’ flag is supposed to do. I am using fluent-ffmpeg version 2.0.1 and ffmpeg windows static build git-9d1fb9e (2015-12-17).

  • How to convert mo4 to mp3 in android java ?

    3 août 2023, par Akshit

    I have the mp4 link of a video but don't have a link for the mp3 version of that mp4 video. So is there any way that I can convert that mp4 video to mp3 in Android ? I saw some resources but nothing works for me. I have two ways in which I believe this can be achieved

    &#xA;

      &#xA;
    1. Convert the mp4 link to mp3 directly. ( Not Sure if this is achievable )
    2. &#xA;

    3. Download the mp4 on the device with the help of a link and then use some code to convert that mp4 to mp3.
    4. &#xA;

    &#xA;

    I also tried some solutions which are available online

    &#xA;

    https://github.com/tanersener/mobile-ffmpeg

    &#xA;

    I tried the above library to achieve the final goal. But got Async command execution failed with returnCode=1. This error in the code I am using is

    &#xA;

        private class Mp4ToMp3ConverterTask extends AsyncTask {&#xA;&#xA;    @Override&#xA;    protected String doInBackground(String... params) {&#xA;        String mp4FilePath = params[0];&#xA;        String mp3OutputPath = Environment.getExternalStorageDirectory().getAbsolutePath() &#x2B; "/output.mp3";&#xA;&#xA;        String[] ffmpegCommand = {"-i", mp4FilePath, "-vn", "-ar", "44100", "-ac", "2", "-b:a", "192k", mp3OutputPath};&#xA;&#xA;&#xA;        Config.enableStatisticsCallback(new StatisticsCallback() {&#xA;            public void apply(Statistics newStatistics) {&#xA;                Log.d("Dekh", String.format("frame: %d, time: %d", newStatistics.getVideoFrameNumber(), newStatistics.getTime()));&#xA;            }&#xA;        });&#xA;&#xA;        long executionIdd = FFmpeg.executeAsync(ffmpegCommand, new ExecuteCallback() {&#xA;&#xA;            @Override&#xA;            public void apply(final long executionId, final int returnCode) {&#xA;                if (returnCode == RETURN_CODE_SUCCESS) {&#xA;                    Log.i("Dekh", "Async command execution completed successfully.");&#xA;                } else if (returnCode == RETURN_CODE_CANCEL) {&#xA;                    Log.i("Dekh", "Async command execution cancelled by user.");&#xA;                } else {&#xA;                    Log.i("Dekh", String.format("Async command execution failed with returnCode=%d.", returnCode));&#xA;                }&#xA;            }&#xA;        });&#xA;&#xA;        FFmpeg.cancel(executionIdd);&#xA;&#xA;        return mp3OutputPath;&#xA;    }&#xA;}&#xA;

    &#xA;

    Solution number 2 which I used is

    &#xA;

    https://androidprogrammatically425516919.wordpress.com/2020/04/21/how-to-convert-video-to-audio-in-android-programmatically/

    &#xA;

    But I got an error here also Failed to instantiate extractor. and another error is java.io.FileNotFoundException : open failed : EISDIR (Is a directory)&#xA;I tried the online available solution to solve these errors but nothing worked. Such as granting write permission. Providing a valid location to save the output.

    &#xA;

    But nothing work so far. Please help me on this. Thank you

    &#xA;