Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (30)

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

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6739)

  • Windows Batch - Change the beginning of a path but keep the rest

    21 juin 2014, par o_ren

    I’m running FFMPEG for video encoding.
    I have a batch file which will encode files you drop on it, keeping the file’s original name and copy the encoded files to a specific directory.
    I would like that script to "know" the original’s file path and copy the encoded file to a path relative to it, meaning :
    original file dropped on batch file is in C :\some\folder\show\season\episode\file.mov
    encoded file should be encoded to D :\different\directory\show\season\episode\file.mp4
    The part of the path up until \show is fixed.

    This is what I have so far :

    @echo on

    set count=0
    for %%a in (%*) do (<br />
     if exist %%a (

           md \\specific\path\"%%~na"

           %MYFILES%\ffmpeg.exe -i "%%~a" -vcodec libx264 -preset medium -vprofile baseline -level 3.0 -b 500k -vf scale=640:-1 -acodec aac -strict -2 -ac 2 -ab 64k -ar 48000 "%%~na_500.mp4"
           copy "%%~na_500.mp4" "\\specific\path\"%%~na"\%%~na_500.mp4"
           copy "%%~na_500.mp4" "\\specific\path\"%%~na"\%%~na_500.mp4"
           del "%%~na_500.mp4"

    set /a count+=1

    ) else (
    echo Skipping non-existent %% a

    Thank you,
    Oren

  • encoding by using ffmpeg library

    22 août 2013, par Mustafe

    I am currently developing an application by using ffmpeg library. I have a problem with encoding pcm/raw datas. In ffmpeg/encoding_decoding.c source code, at line 146 in this function :

    buffer_size = av_samples_get_buffer_size(NULL, c->channels, c->frame_size, c->sample_fmt, 0);

    buffer_size is being calculated. My function always returns -22 which states an error. After a little examanation I noticed that in line 1888 at avcodec.h it is stated as following which shows the reason. Since CODEC_CAP_VARIABLE_FRAME_SIZE is set my function returns -22 and my program terminates. In this case the encoding code example in ffmpeg's website also could not work. How can I solve this problem ?

    encoding: set by libavcodec in avcodec_open2(). Each submitted frame except the last must contain exactly frame_size samples per channel. May be 0 when the codec has CODEC_CAP_VARIABLE_FRAME_SIZE set, then the frame size is not restricted. decoding: may be set by some decoders to indicate constant frame size
  • bytestream : Make get_bytes_left compatible with overread

    14 décembre 2019, par Andreas Rheinhardt
    bytestream : Make get_bytes_left compatible with overread
    

    bytestream2_get_bytes_left returns an unsigned int ; as a result,
    it returns big positive numbers if an overread already happened,
    making it unsuitable for scenarios where one wants to allow this
    in a controlled way (because the buffer is actually padded so that
    no segfaults can happen). So change it to return an ordinary int.

    Also, bytestream2_get_bytes_left_p has been modified in the same way.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/bytestream.h