Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (57)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (7481)

  • RTMP stream in Android using Vitamio with librtmp

    8 septembre 2015, par user3774795

    I need to play some rtmp video in android app. I found solution here. But when my video played more than 1 minutes, I got errors and video stopped.

    Code

    private String path;
    private int streamId;
    @Bind(R.id.streamVideoView) VideoView mVideoView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.activity_view_stream);
       ButterKnife.bind(this);
       setupVideoView();        
    }

    private void setupVideoView() {
       path = getIntent().getStringExtra("streamURL");
       streamId = getIntent().getIntExtra("streamId", 0);
       if (!io.vov.vitamio.LibsChecker.checkVitamioLibs(this))
           return;
       mVideoView.setVideoPath(path + " live=1");
       mVideoView.setBufferSize(2048);
       mVideoView.start();        
    }

    Errors

    D/HybiParser﹕ Creating frame for : [B@53686940 op : 10 err : -1

    I/Vitamio﹕ Info (901, 107) D/Vitamio﹕ onInfo : (901, 107)

    I/Vitamio﹕ Info (901, 84) D/Vitamio﹕ onInfo : (901, 84)

    D/HybiParser﹕ Sending pong !!

    D/HybiParser﹕ Creating frame for : [B@53675358 op : 10 err : -1

    I/Vitamio﹕ Info (901, 119) D/Vitamio﹕ onInfo : (901, 119)

    E/Vitamio[Player]﹕ [h264 @ 0xb8705270] sps_id (32) out of range

    E/Vitamio[Player]﹕ [h264 @ 0xb8705270] sps_id out of range

    E/Vitamio[Player]﹕ [h264 @ 0xb8705270] non-existing PPS 35 referenced

    E/Vitamio[Player]﹕ [h264 @ 0xb8705270] decode_slice_header error

    E/Vitamio[Player]﹕ [h264 @ 0xb8705270] no frame !

    E/Vitamio[Player]﹕ FFMPEG NATIVE avcodec_decode_video2

    E/Vitamio[Player]﹕ [h264 @ 0xb8705270] non-existing PPS 35 referenced

    E/Vitamio[Player]﹕ [h264 @ 0xb8705270] decode_slice_header error

    E/Vitamio[Player]﹕ [h264 @ 0xb8705270] no frame !

    E/Vitamio[Player]﹕ FFMPEG NATIVE avcodec_decode_video2

    Please, help me !!

  • FFmpeg problems on Android

    7 février 2015, par Scott

    Having realised that MediaPlayer will not do what I need in my application I decided to see if I could make FFmpegMediaPlayer work. I need to be able to seek to a specified point in milliseconds and Android MediaPlayer only seeks to the next key frame after the given time in milliseconds.

    I have written a small test app and added the pre built libraries from here :

    FFmpegMediaPlayer

    The code I am using to test is below, basically the same code from the sample at the link above. The issue I have is when I try to play the video file I just get an endless stream of logcat output until I kill the application :

    import java.io.IOException;    
    import wseemann.media.FFmpegMediaPlayer;
    import android.app.Activity;
    import android.graphics.PixelFormat;
    import android.media.MediaPlayer;
    import android.os.Bundle;
    import android.os.Environment;
    import android.util.Log;
    import android.view.SurfaceHolder;
    import android.view.SurfaceView;
    import android.view.View;
    import android.view.View.OnClickListener;
    import android.widget.Button;

    public class MainActivity extends Activity {

       Button btnPlay;
       public String TAG = "PlayerTest";
       public static String path = Environment.getExternalStorageDirectory().toString();
       public static String fileName = "/TestVideos/Five minute sync test.mp4";
       private SurfaceView mPreview;
       private SurfaceHolder holder;

       //private MediaPlayer mp;
       private FFmpegMediaPlayer mp;

       @Override
       protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.activity_main);  
           btnPlay     = (Button)      findViewById(R.id.play);
           mPreview    = (SurfaceView) findViewById(R.id.surface);
           btnPlay.setOnClickListener(new OnClickListener(){
               @Override
               public void onClick(View v) {
                   playVideo();
               }
           });
           getWindow().setFormat(PixelFormat.TRANSPARENT);
           holder = mPreview.getHolder();
           holder.setFixedSize(400, 300);          
       }

       public void playVideo(){        
           mp = new FFmpegMediaPlayer();
           mp.setDisplay(mPreview.getHolder());        
           mp.setOnPreparedListener(new FFmpegMediaPlayer.OnPreparedListener() {
               @Override
               public void onPrepared(FFmpegMediaPlayer mp) {
                   mp.start();        
               }
           });
           mp.setOnErrorListener(new FFmpegMediaPlayer.OnErrorListener() {
               @Override
               public boolean onError(FFmpegMediaPlayer mp, int what, int extra) {
                   mp.release();
                   return false;
               }
           });

           try {
               mp.setDataSource(path+fileName);
               mp.prepareAsync();
           } catch (IllegalArgumentException e) {
               e.printStackTrace();
           } catch (SecurityException e) {
               e.printStackTrace();
           } catch (IllegalStateException e) {
               e.printStackTrace();
           } catch (IOException e) {
               e.printStackTrace();
           }
       }
    }

    Logcat output :

    TAG Fill buffer: 0 -> 30104

    If I change FFmpegMediaPlayer to MediaPlayer it runs fine. Is there something obvious that I am missing ?

  • FFMPEG install on Amazon Cloud9 IDE

    27 mai 2021, par Scott Tallarida

    I am attempting to install FFMPEG on my cloud9 instance. Everything seems to be going peachy until I receive the following :

    


    configure: checking for guile 3.0
configure: found guile 3.0
checking for guile-3.0... no
checking for guile3.0... no
checking for guile-3... no
checking for guile3... no
checking for guile... /home/ubuntu/.linuxbrew/opt/guile@2/bin/guile
configure: error: found development files for Guile 3.0, but 
/home/ubuntu/.linuxbrew/opt/guile@2/bin/guile has effective version 2.2


    


    I am SUPER ubuntu newb but it seems there is some baked-in version conflict that is stopping this process ?