Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (65)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (10634)

  • swscale/output : Altivec-optimize yuv2plane1_8

    17 novembre 2018, par Lauri Kasanen
    swscale/output : Altivec-optimize yuv2plane1_8
    

    ./ffmpeg_g -f rawvideo -pix_fmt rgb24 -s hd1080 -i /dev/zero -pix_fmt yuv420p \
    - f null -vframes 100 -v error -nostats -

    1158 UNITS in planar1, 65528 runs, 8 skips

    - cpuflags 0

    19082 UNITS in planar1, 65533 runs, 3 skips

    16.48 speedup ratio. On x86, SSE2 is 7. Curiously, the Power C version
    takes as many cycles as the x86 SSE2 version, yikes it's fast.

    Note that this function uses VSX instructions, but is not marked so.
    This is because several existing functions also make that mistake.
    I'll submit a patch moving them once this is reviewed.

    Signed-off-by : Lauri Kasanen <cand@gmx.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libswscale/ppc/swscale_altivec.c
  • Error writing to file when saving matplotlib animation with a given codec

    31 mars 2017, par idesh

    I’ve had trouble saving an mp4 animation created with matplotlib with a given codec. However I should mention beforehand that I could save the mp4 animation without specifying codecs and that seems to work fine, except that I am not able to insert this mp4 animation into powerpoint for a presentation. Powerpoint says it cannot read the file because it is missing 64bit codec.

    When digging further I discovered that Windows media player which is used by power point for the animations, has already some video codecs installed.

    So I thought of saving the initial matplotlib animation with one of these codecs, which is also compatible with ffmpeg. The command ffmpeg -codecs on terminal lists the supported codecs and I could spot the codecs common with ffmpeg and windows media player, ex : MSS1, MSS2

    So I tried to save the animation with the argument codec set as follows.

    anim = animation.FuncAnimation(fig, animate, 158,interval=300, blit=True)
    writer = animation.writers['ffmpeg']
    anim.save('film_v5.mp4', codec='mss1')

    Nevertheless it leads to an error, no matter what type of codec argument I put.

    So I was wondering perhaps there was someone savvy, willing to help me troubleshoot this problem. Despite my attempts I could not find any solution in the stackoverflow forum.

    Thank you in advance for your attention.

  • Linux : Create a file for writing with controlled flushing to disk in large chunks [closed]

    12 août 2023, par Pete

    On Linux I have a process (ffmpeg) that writes very slowly (even slower than 1kb / s sometimes) to disk. Ffmpeg can buffer this to 256kb chunks that get written infrequently but ffmpeg hangs occasionally and if I try to detect these hangs by checking that the file is being updated I need to wait a long time between updates, up to 10 or 15 mins, otherwise I can sometimes mistakenly kill the ffmpeg process when it appears to have stopped writing when it fact its still filling its internal buffer.

    &#xA;

    Theres no way to detect this it seems unless I use strace (that I can find anyway). So I am wondering about turning off buffering in ffmpeg and writing unbuffered to disk from ffmpeg.

    &#xA;

    This will result in the disk constantly making tiny writes and wasting power (and probably, if I use a SSD, mess with wear levelling too).

    &#xA;

    So I would like to make ffmpeg write to a 'virtual file' (in memory - either kernel memory or a process) which I can specify the flushing characteristics of. The idea being to perhaps specify flush every 2 minutes, then I can keep an eye on the file size and make sure its still being written.

    &#xA;

    I don't think I've missed any other ways to do this job - even if I could watch the socket stream incoming to ffpmeg the process itself could still stop writing and lose data. Doing the buffering outside of ffmpeg seems like the best way.

    &#xA;

    Is there a built in way to do this in Linux or does it mean a custom process ? I guess I know how to do this with a small C program and pipe the data in but I wonder if theres a neater way.

    &#xA;