Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (55)

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

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (5777)

  • Video cutting with ffmpeg with standard i/o

    15 octobre 2023, par Крошка Сын

    I'm struggling with the problem of cropping moments and applying the "blur" effect in ffmpeg from under c#. Here is my process startup code :

    


    _ffmpegProc = new Process
    {
        StartInfo = new ProcessStartInfo
        {
            RedirectStandardInput = true,
            RedirectStandardOutput = true,
            RedirectStandardError = true,
            UseShellExecute = false,
            CreateNoWindow = true,
            FileName = "/usr/bin/ffmpeg"
        },
        EnableRaisingEvents = true
    };


    


    Here is the I/O code via streams :

    


    using (Stream inpt = new MemoryStream(input))&#xA;    {&#xA;        inpt.CopyTo(_ffmpegProc.StandardInput.BaseStream);&#xA;        _ffmpegProc.StandardInput.Close();&#xA;    }&#xA;&#xA;    var response = Array.Empty<byte>();&#xA;    using (var output = new MemoryStream())&#xA;    {&#xA;        _ffmpegProc.StandardOutput.BaseStream.CopyTo(output);&#xA;        response = output.ToArray();&#xA;    }&#xA;</byte>

    &#xA;

    The problem occurs when I want to crop the video, namely, as soon as I add the -ss hh:mm:ss flag -to hh:mm:ss, an error immediately pops up :

    &#xA;

    &#xA;

    System.IO.IOException : Connection timed out ---> System.Net.Sockets.SocketException (110) : Connection timed out

    &#xA;

    &#xA;

    Here is the argument I use to crop video fragments :

    &#xA;

    var arg =&#xA;        $"-i - -ss 00:01:05 -to 00:03:10 -c copy -f matroska -";&#xA;return StartFfmpeg(arg, input);&#xA;

    &#xA;

    Moreover, if I remove the -to hh:mm:ss flag, then everything will be fine.&#xA;If you look at the ffmpeg log, then everything works fine there&#xA;As far as I understood, the error happens exactly when transferring already from ffmepg

    &#xA;

    I've tried a bunch of different libraries, but they don't fit because of weak stream support

    &#xA;

    Audio extraction, video creation from pictures, transcoding everything works, but for some reason with video cropping I can't even figure out where to look to find an error

    &#xA;

  • How to set profile compatibility and level indication of an fMP4 using ffmpeg ?

    27 novembre 2014, par Pablo Montilla

    I’m using ffmpeg to generate a fragmented mp4 stream that will be consumed by an HTML5 player using MSE. I think I have a correctly formatted mp4 stream of data with an empty moov at the start and a series of moof+mdat for the video fragments. What I’m stuck is with the codec that’s being received by Chrome.

    chrome ://media-internals has this to say :

    00:00:00 00 pipeline_state  kCreated
    00:00:00 00 EVENT           PIPELINE_CREATED
    00:00:00 00 EVENT           WEBMEDIAPLAYER_CREATED
    00:00:00 00 url             blob:http%3A//localhost/3388b7f1-5567-4d76-a585-0b247affd16a
    00:00:00 00 pipeline_state  kInitDemuxer
    00:00:07 68 error           Video codec: avc1.4d401e

    From which I gather the problem is with the encoded data, which should be in avc1.4d0020 as its specified in the javascript.

    I’ve seen the answer to html5 video tag codecs attribute, which tells me I need to reset profile_compatibility and AVCLevelIndication, but I couldn’t find an option to do that.

    Here’s the command line I’m using (the pipe is read and sent to the web page using web sockets) :

    ffmpeg -re -i Input.mp4 -map 0:0 -y -c:v libx264 -preset veryslow -x264opts intra-refresh=1 -tune psnr -refs 1 -b:v 1500k -bf 0 -g 8 -b-pyramid none -f mp4 -movflags empty_moov+omit_tfhd_offset+frag_keyframe -frag_duration 1000000 -profile:v main -iods_video_profile 0 -flags +loop \\.\pipe\FeedPipe

    So the question is, can I set the profile_compatiblity and AVCLevelIndictation in the ffmpeg command line ?

  • configure : Separate commonalities in msvc and icl flags

    30 mai 2013, par Alex Smith
    configure : Separate commonalities in msvc and icl flags
    

    Allows for easier handling of flags that may be specific to icl or msvc.
    Furthermore, simplify the handling of warnings and remarks thanks to
    icl’s support of -Wall on Windows.

    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DBH] configure