Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (51)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (10851)

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

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