Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (73)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

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

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8419)

  • Precise image overlay over video using ffmpeg

    22 août 2017, par Sunny Tambi

    I want to overlay various icon-images over a given video (which is created using the sequence of images) in a time and position precise manner. I am using FFmpeg for the same.
    Here are the commands I am using :

    Image to video conversion command

    ffmpeg -framerate 5 -start_number 0 -i images/img%04d.png -vframes 1000 -r 30 -vcodec libx264 -crf 25  -pix_fmt yuv420p out.mp4 -y

    Images superimpose over video command

    ffmpeg -analyzeduration 10000 -hwaccel auto -i out.mp4 -i icons/up.png -i icons/down.png -i icons/left.png -i icons/right.png -i icons/top.png -i icons/bottom.png -i icons/side.png -filter_complex [0:v]setpts=PTS-STARTPTS[0];
    [1:v]setpts=PTS-STARTPTS[i1];
    [2:v]setpts=PTS-STARTPTS[i2];
    [3:v]setpts=PTS-STARTPTS[i3];
    [4:v]setpts=PTS-STARTPTS[i4];
    [5:v]setpts=PTS-STARTPTS[i5];
    [6:v]setpts=PTS-STARTPTS[i6];
    [0][i1]overlay=211.875:319.916:enable='between(t,0.610,0.910)'[1];
    [1][i2]overlay=212.344:309.516:enable='between(t,1.810,2.110)'[2];
    [2][i3]overlay=37.969:332.396:enable='between(t,2.775,3.075)'[3];
    [3][i4]overlay=202.500:307.436:enable='between(t,3.626,3.926)'[4];
    [4][i5]overlay=37.734:296.203:enable='between(t,4.531,4.831)'[5];
    [5][i6]overlay=208.359:313.676:enable='between(t,5.602,5.902)'[6];
    [6][i7]overlay=34.688:383.150:enable='between(t,6.733,7.033)'[7];
    -map [7] -y -movflags +faststart superimposed.mp4

    My problem is that I am not getting precision in time. i.e. if there is an icon to be overlayed at 0.61 sec, it doesn’t come exactly at 0.61 sec. Sometimes it comes at 1.0 sec, sometimes at 0.30 sec and sometimes at some other unpredictable time.

    I have an HTML5 video player where the user is allowed to seek the video with 100-millisecond precision. The user expects the icon to see precisely at 0.61 sec. However, above inaccuracy limits the capabilities of my video player.

    Please suggest what could be wrong in my implementation/command.

  • Gradient is bad in video [closed]

    1er juillet 2023, par Andres Miguel Campos

    I'm trying to capture a css animation with gradient. But when capturing the video I get a bad quality

    &#xA;

    I have used the following css for the screen

    &#xA;

    &#xD;&#xA;
    &#xD;&#xA;
    &#xA;&#xA;&#xA;&#xA;  &#xA;  &#xA;&#xA;&#xA;&#xA;&#xA;  <div class="horizontal-gradient">&#xA;&#xA;  </div>&#xA;&#xA;&#xA;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    I have also used the following libraries or frameworks

    &#xA;

    &#xA;

    puppeteer-screen-recorder(NodeJS)

    &#xA;

    &#xA;

    &#xA;

    Canvas(JavaScript)

    &#xA;

    &#xA;

    &#xA;

    remotion.dev(Reac and Nodejs)

    &#xA;

    &#xA;

    &#xA;

    Obs

    &#xA;

    &#xA;

    But it still shows me poor video quality

    &#xA;

    Bad Image

    &#xA;

    Any support is welcome

    &#xA;

  • C# discord bot no sound using ffmpeg

    23 mars 2018, par Tao Sun

    I’m trying to implement a music bot using C# for discord. The code is currently hanging at

    await output.CopyToAsync(discord);

    with no sound in voice channel. Here’s the code :

    public async Task SendAudioAsync(IGuild guild, IMessageChannel channel, string path)
           {
               var ffmpeg = CreateStream(path);
               var output = ffmpeg.StandardOutput.BaseStream;


               if (audioClient!=null)
               {

                   Console.WriteLine("get channel!" + audioClient.ToString());

                   var discord = audioClient.CreatePCMStream(AudioApplication.Voice);
                   Console.WriteLine("before copying");
                   await output.CopyToAsync(discord);
                   Console.WriteLine("finished copying");
                   await discord.FlushAsync();
                   Console.WriteLine("finished");
               }
           }


           private Process CreateStream(string path)
           {
               return Process.Start(new ProcessStartInfo
               {
                   FileName = "E:\\discord_projects\\yikkuro_s_slave\\bot\\yikkuro_s_slave_bot\\ffmpeg\\bin\\ffmpeg.exe",
                    Arguments = $"-i {path} -ac 2 -f s16le -ar 48000 pipe:1",
                   UseShellExecute = false,
                   RedirectStandardOutput = true
               });
           }

    I think its kinda doing the job with console output :
    enter image description here

    But there is no sound in discord.