Recherche avancée

Médias (1)

Mot : - Tags -/framasoft

Autres articles (87)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (6724)

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

    


    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 :
return cls(discord.FFmpegPCMAudio(executable="/app/ffmpeg.exe", source = source), data=data, requester=ctx.author)

    


    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 !

    


  • 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