Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (57)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (4384)

  • aarch64 : vvc : Fix compilation of alf.S with MSVC 2022 17.7 and older

    23 juillet 2024, par Martin Storsjö
    aarch64 : vvc : Fix compilation of alf.S with MSVC 2022 17.7 and older
    

    Use the "ldur" instruction explicitly, instead of having the
    assembler implicitly convert "ldr" instructions to "ldur".

    This fixes build errors like these :

    libavcodec\aarch64\vvc\alf.o.asm(1023) : error A2518 : operand 2 : Memory offset must be aligned
    ldr q22, [x3, #24]
    libavcodec\aarch64\vvc\alf.o.asm(1024) : error A2518 : operand 2 : Memory offset must be aligned
    ldr q24, [x2, #24]
    libavcodec\aarch64\vvc\alf.o.asm(1393) : error A2518 : operand 2 : Memory offset must be aligned
    ldr q22, [x3, #24]
    libavcodec\aarch64\vvc\alf.o.asm(1394) : error A2518 : operand 2 : Memory offset must be aligned
    ldr q24, [x2, #24]

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavcodec/aarch64/vvc/alf.S
  • C# server problem with FFmpeg Visual Studio 2022

    16 mai 2024, par seanofdead

    Hello everyone I've spent countless hours on my server I'm trying to create that will share video from one stream to another client computer. That is the goal anyway. I'm using Visual Studio 2022 most recent update. Currently this is my code

    &#xA;

    using System;&#xA;using System.IO;&#xA;using System.Net;&#xA;using System.Net.Sockets;&#xA;using System.Threading.Tasks;&#xA;using FFmpeg.AutoGen;&#xA;using NLog;&#xA;&#xA;public class VideoStreamServer&#xA;{&#xA;    private const int Port = 5000;&#xA;    private TcpListener server;&#xA;    private FFmpegVideoEncoder encoder;&#xA;    private static readonly Logger logger = LogManager.GetCurrentClassLogger();&#xA;&#xA;    public VideoStreamServer()&#xA;    {&#xA;        // Initialize FFmpeg network components&#xA;        Console.WriteLine("Initializing FFmpeg network components...");&#xA;        int result = ffmpeg.avformat_network_init();&#xA;        if (result != 0)&#xA;        {&#xA;            throw new ApplicationException($"Failed to initialize FFmpeg network components: {result}");&#xA;        }&#xA;&#xA;        // Initialize encoder&#xA;        encoder = new FFmpegVideoEncoder(1920, 1080, AVCodecID.AV_CODEC_ID_H264); // Screen size &amp; codec&#xA;    }&#xA;&#xA;    public static void Main()&#xA;    {&#xA;        // Initialize NLog&#xA;        var logger = LogManager.GetCurrentClassLogger();&#xA;        logger.Info("Application started");&#xA;&#xA;        var server = new VideoStreamServer();&#xA;        server.Start().Wait();&#xA;    }&#xA;&#xA;    public async Task Start()&#xA;    {&#xA;        server = new TcpListener(IPAddress.Any, Port);&#xA;        server.Start();&#xA;        logger.Info($"Server started on port {Port}...");&#xA;&#xA;        try&#xA;        {&#xA;            while (true)&#xA;            {&#xA;                TcpClient client = await server.AcceptTcpClientAsync();&#xA;                logger.Info("Client connected...");&#xA;                _ = HandleClientAsync(client);&#xA;            }&#xA;        }&#xA;        catch (Exception ex)&#xA;        {&#xA;            logger.Error(ex, "An error occurred");&#xA;        }&#xA;    }&#xA;&#xA;    private async Task HandleClientAsync(TcpClient client)&#xA;    {&#xA;        using (client)&#xA;        using (NetworkStream netStream = client.GetStream())&#xA;        {&#xA;            try&#xA;            {&#xA;                await encoder.StreamEncodedVideoAsync(netStream);&#xA;            }&#xA;            catch (IOException ex)&#xA;            {&#xA;                logger.Error(ex, $"Network error: {ex.Message}");&#xA;                // Additional logging and recovery actions&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                logger.Error(ex, $"Unexpected error: {ex.Message}");&#xA;                // Log and handle other exceptions&#xA;            }&#xA;            finally&#xA;            {&#xA;                // Ensure all resources are cleaned up properly&#xA;                client.Close();&#xA;                logger.Info("Client connection closed properly.");&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;public class FFmpegVideoEncoder&#xA;{&#xA;    private readonly int width;&#xA;    private readonly int height;&#xA;    private readonly AVCodecID codecId;&#xA;    private static readonly Logger logger = LogManager.GetCurrentClassLogger();&#xA;&#xA;    public FFmpegVideoEncoder(int width, int height, AVCodecID codecId)&#xA;    {&#xA;        this.width = width;&#xA;        this.height = height;&#xA;        this.codecId = codecId;&#xA;        InitializeEncoder();&#xA;    }&#xA;&#xA;    private void InitializeEncoder()&#xA;    {&#xA;        // Initialize FFmpeg encoder here&#xA;        logger.Debug("FFmpeg encoder initialized");&#xA;    }&#xA;&#xA;    public async Task StreamEncodedVideoAsync(NetworkStream netStream)&#xA;    {&#xA;        // Initialize reusable buffers for efficiency&#xA;        byte[] buffer = new byte[4096];&#xA;&#xA;        // Capture and encode video frames&#xA;        while (true)&#xA;        {&#xA;            try&#xA;            {&#xA;                // Simulate capture and encoding&#xA;                byte[] videoData = new byte[1024]; // This would come from the encoder&#xA;&#xA;                // Simulate streaming&#xA;                for (int i = 0; i &lt; videoData.Length; i &#x2B;= buffer.Length)&#xA;                {&#xA;                    int chunkSize = Math.Min(buffer.Length, videoData.Length - i);&#xA;                    Buffer.BlockCopy(videoData, i, buffer, 0, chunkSize);&#xA;                    await netStream.WriteAsync(buffer, 0, chunkSize);&#xA;                }&#xA;            }&#xA;            catch (Exception ex)&#xA;            {&#xA;                logger.Error(ex, "Error streaming video data");&#xA;                throw; // Rethrow to handle in the calling function&#xA;            }&#xA;&#xA;            await Task.Delay(1000 / 30); // For 30 FPS&#xA;        }&#xA;    }&#xA;}&#xA;

    &#xA;

    When I build no issues but when i run it in debug mode I get this error

    &#xA;

    System.DllNotFoundException&#xA;  HResult=0x80131524&#xA;  Message=Unable to load DLL &#x27;avformat.59 under C:\Users\phlfo\Downloads\cfolder\server\ConsoleApp\bin\Debug\&#x27;: The specified module could not be found.&#xA;  Source=FFmpeg.AutoGen&#xA;  StackTrace:&#xA;   at FFmpeg.AutoGen.ffmpeg.LoadLibrary(String libraryName, Boolean throwException)&#xA;   at FFmpeg.AutoGen.ffmpeg.&lt;>c.&lt;.cctor>b__7_0(String libraryName)&#xA;   at FFmpeg.AutoGen.ffmpeg.&lt;>c.&lt;.cctor>b__7_242()&#xA;   at FFmpeg.AutoGen.ffmpeg.avformat_network_init()&#xA;   at VideoStreamServer..ctor() in C:\Users\phlfo\Downloads\cfolder\server\ConsoleApp\Program.cs:line 20&#xA;   at VideoStreamServer.Main() in C:\Users\phlfo\Downloads\cfolder\server\ConsoleApp\Program.cs:line 36&#xA;

    &#xA;

    I have FFmpeg.AutoGen package installed through VS i originally started with 7.0 but then switched to 5.0 to see if an older version might work (it did not). I also have the files in the same directory as the .exe for testing purposes as seen in the screenshot. Can someone please help me figure out this error.&#xA;enter image description here

    &#xA;

  • Join us at MatomoCamp 2024 world tour edition

    13 novembre 2024, par Daniel Crough — Uncategorized

    Join us at MatomoCamp 2024 world tour edition, our online conference dedicated to Matomo Analytics—the leading open-source web analytics platform that prioritises data privacy.

    • 🗓️ Date : 14 November 2024
    • 🌐 Format : 24-hour virtual conference accessible worldwide
    • 💰 Cost : Free and no need to register

    Event highlights

    Opening ceremony

    Begin the day with a welcome from Ronan Chardonneau, co-organiser of MatomoCamp and customer success manager at Matomo.

    View session | iCal link

    Keynote : “Matomo by its creator”

    Attend a special session with Matthieu Aubry, the founder of Matomo Analytics. Learn about the platform’s evolution and future developments.

    View session | iCal link

    Explore MatomoCamp 2024’s diverse tracks and topics

    MatomoCamp 2024 offers a wide range of topics across several tracks, including using Matomo, integration, digital analytics, privacy, plugin development, system administration, business, other free analytics, use cases, and workshops and panel talks.

    Featured sessions

    1. Using AI to fetch raw data with Python

    Speaker : Ralph Conti
    Time : 14 November, 12:00 PM UTC

    Discover how to combine AI and Matomo’s API to create unique reporting solutions. Leverage Python for advanced data analysis and unlock new possibilities in your analytics workflow.

    View session | iCal link

    2. Supercharge Matomo event tracking with custom reports

    Speaker : Thomas Steur
    Time : 14 November, 2:00 PM UTC

    Learn how to enhance event tracking and simplify data analysis using Matomo’s custom reports feature. This session will help you unlock the full potential of your event data.

    View session | iCal link

    3. GDPR with AI and AI Act

    Speaker : Stefanie Bauer
    Time : 14 November, 4:00 PM UTC

    Navigate the complexities of data protection requirements for AI systems under GDPR. Explore the implications of the new AI Act and receive practical tips for compliance.

    View session | iCal link

    4. A new data mesh era !

    Speaker : Jorge Powers
    Time : 14 November, 4:00 PM UTC

    Explore how Matomo supports the data mesh approach, enabling decentralised data ownership and privacy-focused analytics. Learn how to empower teams to manage and analyse data without third-party reliance.

    View session | iCal link

    5. Why Matomo has to create a MTM server side : The future of data privacy and user tracking

    Panel discussion
    Time : 14 November, 6:00 PM UTC

    Join experts in a discussion on the necessity of server-side tag management for enhanced privacy and compliance. Delve into the future of data privacy and user tracking.

    View session | iCal link

    6. Visualisation of Matomo data using external tools

    Speaker : Leticia Rodríguez Morado
    Time : 14 November, 8:00 PM UTC

    Learn how to create compelling dashboards using Grafana and Matomo data. Enhance your data visualisation skills and gain better insights.

    View session | iCal link

    7. Keep it simple : Tracking what matters with Matomo

    Speaker : Scott Fillman
    Time : 14 November, 9:00 PM UTC

    Discover how to focus on essential metrics and simplify your analytics setup for more effective insights. Learn tactics for a powerful, streamlined Matomo configuration.

    View session | iCal link

    Stay connected

    Stay updated with the latest news and announcements :

    Don’t miss out

    MatomoCamp 2024 world tour edition is more than a conference ; it’s a global gathering shaping the future of ethical analytics. Whether you aim to enhance your skills, stay informed about industry trends, or network with professionals worldwide, this event offers valuable opportunities.

    For any enquiries, please contact us at info@matomocamp.org. We look forward to your participation.