Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (59)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (4474)

  • ffmpeg 4 or higher c++ code equivalence of this command ? [closed]

    25 février 2020, par Aintsoa

    I want the equivalence of this command on c++ code :

    ffmpeg -i input -i logo -filter_complex 'overlay=10:main_h-overlay_h-10' output

    I know that to make it we must use ffmpegcpp::Filter class like :

    Filter* filter = new Filter("scale=640:150,transpose=cclock,vignette", encoder)

    It’s for rotate but for the overlay ? thanks !!

  • System command error code of 126

    15 octobre 2012, par mike O.

    Please, I am trying to convert an mpg file to flv with ffmpeg. I am using the php system() command to execute it. However, I get an error code of 126. Any idea of what that means ? Here is my code :
    system($ffmpegPath. " -i ". $srcFile. " -b 4000k -maxrate 4000k -bufsize 1835k ". $destFile, $cmd_status)

    Thanks. I discovered I was referring to the wrong ffmpeg binary. However, now that I am pointing to the right binary, I get an error of 127. Any help ?

  • Intel IPP RGBToYUV420 function is getting IppStsSizeErr result code

    6 février 2018, par yesilcimen.ahmet

    I am using IPP 2017.0.3(r55431) and Delphi 10.2, I am trying convert RGB to YUV420P, but I am getting IppStsSizeErr result code.

    I have m_dst_picture, m_src_picture: AVPicture structure created by FFMPEG.

    { allocate the encoded raw picture }

    ret := avpicture_alloc(@m_dst_picture, AV_PIX_FMT_YUV420P, c^.width, c^.height);

    if (ret < 0) then
       Exit(False);

    { allocate BGR frame that we can pass to the YUV frame }
    ret := avpicture_alloc(@m_src_picture, AV_PIX_FMT_BGR24, c^.width, c^.height);
    if (ret < 0) then
      Exit(False);
    //It works fine.
    { convert BGR frame (m_src_picture) to and YUV frame (m_dst_picture) }
    sws_scale(sws_ctx, @m_src_picture.data[0], @m_src_picture.linesize, 0, c^.height, @m_dst_picture.data[0], @m_dst_picture.linesize);

    I want to convert the RGB buffer directly to YUV420P. The original code first loads RGB into the AVPicture then convert RGB to YUV420P with sws_scale and it causes slowness.

    Here I copy the BGR buffer to m_src_picture of FFMPEG. But this leads to performance loss, so I want to convert it directly to YUV420P using Intel IPP.

    procedure WriteFrameBGR24(frame: PByte);
    var
     y: Integer;
    begin
     for y := 0 to m_c^.height - 1 do
       Move(PByte(frame - (y * dstStep))^, PByte(m_src_picture.data[0] + (y * m_src_picture.linesize[0]))^, dstStep);
    end;

    In the code below I am trying to convert using Intel IPP.

    { Converting RGB to YUV420P. }

    **roiSize is 1920 and 1080

    **The values created by FFMPEG for YUV420P in m_dst_picture.linesize are [0]=1920,[1]=960,[2]=960 respectively.

    Do I need to convert the values of the linesize to another value ?

    **The reason why the srcStep parameter is a minus sign is the Bottom-Up Bitmap and the frame pointer indicates the Bmp.ScanLine[0] address, which indicates the highest pointer address.

    srcStep := (((width * (3 * 8)) + 31) and not 31) div 8; //for 24 bitmap

    { Swap of BGR channels to RGB. }
    //It works fine    
    st := ippiSwapChannels_8u_C3IR(frame, -srcStep, roiSize, @BGRToRGBArray[0]);

    { Convert RGB to YUV420P. }
    //IppStsSizeErr  
    st := ippiRGBToYUV420_8u_C3P3R(frame, -srcStep, @m_dst_picture.data[0], @m_dst_picture.linesize[0], roiSize);

    How do I solve this problem ?

    Thank you.