Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (75)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

Sur d’autres sites (7907)

  • ffmpeg set data stream codec tag when copying

    19 mars 2021, par user972014

    I use ffmpeg to copy a data stream from one file to the other using -c copy

    


    The problem is that it causes the output file to have no codec tag string. How can I set it ?

    


    The name of the original stream was :

    


    Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 96 kb/s (default)
    Metadata:
      creation_time   : 2020-09-08 16:35:49
      handler_name    : GoPro MET


    


    While for the output file I get it is :

    


    Stream #0:2[0x102]: Data: bin_data ([6][0][0][0] / 0x0006)


    


    I'm using a commandline similar to that :

    


    ffmpeg -i video.mp4 -map 0:3 -c copy -metadata:s:d codec_tag=xxxx -vcodec libx264 converted4.ts


    


    I also tried handler=... handler_name=...

    


  • Remove error when running ffmpeg in Windows script to shrink MP3 file

    19 octobre 2022, par K7AAY

    I use a script to downsize audiobook files.
    
The original audiobook file was concatenated from multiple MP3 files into one MP3 file.
    
The script (in Windows) relies on ffmpeg (version git-2020-06-26-7447045) and contains

    


    FOR %%A IN (dir *.mp3) DO ffmpeg -i "%%A" -c:a libmp3lame -q:a 8 "_%%A"


    


    However, this error message appears :

    


    


    deprecated pixel format used, make sure you did set range correctly
    
[mp3 @ 000001f026d56400] Frame rate very high for a muxer not efficiently supporting it.
    
Please consider specifying a lower framerate, a different muxer or -vsync 2

    


    


    How do I modify the script for greater efficiency and remove that error message ?

    


  • 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

    


      

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


    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. 


    


    I also tried some solutions which are available online

    


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

    


    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

    


        private class Mp4ToMp3ConverterTask extends AsyncTask {

    @Override
    protected String doInBackground(String... params) {
        String mp4FilePath = params[0];
        String mp3OutputPath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/output.mp3";

        String[] ffmpegCommand = {"-i", mp4FilePath, "-vn", "-ar", "44100", "-ac", "2", "-b:a", "192k", mp3OutputPath};


        Config.enableStatisticsCallback(new StatisticsCallback() {
            public void apply(Statistics newStatistics) {
                Log.d("Dekh", String.format("frame: %d, time: %d", newStatistics.getVideoFrameNumber(), newStatistics.getTime()));
            }
        });

        long executionIdd = FFmpeg.executeAsync(ffmpegCommand, new ExecuteCallback() {

            @Override
            public void apply(final long executionId, final int returnCode) {
                if (returnCode == RETURN_CODE_SUCCESS) {
                    Log.i("Dekh", "Async command execution completed successfully.");
                } else if (returnCode == RETURN_CODE_CANCEL) {
                    Log.i("Dekh", "Async command execution cancelled by user.");
                } else {
                    Log.i("Dekh", String.format("Async command execution failed with returnCode=%d.", returnCode));
                }
            }
        });

        FFmpeg.cancel(executionIdd);

        return mp3OutputPath;
    }
}


    


    Solution number 2 which I used is

    


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

    


    But I got an error here also Failed to instantiate extractor. and another error is java.io.FileNotFoundException : open failed : EISDIR (Is a directory)
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.

    


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