Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (67)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10717)

  • error - lottie to mp4 using puppeteer-lottie

    24 mars 2020, par Christian Lopez

    I have installed puppeteer-lottie and ffmpeg, but when I trying to use the await renderLottie function I got an error on the terminal "UnhandledPromiseRejectionWarning : ArgumentError : Expected number fps to be positive, got 0"

    here is how I use puppeteer :

    app.get("/video", (req, res) => {

     async function start() {
       await renderLottie({
           path: 'public/newData.json',
           output: 'public/example.mp4',
           height: 1920
         });
       }
     start();

     res.send("donwload your video");
    });

    this is the error :

    (node:3464) UnhandledPromiseRejectionWarning: ArgumentError: Expected number `fps` to be positive, got 0

    any suggestions ?

  • FFmpegMediaPlayer Stops When Network is Turned Off and Back On

    18 mai 2017, par Fallas

    I am currently working with FFmpegMediaPlayer in order to make a basic music player given a url. I got the basic functionality to work. On error, I show an error message, else I play the songs.
    The problem I am facing is, once the player starts, and I turn off my wifi and phone data, it stops the sound. Once I turn my wifi or phone data back one, I would like the player to continue but it simply stops. I have to stop and play again for it to continue.

    Is there a way to have the FFmpegMediaPlayer continue streaming ?

    This is what I have to initialize the player :

    mMediaPlayer = new FFmpegMediaPlayer();
       mMediaPlayer.setOnErrorListener(this);
       mMediaPlayer.setOnPreparedListener(this);
       mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
       mMediaPlayer.setOnBufferingUpdateListener(this);
       mMediaPlayer.setOnSeekCompleteListener(this);

       try {
           Uri uri = Uri.parse(radio_url);
           mMediaPlayer.setDataSource(mMainActivity, uri);
           mMediaPlayer.prepareAsync();
       } catch (IllegalArgumentException e) {
           e.printStackTrace();
       } catch (SecurityException e) {
           e.printStackTrace();
       } catch (IllegalStateException e) {
           e.printStackTrace();
       } catch (IOException e) {
           e.printStackTrace();
       }

    Then I have a function to handle when Play/Stop button is clicked :

    @Override
    public void onPlayButtonClicked(Button button) {

       if (radioInitialized) {
           mAnalytics.onStopButtonClicked();
           mMainLayout.loading(false);
           mMediaPlayer.pause();
        button.setBackground(mMainActivity.getResources().getDrawable(R.drawable.play_button));
           radioInitialized = false;
       } else {
           mAnalytics.onPlayButtonClicked();
           mMainLayout.loading(true);
           initRadio();
           button.setBackground(mMainActivity.getResources().getDrawable(R.drawable.stop_button));
           radioInitialized = true;
       }
    }

    Again, the basic functionality works, but I would like for it to continue streaming after wifi is turned back on.

  • Output file not specified [closed]

    16 mai 2024, par Rich Madrid

    I have been messing around with ffmpeg working on basic mkv to mp4 conversions the last couple of days on my Mac and Windows computers. Mac was easier buy my windows desktop has a much faster OS so I wanted to do some conversions on it tonight. Got ffmpeg installed and working.

    


    After having some issues with the command prompt not finding the directory, I solved that with the following basic code to convert an mkv file to an mp4 for me :

    


    ffmpeg -i "C:\Users\Computer\videos\decade.mkv" "C:\Users\Computer\Videos\RJ videos\Complete\decade.mp4"


    


    I moved on to wanting to scale up an mkv to 1080p and use a yadif filter. I couldn’t find an adequate way to do this so I used a portion of the command that worked on my Mac last night, and stuffed it into the command for windows and I got an error code “at least one output file must be specified” after using the following command :

    


    ffmpeg -i "C:\Users\Computer\videos\decade.mkv" -vf "yadif=1,scale=1440x1080:flags=lanczos,setsar=1" -c:v libx264 -crf 21
-c:a aac -b:a 128k -ar 48k "C:\Users\Computer\Videos\RJ videos\Complete\decade.mp4"


    


    What am I doing wrong ?