Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (39)

  • 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 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • avfilter/af_agate : Honour query_formats API, fix segfault

    21 septembre 2021, par Andreas Rheinhardt
    avfilter/af_agate : Honour query_formats API, fix segfault
    

    The sidechaingate filter wants its main input and its (only) output
    to have the same channel layout and number of channels ; yet it does
    not link them in its query_formats callback. Instead it sets the
    outlink to only accept the first offered choice for the main input's
    channel layout and then sets both inputs to independently accept
    any channel counts. The config_output callback then overwrote the
    outlink's channel layout and channels properties with the main input's,
    even though they may differ in case the first offered choice for
    the main input's channel layout turns out not to be the final one.

    Consider e.g. the following filtergraph :
    [in]aformat=channel_layouts=mono,aformat=channel_layouts=stereo|mono[out] ;\
    [out][in2]sidechaingate,stereotools
    The two aformats ensure that the first offered channel layout (stereo)
    will not be chosen for the input ; yet it is the only offered channel
    layout for the output of sidechaingate and will therefore be chosen
    by the query_formats framework. Because the sidechaingate outputs
    interleaved doubles which stereotools expects the output of
    sidechaingate appears to be suitable as input for stereotools without
    further conversions. Yet stereotools actually only receives a mono frame
    and therefore overreads its input buffer which leads to segfaults ;
    it can also lead to heap corruption because there can be writes beyond
    the end of the buffer, too.

    Fix this by linking the channel layouts of the main input and the output
    in query_formats and remove the code overwriting it in config_output.

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavfilter/af_agate.c
  • configure : arm : Don't add -march= to the compiler if no preference was passed

    20 septembre 2021, par Martin Storsjö
    configure : arm : Don't add -march= to the compiler if no preference was passed
    

    If no —cpu= option was passed to configure, we detect what the
    compiler defaults to. This detected value was then fed back to the
    rest of the configure logic, as if it was an explicit choice.

    This breaks on Ubuntu 21.10 with GCC 11.1.

    Since GCC 8, it's possible to add configure extra features via the
    - march option, like e.g. -march=armv7-a+neon. If the -mfpu= option
    is configured to default to 'auto', the fpu setting gets taken
    from the -march option.

    GCC 11.1 in Ubuntu seems to be configured to use -mfpu=auto. This
    has the effect of breaking any compilation command that specifies
    - march=armv7-a, because the driver implicitly also adds -mfloat-abi=hard,
    and that combination results in this error :

    cc1 : error : ‘-mfloat-abi=hard’ : selected processor lacks an FPU

    One can compile successfully by passing e.g. -march=armv7-a+fp.

    Therefore, restructure configure. If no specific preference was set
    (and the 'cpu' configure variable was set as the output of
    probe_arm_arch), the value we tried to set via -march= was the same
    value that we just tried to detect as the compiler default.

    So instead, just try to detect what the compiler defaults to, with
    to allow setting other configure settings (such as 'fast_unaligned'),
    but don't try to spell out the compiler's default via the -march flag.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] configure
  • moviepy write_videofile giving error on remote host

    30 juillet 2021, par HadiH2o

    I'm trying to put a logo on a video using the moviepy module&#xA;This module works properly on my PC(windows) but gives an error when I run the following code on the remote host I bought(linux).

    &#xA;

    code :

    &#xA;

    import random&#xA;import moviepy.editor as mp&#xA;import requests&#xA;&#xA;&#xA;def video_watermark(url):&#xA;    corners = [("right", "top"), ("left", "top"), ("right", "bottom"), ("left", "bottom")]&#xA;    response = requests.get(url)&#xA;    with open("media/videos/raw_video.mp4", "wb") as file:&#xA;        file.write(response.content)&#xA;&#xA;    video = mp.VideoFileClip("./media/videos/raw_video.mp4")&#xA;&#xA;    logo = (mp.ImageClip("./media/bold_logo.png")&#xA;            .set_duration(video.duration)&#xA;            .resize(height=50)  # if you need to resize...&#xA;            .margin(right=8, top=8, opacity=0)  # (optional) logo-border padding&#xA;            .set_pos(random.choice(corners)))&#xA;&#xA;    final = mp.CompositeVideoClip([video, logo])&#xA;    final.write_videofile("./media/videos/ready_video.mp4")&#xA;&#xA;video_watermark("url")&#xA;

    &#xA;

    error :

    &#xA;

    OSError: [Errno 32] Broken pipe&#xA; &#xA;MoviePy error: FFMPEG encountered the following error while writing&#xA;file ./media/videos/ready_video.mp4:&#xA; &#xA;b&#x27;Error initializing output stream 0:0 -- Error while opening encoder&#xA;for output stream #0:0 - maybe incorrect parameters such as bit_rate,&#xA;rate, width or height\n&#x27;&#xA;

    &#xA;

    please help me to fix this problem

    &#xA;