Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (70)

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

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (12350)

  • Heroku : [Errno 13] Permission Denied : /app/ffmpeg.exe

    4 mars 2021, par GetTwoBirdsStonedAtOnce

    So I made a python bot and I wanted to equip it with the ability to play music. I have been following this tutorial.

    &#xA;

    Unfortunately when I run the play command I get the [Errno 13] Permission Denied: /app/ffmpeg.exe error. I have included the ffmpeg.exe file in my project branch as well as all of the ffmpeg files. I host this bot on heroku. I ran heroku logs --tail but this doesn't show me anything, I see the error as the output on a discord channel. Before you suggest it, I already have ran this : heroku config:set DISABLE_COLLECTSTATIC = 1. Of course to no avail... Here's the fragment of my code where I point to the ffmpeg.exe file :&#xA;return cls(discord.FFmpegPCMAudio(executable="/app/ffmpeg.exe", source = source), data=data, requester=ctx.author)

    &#xA;

    Rest of the code is irrelevant as this is the only part that makes impact on the end result. Hope you can help me, cheers !

    &#xA;

  • Stream low latency RTSP video to android with ffmpeg

    21 octobre 2014, par grzebyk

    I am trying to stream live webcam video from Ubuntu 12.04 PC to android device with KitKat. So far I’ve written ffserver config file to receive ffm feed and broadcast it through a rtsp protocol. I am able to watch the stream on the other computer in the same LAN with ffplay.

    How to watch the stream on the android device ? The following code works well when the webcam image is streamed with vlc but it doesn’t with ffmpeg :

    public class MainActivity extends Activity implements MediaPlayer.OnPreparedListener,
           SurfaceHolder.Callback {

       final static String RTSP_URL = "rtsp://192.168.1.54:4424/test.sdp";

       private MediaPlayer _mediaPlayer;
       private SurfaceHolder _surfaceHolder;

       @Override
       protected void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);
           // Set up a full-screen black window.
           requestWindowFeature(Window.FEATURE_NO_TITLE);
           Window window = getWindow();
           window.setFlags(
                   WindowManager.LayoutParams.FLAG_FULLSCREEN,
                   WindowManager.LayoutParams.FLAG_FULLSCREEN);
           window.setBackgroundDrawableResource(android.R.color.black);
           getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
           setContentView(R.layout.activity_main);

           // Configure the view that renders live video.
           SurfaceView videoView =
                   (SurfaceView) findViewById(R.id.videoView); //where R.id.videoView is a simple SurfaceView element in the layout xml file
           _surfaceHolder = videoView.getHolder();
           _surfaceHolder.addCallback(this);
           _surfaceHolder.setFixedSize(320, 240);
       }
       @Override
       public void surfaceCreated(SurfaceHolder surfaceHolder) {
           _mediaPlayer = new MediaPlayer();
           _mediaPlayer.setDisplay(_surfaceHolder);
           Context context = getApplicationContext();
           Uri source = Uri.parse(RTSP_URL);
           try {
               // Specify the IP camera's URL and auth headers.
               _mediaPlayer.setDataSource(context, source);

               // Begin the process of setting up a video stream.
               _mediaPlayer.setOnPreparedListener(this);
               _mediaPlayer.prepareAsync();
           }
           catch (Exception e) {}
       }
       @Override
       public void onPrepared(MediaPlayer mediaPlayer) {
           _mediaPlayer.start();
       }
    }

    My ffserver.config file :

    HTTPPort 8090
    RTSPBindAddress 0.0.0.0
    RTSPPort 4424
    MaxBandwidth 10000
    CustomLog -

    <feed>
           File /tmp/feed1.ffm
           FileMaxSize 20M
           ACL allow 127.0.0.1
    </feed>
    <stream>
       Feed feed1.ffm
       Format rtp  
       VideoCodec libx264
       VideoSize 640x480
       AVOptionVideo flags +global_header
       AVOptionVideo me_range 16
       AVOptionVideo qdiff 4
       AVOptionVideo qmin 10
       AVOptionVideo qmax 51
       Noaudio
       ACL allow localhost
           ACL allow 192.168.0.0 192.168.255.255
    </stream>

    I am starting the stream with this command : ffmpeg -f v4l2 -i /dev/video0 -c:v libx264 -b:v 600k http://localhost:8090/feed1.ffm

  • SWAY at RFWS using Coviu

    14 février 2016, par silvia

    A SWAY session by Joanne of Royal Far West School. http://sway.org.au/ via https://coviu.com/ SWAY is an oral language and literacy program based on Aboriginal knowledge, culture and stories. It has been developed by Educators, Aboriginal Education Officers and Speech Pathologists at the Royal Far West School in Manly, NSW.

    Category : Array
    Uploaded by : Silvia Pfeiffer
    Hosted : youtube