Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (57)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

Sur d’autres sites (6023)

  • avfilter/vf_ciescope : Fix undefined behavior in rgb_to_xy() with black

    5 juin 2021, par Michael Niedermayer
    avfilter/vf_ciescope : Fix undefined behavior in rgb_to_xy() with black
    

    Fixes : floating point division by 0
    Fixes : undefined behavior in handling NaN
    Fixes : Ticket 8268

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavfilter/vf_ciescope.c
  • ffmpeg how to remove black borders when resizing an image

    3 juin 2021, par Mapg

    I am creating some thumbnails using FFmpeg and I see that some black borders are created when I resize them.

    &#xA;

    I guess this is happening because the video source dimension doesn't match exactly the target dimension, so FFmpeg fills out the blank space with this black color.

    &#xA;

    My question is ...

    &#xA;

    Can I change this "black color" used by FFmpeg by default so I can match these extra borders added with the background of my application ?

    &#xA;

    If this is not possible ...

    &#xA;

    Can I convert these black borders to a transparent area so I can create a PNG to match my background which has a different color (a kind of light green)

    &#xA;

    I have attached an example where you will see two black pixels height in the bottom zone of the picture.

    &#xA;

    This is what I want to convert to transparent or being able to choose my own color.

    &#xA;

    Any idea to solve this issue will be very helpful for me ?

    &#xA;

    Thank you very much in advance !

    &#xA;

    Mapg

    &#xA;

    enter image description here

    &#xA;

  • OpenCL generating YUV420P black pixel

    2 mai 2021, par Albert Tinon

    I'm working on an FFmpeg OpenCL filter for converting GoPro Max .360 files in Google EAC projected files.&#xA;For doing that I need to "stack" the 2 input streams to a twice height output.&#xA;It is working very well at a realtime speed. (The working code is in comment)

    &#xA;

    For going further I need to replace some pixels with some specific colors.&#xA;I wrote some macros for making RGB->YUV conversion. But I get only some green or pink pixel (only grey is OK).&#xA;this is my test code (with stacking in comment)

    &#xA;

    #define Y(R,G,B) 0.299 * R &#x2B; 0.587 * G &#x2B; 0.114 * B&#xA;#define U(R,G,B) -0.147 * R - 0.289 * G &#x2B; 0.436 * B&#xA;#define V(R,G,B) 0.615 * R - 0.515 * G - 0.100 * B&#xA;#define YUV(R,G,B) (float4)(Y(R,G,B),U(R,G,B),V(R,G,B),0)&#xA;&#xA;__kernel void gopromax_stack(__write_only image2d_t dst,&#xA;                                __read_only  image2d_t gopromax_front,&#xA;                                __read_only  image2d_t gopromax_rear)&#xA;{&#xA;    const sampler_t sampler = (CLK_NORMALIZED_COORDS_FALSE |&#xA;                               CLK_FILTER_NEAREST);&#xA;    &#xA;    float4 val;&#xA;    int2 dst_size = get_image_dim(dst);&#xA;    int2 loc = (int2)(get_global_id(0), get_global_id(1));&#xA;    int split_loc = dst_size.y/2;&#xA;&#xA;        if (loc.y &lt; split_loc)&#xA;        {&#xA;          // working code for stacking&#xA;          //  val = read_imagef(gopromax_front, sampler, (int2)(loc.x, loc.y));&#xA;&#xA;          // testing to put grey (working)&#xA;            val = YUV(0.5f,0.5f,0.5f);&#xA;        }&#xA;        else&#xA;        {&#xA;          // working code for stacking&#xA;          //  val = read_imagef(gopromax_rear, sampler, (int2)(loc.x, loc.y-split_loc));&#xA;&#xA;          // testing to put black (gives green !)&#xA;            val = YUV(0,0,0);&#xA;        }&#xA;&#xA;    if ((loc.xcode>

    &#xA;

    I tried many think I cannot succeed to generate black or anything except grey.&#xA;What did I make wrong ?&#xA;I supposed that my pixels are YUV because I specified yuv420p as the format in my filter :

    &#xA;

    -filter_complex &#x27;[0:0]format=yuv420p,hwupload[a] , [0:4]format=yuv420p,hwupload[b], [a][b]gopromax_opencl, hwdownload,format=yuv420p&#x27;&#xA;

    &#xA;

    The source streams are in hevc / nv12.

    &#xA;

    Thanks all for your help.

    &#xA;