Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (38)

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

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

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

  • using ffmpeg to resize video with black bars

    23 juillet 2018, par Jens S

    i have a video with resolution 720:576 and i want it to have the ratio 16:9, e.g. 1024:576 with black bars on the sides. don’t know if it matters, but i am working with ffmpeg for windows. After research i tried the solution i found on 2 related questions :

    -i .\video.mp4 -vf scale=1024:576:force_original_aspect_ratio=decrease,pad=1024:576:(ow-iw)/2:(oh-ih)/2,setsar=1 out.mp4

    but i get an output that "ow-iw" was not recognized. Here is the complete output. unfortunatly it is in german(as am i) if u tell me how to change the output language i will provide it in english :

    ow-iw : Die Benennung "ow-iw" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des
    Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang.
    In Zeile:1 Zeichen:119
    + ... :576:force_original_aspect_ratio=decrease,pad=1024:576:(ow-iw)/2:(oh- ...
    +                                                             ~~~~~
       + CategoryInfo          : ObjectNotFound: (ow-iw:String) [], CommandNotFoundException
       + FullyQualifiedErrorId : CommandNotFoundException
  • avcodec/tiff : check the black level denominator

    26 octobre 2019, par James Almer
    avcodec/tiff : check the black level denominator
    

    Fixes ticket #8327.

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/tiff.c
  • OpenCL YUV420P black pixel

    30 avril 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;