Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (58)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

  • 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

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (6486)

  • How do I build ffmpeg including x264 library for android ?

    27 septembre 2012, par user1093191

    Lots of question and answer available on the ffmpeg and android. But I did not get thing that directly address ffmpeg building with x264 library.

    Actually I want to make a movie from some still images in android.

    Still do not get any solution to resolve this problem. Some of the forum told that it can be do using ffmpeg. If I build ffmpeg after downloading from "http://bambuser.com/opensource", it works fine to decode a video file. But it does not get any codec while it try to encode still image into movie.

    That's why I try to use x264 as encoding library with ffmpeg. While I try to build it with ffmpeg it returns error.

    Could you please provide any detail step by step guide line to build ffmpeg with x264 library in windows or mac for android ?

    If any one knows anything other that can be used to make movie from still images in android please tell me the way. Your help will be highly appreciated.

    Thank you in advance for your kind response.

  • Stream mp3 url using FFmpegmediaplayer library

    26 janvier 2018, par ali

    i’m trying to migrate from MediaPlayer to FFmpegmediaplayer for streaming radio my code below works fine with MediaPlayer but when i change it to FFmpegmediaplayer doesn’t work at all i tried to change URL from mp3 to ogg and still doesn’t work .

      FFmpegMediaPlayer mediaPlayer;
       boolean prepared = false;
       boolean started = false;
       PlayerTask playerTask;

    protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.activity_main);
           mediaPlayer = new FFmpegMediaPlayer();
           playerTask = new PlayerTask();
           playerTask.execute("URL_STREAM");
       /**/

    }

    @SuppressLint("StaticFieldLeak")
       public class PlayerTask extends AsyncTask {
           ProgressBar loadingRL = findViewById(R.id.progressBar);

           @Override
           protected void onPreExecute() {
               super.onPreExecute();
               mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
               loadingRL.setVisibility(View.VISIBLE);
               beforradio.start();
           }

           @Override
           protected Boolean doInBackground(String... strings) {
               try {
                   mediaPlayer.setDataSource(strings[0]);
                   mediaPlayer.prepare();
                   prepared = true;
               } catch (IOException e) {
                   e.printStackTrace();
               } catch (IllegalArgumentException e) {
                   e.printStackTrace();
               } catch (IllegalStateException e) {
                   e.printStackTrace();
               }
               mediaPlayer.setOnPreparedListener(new FFmpegMediaPlayer.OnPreparedListener() {
                   @Override
                   public void onPrepared(FFmpegMediaPlayer mp) {
      mediaPlayer.start();
                   }
               });
               return prepared;
           }

           @Override
           protected void onPostExecute(Boolean aBoolean) {
               super.onPostExecute(aBoolean);
               loadingRL.setVisibility(View.GONE);
           }

       }
  • Using ffplay as a C++ library ?

    20 janvier 2024, par Victor M

    I want to be able to use the functionality of ffplay as a C++ library, as opposed to a standalone command line tool. Right now in C++, I am able to call ffplay via std::system, but this isn't ideal for performance as is documented extensively here, chief of which is simply that we need to spawn new shell processes in order to execute this.

    


    My application attempts to feed in a bytestream of audio data to a media player. Running a command like cat /tmp/f.mp3 | ffplay -v 0 -nodisp -autoexit - runs smoothly but somewhat slowly/not instantaneously. I would ideally like to be able pass in a bytestream to an ffplay function or via some library that I can link directly to my application. I think ffplay is quite useful here, as it integrates ffmpeg and SDL together.

    


    Is this possible at all ? Or is the only hope to use the command line functionality ?