Recherche avancée

Médias (91)

Autres articles (37)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

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

Sur d’autres sites (6089)

  • ffmpeg watermarking error : video pixel format unknown, Parser not found for codec

    13 décembre 2011, par Sunil

    I am trying to watermark my video but I am getting pixel format and codec errors.

    I am using latest version of FFmpeg git-7d531e8 64-bit Static (Latest) (2011-12-12) from link http://ffmpeg.zeranoe.com/builds/

    I am using the below code to add watermark to my video.

    ffmpeg -i inputputfile.avi -target pal-vcd "movie=abc.png [Watermark] ; [in][Watermark] overlay=10:10 [out]" outputfile.avi.

    But i am receiving the error of video pixel format unknown and parser not found for codec error.

    Later, I changed by code to add codec and pixel format.

    ffmpeg -i inputputfile.avi -vcodec wmv3 -pxl_fmt yuv420p -target pal-vcd "movie=abc.png [Watermark] ; [in][Watermark] overlay=10:10 [out]" outputfile.avi.

    However I am still receiving the same error. Please help.

  • How to encode video using ffmpeg-java on Android from Bitmaps ?

    15 décembre 2011, par gtcompscientist

    I am using ffmpeg-java compiled for Android to encode/decode video for my application.

    The problem that I've run into is that I am currently getting each frame as a Bitmap (just a plain android.graphics.Bitmap) and I can't figure out how to stuff that into the encoder.

    Here is the code that I am using to instantiate all the ffmpeg libraries :

       AVCodecLibrary cLibrary = AVCodecLibrary.INSTANCE;
       cLibrary.avcodec_register_all();
       cLibrary.avcodec_init();

       AVFormatLibrary fLibrary = AVFormatLibrary.INSTANCE;
       fLibrary.av_register_all();

       //AVUtilLibrary uLibrary = AVUtilLibrary.INSTANCE;
       //uLibrary.av_malloc();

       AVCodec pCodec = cLibrary.avcodec_find_encoder(AVCodecLibrary.CODEC_ID_H263);
       if (pCodec == null)
       {
           Logging.Log("Unable to find codec.");
           return;
       }
       Logging.Log("Found codec.");


       AVCodecContext codecCtx = cLibrary.avcodec_alloc_context();
       codecCtx.bit_rate = 64000;
       codecCtx.coded_width = VIDEO_WIDTH;
       codecCtx.coded_height = VIDEO_HEIGHT;
       codecCtx.time_base = new AVRational(1, VIDEO_FPS);
       codecCtx.pix_fmt = AVCodecLibrary.PIX_FMT_YUV420P;
       codecCtx.codec_id = AVCodecLibrary.CODEC_ID_H263;
       //codecCtx.codec_type = AVMEDIA_TYPE_VIDEO;

       if (cLibrary.avcodec_open(codecCtx, pCodec) < 0)
       {
           Logging.Log("Unable to open codec.");
           return;
       }
       Logging.Log("Codec opened.");

    This is what I want to be able to execute next :

    cLibrary.avcodec_encode_video(codecCtx, pPointer, pFrame.size(), pFrame);

    But, as of now, I don't know how to put the Bitmap into the right piece or if I have that setup correctly.

    A few notes about the code :
    - VIDEO_WIDTH = 352
    - VIDEO_HEIGHT = 288
    - VIDEO_FPS = 30 ;
    - I'm unsure about how pPointer and pFrame are handled.

  • video conversion using ffmpeg in php

    24 mars 2012, par user1270879

    I am converting videos to .flv format using ffmpeg in php. The files are converted into .flv but the size of the file 0 kb. What is the reason ?

    My code

    $ffmpegPath = "/usr/bin/ffmpeg";
    $flvtool2Path = "/usr/bin/flvtool2";

    $cmd=($ffmpegPath . " -i " . $srcFile . " -ar " . $srcAR . " -ab " . $srcAB . " -f flv -s " . $srcWidth . "x" . $srcHeight . " " . $destFile . " | " . $flvtool2Path . " -U stdin " . $destFile);