Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (98)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (18895)

  • Clipping audio problem on ffmpeg live stream

    20 mars 2019, par Ivan Bombash Stokic

    in 30-40% of the live stream i get some king of distortion or clipping in the streamed audio and i have no idea why, is is only because low hardware performance maybe ? I am running the stream on a Raspberry pi 3b+ CPU usage while streaming from 25 to 30% Ram usage 28% , storage device is a USB pen drive.

    Here is the code :

    ffmpeg -re -f alsa -i default -re -stream_loop -1 -i "/home/pi/Documents/Youtube/video720p.mp4" -c:v copy -c:a aac -f flv -max_muxing_queue_size 400 rtmp://a.rtmp.youtube.com/live2/pfjd-jhjs-k3td-xxxx

    Or i should buffer it before streaming or re-encode the audio before streaming ?

    Thanks in advance !

  • FFmpeg Live Stream - Loop Video ?

    28 septembre 2019, par Dread-Eye

    I am trying to stream a video loop to justin.tv using FFmpeg ? I have managed to loop an image sequence and combine it with line in audio :

    ffmpeg -loop 1 -i imageSequence%04d.jpg -f alsa -ac 2 -ar 22050 -ab 64k \
      -i pulse -acodec adpcm_swf -r 10 -vcodec flv \
      -f flv rtmp ://live.justin.tv/app/
    

    Is it possible to do this with a video file ?

  • How to live stream an mp4 video in android from server - only works in KitKat ?

    15 octobre 2014, par user3522608

    How to stream an MP4 video in Android from a server ? Here is my code but it only works for KitKat.

    private void play() {
               try {
                   final String path = ""
                   Log.v(TAG, "path: " + path);
                   if (path == null || path.length() == 0) {
                       Toast.makeText(getApplicationContext(), "File URL/path is empty",
                               Toast.LENGTH_LONG).show();

                   } else {
                       // If the path has not changed, just start the media player
                       if (path.equals(current) && mVideoView != null) {

                           mVideoView.start();
                           mVideoView.requestFocus();
                           return;
                       }
                       current = path;
                       mVideoView.setVideoPath(getDataSource(path));

                       mVideoView.start();
                       mVideoView.requestFocus();

                   }
               } catch (Exception e) {
                   Log.e(TAG, "error: " + e.getMessage(), e);
                   if (mVideoView != null) {
                       mVideoView.stopPlayback();
                   }
               }
           }

           private String getDataSource(String path) throws IOException {
               if (!URLUtil.isNetworkUrl(path)) {
                   return path;
               } else {
                   URL url = new URL(path);
                   URLConnection cn = url.openConnection();
                   cn.connect();
                   InputStream stream = cn.getInputStream();
                   if (stream == null)
                       throw new RuntimeException("stream is null");
                   File temp = File.createTempFile("mediaplayertmp", "dat");
                   temp.deleteOnExit();
                   String tempPath = temp.getAbsolutePath();
                   FileOutputStream out = new FileOutputStream(temp);
                   byte buf[] = new byte[256];
                   do {
                       int numread = stream.read(buf);
                       if (numread <= 0)
                           break;
                       out.write(buf, 0, numread);
                   } while (true);
                   try {
                       stream.close();
                   } catch (IOException ex) {
                       Log.e(TAG, "error: " + ex.getMessage(), ex);
                   }

                   return tempPath;
               }
           }