Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (50)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (5798)

  • VoiceClient.play() doesn't play any audio

    13 juin 2019, par sickoofer2

    I am trying to make a music bot in discord.py, but whenever I tried to play audio using VoiceClient.play(), it never played anything, just stayed in the voice channel.

    async def play(ctx):
       for VoiceClient in client.voice_clients:
           if VoiceClient.guild == ctx.guild:
               await VoiceClient.play(discord.FFmpegPCMAudio('song.mp3'))
               embed = discord.Embed(title=f'⬅  {ctx.author.mention},  I am now playing that song.', color=0x51BDEF)
               await ctx.send(embed=embed)

    There weren’t any error messages either, just doesn’t play anything

  • OpenCV Java binds VideoCapture from file failing silently

    8 décembre 2014, par muz0

    I’m using OpenCV 2.4.8 with the supplied Windows 64bit Java jar. I’ve been making full use of OpenCV in my current environment up until this point.

    I’m unable to open video files using the
    VideoCapture class however webcam feeds work just fine.

    The below works as expected with video.isOpened returning true

       VideoCapture video = new VideoCapture();
       boolean result = video.open(0);

    The below fails with video.isOpened returning false

       VideoCapture video = new VideoCapture();
       boolean result = video.open("res/hand-test-1.mp4");

    Neither file formats seems to make a difference (These are converted, not just renamed in hope)

       video.open("res/hand-test-1.mp4");
       video.open("res/hand-test-1.avi");
       video.open("res/hand-test-1.wmv");

    Location seems to matter not either.

       video.open("C:/hand-test-1.mp4");
       video.open("C:\\hand-test-1.mp4");
       video.open("hand-test-1.mp4");

    Neither does garbage, no exception kicked up from OpenCV through Java either, seems to fail silently.

       video.open("ashdkfhkajsjdfkhaksdf");

    PATH contains the ffmpeg directory supplied with the opencv installation,

       C:\dev\opencv\sources\3rdparty\ffmpeg

    Right now I’ve run out of ideas, it seems like whatever I throw to the native via video.open(String) will return false.

    Any help would be much appreciated

  • Java Process Builder runs ffmpeg commands very slowly

    16 septembre 2022, par Mary

    I'm trying to run ffmpeg in Java using ProcessBuilder. I'm on Windows. It works fine. But not sure why it's much slower than when I just run the same command in command prompt or PowerShell.

    


    Why is it ? Is there any ways to increase the speed ?

    


    processBuilder.command("C:\\Windows\\System32\\cmd.exe", "/c","ffmpeg.exe", "-y", "-i", video,"-vf","scale=720:-1","out.mp4");
    processBuilder.redirectErrorStream(true);
    try {
                process = processBuilder.start();
                BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
                
                String line="";
                while ((line = reader.readLine()) != null) {
                        System.out.println(line);
        }
        } catch (Exception e) {
            System.err.println("Error in processBuilder. ");
        }