Recherche avancée

Médias (91)

Autres articles (89)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

Sur d’autres sites (10560)

  • php exec command to encode video to h.264 mp4 file using ffmpeg and x264 tool on ubuntu

    7 avril 2012, par matt

    I have a dedicated server with ffmpeg and the x264 tool installed. I can encode any video and works really well. But now I need to encode videos to play on iPads, iPhones... the format needs to be mp4 and using the h.264 codec.

    I'm using PHP to enconde videos, I'm just looking for an exec command to do the above encoding.
    what I'm using for the other videos is :

    exec("ffmpeg -i movie.mov -sameq -acodec mp3 -ar 22050 -ab 32 -f flv -s 1280x720 movie.flv");

    I just need something similar to that for encoding mp4
    by the way, I can't use libx264. I can only use the x264 tool

    Cheers

  • Generate image from a swf file issue

    24 avril 2013, par Rouge

    I am trying to generate first frame of a swf as a thumbnail image so the user can see it before they open the swf file.

    1.Using FFMpeg

    ffmpeg -i movie.swf -f image2 -vcodec png movie%d.png

    using command line with ffmpeg to generate images. the above command will
    give me errors saying

    [swf @ 0x17937a0] Compressed SWF format not supported
    

    2.Using swftools

    Their website provide a tar file to download however, I only have the command line access in the server so I won't be able to install the tools.

    I need to use server side technology because I have hundreds of swf files.

  • FFmpeg WebP vs PNG alpha

    11 août 2022, par Yoz

    Attached x.png and x.webp (webp created from png) have transparent background covered by white X shape.

    


    For some reason FFmpeg scale filter treats the x.png and x.webp differently.
Applying scale filter on the x.webp, causes the output video alpha around the X shape to be premultiplied and so renders with ugly edges.

    


    Following commands, esp. out-webp-scale.png output demonstrates the issue :

    


    out-webp-scale.png

    


    ffmpeg -filter_complex "color=white:200x200[b];movie=x.png,[b]overlay" -y out-png.png

ffmpeg -filter_complex "color=white:200x200[b];movie=x.png,scale=200:200,[b]overlay" -y out-png-scale.png

ffmpeg -filter_complex "color=white:200x200[b];movie=x.webp,[b]overlay" -y out-webp.png

ffmpeg -filter_complex "color=white:200x200[b];movie=x.webp,scale=200:200,[b]overlay" -y out-webp-scale.png


    


    I tried all possible scale filter flags, and also format changing (before and after scale) but no luck to achieve the same result. I am able to un-premultipy the problematic one with unpremultiply filter but I would like to avoid it.

    


    I wonder if there is any workaround for having the same command for both png-s and webp-s

    


    Attachments (please note the completely white image x.png) :

    


    x.png
out-webp-scale.png