Recherche avancée

Médias (0)

Mot : - Tags -/organisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (84)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

Sur d’autres sites (12220)

  • avformat/webpenc : Fix memleak when trailer is never written

    18 mars 2021, par Andreas Rheinhardt
    avformat/webpenc : Fix memleak when trailer is never written
    

    When the trailer is never written (or when a stream switches from
    non-animation mode to animation mode mid-stream), a cached packet
    (if existing) would leak. Fix this by adding a deinit function.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/webpenc.c
  • Could you please guide me on how to play a single sample of an audio file in C# using FFmpeg ?

    11 juillet 2023, par hello world

    What is the recommended approach for playing a single sample of an audio file in C# using FFmpeg ? I would like to incorporate FFmpeg into my C# application to play a specific sample from an audio file. Could someone provide an example or guide me on how to achieve this ? Any help would be appreciated.

    &#xA;

    using System;&#xA;using System.Diagnostics;&#xA;&#xA;public class AudioPlayer&#xA;{&#xA;    private string ffmpegPath;&#xA;&#xA;    public AudioPlayer(string ffmpegPath)&#xA;    {&#xA;        this.ffmpegPath = ffmpegPath;&#xA;    }&#xA;&#xA;    public void PlayAudioSample(string audioFilePath, TimeSpan samplePosition)&#xA;    {&#xA;        // Prepare FFmpeg process&#xA;        Process ffmpegProcess = new Process();&#xA;        ffmpegProcess.StartInfo.FileName = ffmpegPath;&#xA;        ffmpegProcess.StartInfo.Arguments = $"-ss {samplePosition} -i \"{audioFilePath}\" -t 1 -acodec pcm_s16le -f wav -";&#xA;        ffmpegProcess.StartInfo.RedirectStandardOutput = true;&#xA;        ffmpegProcess.StartInfo.RedirectStandardError = true;&#xA;        ffmpegProcess.StartInfo.UseShellExecute = false;&#xA;        ffmpegProcess.StartInfo.CreateNoWindow = true;&#xA;&#xA;        // Start FFmpeg process&#xA;        ffmpegProcess.Start();&#xA;&#xA;        // Play audio sample&#xA;        using (var audioOutput = new NAudio.Wave.WaveOutEvent())&#xA;        {&#xA;            using (var audioStream = new NAudio.Wave.RawSourceWaveStream(ffmpegProcess.StandardOutput.BaseStream, new NAudio.Wave.WaveFormat(44100, 16, 2)))&#xA;            {&#xA;                audioOutput.Init(audioStream);&#xA;                audioOutput.Play();&#xA;                while (audioOutput.PlaybackState == NAudio.Wave.PlaybackState.Playing)&#xA;                {&#xA;                    System.Threading.Thread.Sleep(100);&#xA;                }&#xA;            }&#xA;        }&#xA;&#xA;        // Wait for FFmpeg process to exit&#xA;        ffmpegProcess.WaitForExit();&#xA;    }&#xA;}&#xA;

    &#xA;

  • FFMPEG UDP to DASH I am wondering if it could be written more efficiently ?

    18 mars 2019, par c7borg

    I have the below working but it is quite cpu intensive I’ve just moved to ffmpeg 3.4 and was wondering if it could be written more efficently ?

    The below takes a multicast stream from our local LAN avoids the choppy footage by using the scenecut then adjusts the audio with the async to keep it in time and uses the yadif to deinterlace to provide better quality. This command/script also trims the maximum number of segments otherwise with a live stream it would fill up the directory.

    If anyone has any improvements I’d much appreciate it

    I also add subtitles using -filter_complex "[0:v][0:s]overlay" but this conflicts with the -vf yadif option.

    ffmpeg -i \
    "udp://@239.192.4.5:1234?overrun_nonfatal=1&amp;fifo_size=50000000" \
    -acodec aac -strict -2 -vcodec libx264 \
    -vf yadif \
    -af aresample=async=1 \
    -x264opts 'keyint=25:scenecut=-1' \
    -window_size 10 -extra_window_size 10 \
    -f dash /var/www/html/stream/out.mpd

    If it can’t be written more efficiently at least this may help others as it took me a long time to get this far. For reference I use shaka player in chromium for the client side