Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (111)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (10397)

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

  • 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 ?

  • 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 ?