Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (103)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (8850)

  • FFmpeg watermark is using first frame of video instead of the provided .png

    22 décembre 2020, par SPorridge

    I am trying to use FFmpeg on Windows10 to add a watermark to an existing mp4 video. Using the following command :

    


    ffmpeg -i input.mp4 -i watermark.png -filter_complex "overlay=10:10" output.mp4

    


    The expected result is the watermark.png image is added at position 10x10px throughout the video runtime. Instead, the first frame of input.mp4 is being added picture-in-picture style at that position instead.

    


    Looking through the documentation I am struggling to see how this is happening. When I remove watermark.png from the current directory, I get an error that it cannot be found, so it seems FFmpeg is at least recognising the existence of the .png when it is there.

    


    Thanks in advance for any advice !

    


  • Seamlessly switching from streaming one video to another

    28 octobre 2018, par mustang

    Suppose I have two videos :

    Video A is of a ball going through one full cycle of a bounce and is 30 frames long. At frame 1, the ball is at the top. On frame 15, the ball hits the floor, and on frame 30 the ball is back up at the same position as it started (suppose zero energy loss).

    Video B is of the same ball drifting to the right and it is 30 frames long too. At frame 1, the ball is in the same position as it is in Video A. On frame 15, it is half way to the right and down. n frame 30, it is all the way right and on the ground.

    I want a way to stream video A indefinitely. Then, when some event occurs, I want to be able to wait until video A is on frame 1 and seamlessly change over to streaming video B. How would I perform that ?

  • Android IP Camera

    23 décembre 2014, par CptCattivo

    I’m looking for a good working solution to integrate an IP-Cameras video stream in my Android App. At the moment i am using the "Axis P1214-E" which has a good image quality, but i couldn’t get a "LIVE" stream from it. Either the stream is very laggy or it’s a few seconds delayed (sometimes even more) or the stream is shutting down after awhile. What i tried so far :

    • Using a SurfaceView to get the MJPEG Stream as described in this post : Android and MJPEG
      Problem : Lagging

    • Using a WebView to get the RTSP stream :

    public class MainActivity extends Activity {

            private static final String TAG = "VideoViewExample.MainActivity";
            private static final String RTSP_URL = "rtsp://ip/axis-media/media.amp";
           
           
            private VideoView videoView;
            private MediaController mediaController;

            private OnPreparedListener opl;

            private int position = 0;

           
       @Override
       protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           setContentView(R.layout.activity_main);
           
           if(savedInstanceState != null)
               position = savedInstanceState.getInt("POSITION");
           
           
           videoView = (VideoView) findViewById(R.id.videoView);        
         
           
           opl = new OnPreparedListener() {
                           
                            @Override
                            public void onPrepared(MediaPlayer mp) {
                                                                   
                                    videoView.seekTo(position);
                                   
                                    if (position == 0) {
                                            videoView.start();
                                    }
                                    else {
                                           
                                            videoView.pause();
                                    }                               
                            }
                    };
           
           if (mediaController == null){
                   mediaController = new MediaController(this);
           }
           
           mediaController.setAnchorView(videoView);
           
           AsyncTask at = new AsyncTask() {

                            @Override
                            protected Void doInBackground(Void... params) {
                                    try{
                                    videoView.setMediaController(mediaController);                           
                                videoView.setVideoURI(Uri.parse(RTSP_URL));
                            } catch (Exception e) {
                                    Log.d(TAG, e.getMessage());
                            }
                                   
                            videoView.requestFocus();
                            videoView.setOnPreparedListener(opl);                       
                           
                                    return null;
                            }
                  
                    };
           at.execute();
           
       }
       
       @Override
       protected void onPause() {
           position = videoView.getCurrentPosition();
           super.onPause();
       }
       
       @Override
       public void onSaveInstanceState(Bundle outState) {
              
               super.onSaveInstanceState(outState);
               outState.putInt("POSITION", position);      
           
       }

    }

    Problem : Good video Quality, but delayed.

    • Using external frameworks like FFMPEG and GSTREAMER (Only some examples so far)
      Problem : Also very laggy and/or delayed.

    Now i’m running out of ideas to get this working. It’s very important for my Application that the stream is live and not lagging.
    I’m developing on a "Banana Pi" board with Android 4.2.2 (4.4 is possible as well).

    Does anybody know how to get this working ? Or maybe should i use an other camera ? Do you have any suggestions that would work well with android ?

    Thanks in advance

    Christian