Recherche avancée

Médias (5)

Mot : - Tags -/open film making

Autres articles (77)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (8008)

  • 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>&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>&1
    ) Else (
       mkvmerge.exe --split 4000M -o "%%~na-2chnightmode%%~xa" --no-chapters --no-audio "%%~na%%~xa" "%%~na-ffmpeg.m4a" 1>>"mkvmerge.log" 2>&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;