Recherche avancée

Médias (91)

Autres articles (73)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (9525)

  • Determining Icecast2 version in current repository

    6 juillet 2016, par dbmitch

    I’ve been playing with streaming audio to icecast server from a Raspberry Pi 3 running Raspbian Jessie Lite. In an old post on the Raspberry Pi Forum a user pointed out the solution to streaming from ffmpeg to icecast was to use the -legacy_icecast 1 parameter

    The reason was

    "that Icecast2 from the repository is version 2.3.2"

    Now I’ve found a command that tells me the latest version available in the repository is 2.4.0-1.1+deb8u1

    The question I have is two part :

    1. How do I tell what version is in my current build ?
    2. If I want to use a newer icecast version in my compiled ffmpeg
      version or the currently installed avconv, will I need to recompile
      either or both, or will they use the new icecast automatically ?

    Thanks for any pointers

  • Get current postion from videoview in Time format

    4 juin 2015, par Kalai Arasi

    I am writing an application to trim videos in android using FFMPEG. I need to give the values to the FFMPEG in time units like 00:00:10. Currently I have a videoview and two buttons. The first button is startTime and the second button is endTime. When ever the button is clicked I use the getCurrentPosition to get the current position of the video. I also have a MediaController attached to my videoview.

    Now the problem I am facing is that I get int value of the current position which I cannot pass to the FFMPEG how do I accurately convert this to get the value in Time units, so that I can pass it to FFMPEG to trim the video. I have given the code below for your reference. Is there any other way to get the current time other than this. Thanks in advance.

           tVideoView = (VideoView) findViewById(R.id.tVideoView);
           startBtn = (Button) findViewById(R.id.tStartBtn);
           endBtn = (Button) findViewById(R.id.tEndBtn);
           trimBtn = (Button) findViewById(R.id.trimBtn);

           tVideoView.setVideoPath(videoPath);
           duration = tVideoView.getDuration();
           mMedia = new MediaController(this);

           mMedia.setMediaPlayer(tVideoView);
           mMedia.setAnchorView(tVideoView);
           tVideoView.setMediaController(mMedia);

           startBtn.setOnClickListener(new View.OnClickListener() {
               @Override
               public void onClick(View v) {
                   startTime = tVideoView.getCurrentPosition();
                   startBtn.setText(String.valueOf(startTime));
               }
           });

           endBtn.setOnClickListener(new View.OnClickListener() {
               @Override
               public void onClick(View v) {
                   endTime = tVideoView.getCurrentPosition();
                   endBtn.setText(String.valueOf(endTime));
               }
           });
  • get duration and current spot of ffmpeg stream

    20 juin 2016, par tonkku107

    I have code like this :

    var ffmpeg = spawn('ffmpeg' , [
     '-i', file,
     '-f', 's16le',
     '-ar', '48000',
     '-af', 'volume=0.5',
     '-ac', '2',
     'pipe:1'
    ], {stdio: ['pipe', 'pipe', 'ignore']});

    ffmpeg.stdout.once('readable', function() {
     stream.send(ffmpeg.stdout);
     console.log("Playback started");
    });

    ffmpeg.stdout.once('end', function(){
     console.log("Playback ended");
    });

    It takes a file, encodes it to opus and sends or pipes it to a stream.

    Is there any way I could get the full duration of the file and the current time/spot (like "1:23/3:21") ?