Recherche avancée

Médias (1)

Mot : - Tags -/framasoft

Autres articles (35)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (3948)

  • Anomalie #4661 (Nouveau) : Le bouton d’admin de définition de mot de passe ne devrait plus envoyer...

    12 février 2021, par RastaPopoulos ♥

    C’est il me semble un problème de sécu donc je laisse anomalie. Et il faudrait en faire un autre pour l’inscription (même si les deux seraient plutôt à faire en même temps mais on peut découpler).

    Ce bouton devrait faire pareil que le comportement "rappel de mot de passe" :
    - générer un jeton temporaire
    - envoyer un email avec "Un compte existe pour vous sur le site XXX, veuillez cliquer sur le lien suivant pour aller définir votre mot de passe"
    - qui amène sur la page avec jeton pris en compte, pour en définir un nouveau

    Et ça devrait faire pareil pour la fonctionnalité en masse qui a été ajoutée récemment.

  • How to convert mp4 to mp3 in Android Java ?

    16 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 works so far. Please help me on this. Thank you.

    


  • electron-packager - exclude ffmpeg from final build

    20 juillet 2020, par TomRavn

    I am working on electron windows desktop app. I would like to make my build little bit smaller. I noticed that electron-packager add ffmpeg and other files into final build, my question is, is there possibility to make build without ffmpeg possibly without other unnecessary files (if there are any).

    


    My build command look like this :

    


    "electron-packager . hiss_xread --overwrite --asar --platform=win32 --arch=x64 --appCopyright=\"Copyright 2020 Tom Ravn, all rights reserved.\" --icon=src/favicon.ico --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"Hiss xRead\""


    


    Thank you very much in advance.