Recherche avancée

Médias (91)

Autres articles (84)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (10910)

  • ffmpeg/mkvtoolnix - Remuxing new audio track to a specific 'track' position ?

    22 octobre 2018, par Saxon Rix

    I’m currently working on using this ’nightmode downmix’ script for ffmpeg which I found here.

    @echo off
    set PATH_MKVMERGE=D:\Programs\VideoProcessing\mkvtoolnix
    set PATH=%PATH%;%PATH_MKVMERGE%
    @echo on

    cd /d %~dp0

    For %%a IN ("*.mkv") Do (
    echo ---------------------- BATCH STARTING %%~na%%~xa
    ffmpeg.exe -report -loglevel verbose -i "%%~na%%~xa" -map 0:a:0 -f wav -acodec pcm_f32le -ac 2 -af "pan=stereo|FL=FC+0.25*FL+0.60*LFE|FR=FC+0.20*FR+0.60*LFE" - | qaac.exe --tvbr 127 --quality 2 --rate keep --ignorelength --no-delay - -o "%%~na-ffmpeg.m4a" 1>>qaac.log 2>&amp;1
    If exist "%%~na.srt" (
       mkvmerge.exe --split 4000M -o "%%~na-2chnightmode%%~xa" --no-chapters --no-audio "%%~na%%~xa" "%%~na-ffmpeg.m4a" "%%~na.srt" 1>>"mkvmerge.log" 2>&amp;1
    ) Else (
       mkvmerge.exe --split 4000M -o "%%~na-2chnightmode%%~xa" --no-chapters --no-audio "%%~na%%~xa" "%%~na-ffmpeg.m4a" 1>>"mkvmerge.log" 2>&amp;1
    )
    )

    Currently this just encodes the audio, then remuxes it with the video and in the end it leaves me with a video file with the original (copied) video & the down-mixed audio track as well as the separate audio file that it created.

    However, this puts the new audio track to the bottom of the stack. Eg, The original file has audio tracks in this order :

    1. 5.1 Track
    2. Commentary Track

    The newly exported audio goes at the end like this :

    1. 5.1 Track
    2. Commentary Track
    3. nightmode track

    Is there any way to force the new track to be the 2nd track, and move all other tracks (except the default track) below it, as well as give the track a title such as ’NightMode 2.0’ ? And also to automatically delete the ’intermediate’ audio track it creates after it’s all been muxed back together ?

    So that in the end I’m left with a re-muxed video file that has all the original audio tracks in, as well as the newly created ’NightMode’ track too as the second audio track (after the default track).

    Is this possible please ?

  • Discord.NET 1.0.2 sending voice to voice channel not working

    17 octobre 2018, par Sahar Ariel

    I did everything like the Discord.Net Documentation guide on voice -
    https://discord.foxbot.me/latest/guides/voice/sending-voice.html
    and it didn’t work the bot just joined the voice channel but it dont make any sound.
    and i have ffmpeg installed in PATH and ffmpeg.exe in my bot Directory along with opus.dll and libsodium.dll so i dont know what is the problem...

       public class gil : ModuleBase<socketcommandcontext>
    {
       [Command("join")]
       public async Task JoinChannel(IVoiceChannel channel = null)
       {
           // Get the audio channel
           channel = channel ?? (Context.Message.Author as IGuildUser)?.VoiceChannel;
           if (channel == null) { await Context.Message.Channel.SendMessageAsync("User must be in a voice channel, or a voice channel must be passed as an argument."); return; }

           // For the next step with transmitting audio, you would want to pass this Audio Client in to a service.
           var audioClient = await channel.ConnectAsync();

           await SendAsync(audioClient,"audio/hello.mp3");
       }

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

       private async Task SendAsync(IAudioClient client, string path)
       {
           // Create FFmpeg using the previous example
           using (var ffmpeg = CreateStream(path))
           using (var output = ffmpeg.StandardOutput.BaseStream)
           using (var discord = client.CreatePCMStream(AudioApplication.Mixed))
           {
               try { await output.CopyToAsync(discord); }
               finally { await discord.FlushAsync(); }
           }
       }
    }
    </socketcommandcontext>

    please help

  • FFmpeg complex filter Invalid stream specifier : v2

    12 mars 2023, par Aji Aneesh

    I am new in ffmpeg, When i am trying the below ffmpeg command i got the Invalid stream specifier: v2 . What was the reason for this error ?

    &#xA;

    ffmpeg -i input.mp4 -filter_complex " \&#xA;[0:v]crop=100:100:50:50,boxblur=10:enable=&#x27;between(t,0,5)&#x27;[v1]; \&#xA;[0:v][v1]overlay=50:50[v2]; \&#xA;[v2]crop=200:200:400:400,boxblur=10:enable=&#x27;between(t,5,12)&#x27;[v3]; \&#xA;[v2][v3]overlay=400:400[v4]; \&#xA;[v4]crop=640:360:0:0,scale=-1:720[v5]; \&#xA;[v4][v5]overlay=0:0:enable=&#x27;between(t,0,5)&#x27;[output]" \&#xA;-map "[output]" \&#xA;output-mixed-100.mp4&#xA;

    &#xA;

    Please help me.

    &#xA;