Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (41)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (5757)

  • Getting Flask to accept chunked encoding

    22 août 2014, par Andrew

    Is it possible to have Python Flask reading chunked encoding sent to it ?

    I have a very simple routine where I want to read the output from ffmpeg -progress which sends progress updates via chunked encoding.

    What happens though is Flask closes the connection after the first POST.

    my routine is very simple

    @app.route('/status', methods=['POST','GET'])
    def get_status():
       logging.error(request.headers)
       logging.error(request.data)
       logging.error(request.args)
       return "OK"

    What I see in the output is as follows and ffmpeg closes when the POST does

    ERROR:root:Transfer-Encoding: chunked
    Content-Length:
    User-Agent: Lavf/55.45.100
    Connection: close
    Host: localhost:50000
    Accept: */*
    Content-Type:


    ERROR:root:
    ERROR:root:ImmutableMultiDict([])

    Excuse my lazy logging to error. Note in this case I am running Flask in debug mode but otherwise would like to run in Tornado or an equivalent simple container with permissions that make it easy to run command line programs like ffmpeg

  • FFMpeg - add sound to video that already contain sound

    24 mars 2016, par jacky brown

    Here is what I have : input1.avi - video that contain sounds. input2.avi - video that doesn’t contain sounds. music.mp3 - audio file.

    I want to add background music(music.mp3 file) to the video.

    C :\input1.avi -i C :\music.mp3 -shortest -c:v copy -c:a copy C :\output1.avi
    then output1.avi is the same as input1 - movie with sounds but without the background music (music.mp3)

    when I try to use the other file (video without sounds) :

    C :\input2.avi -i C :\music.mp3 -shortest -c:v copy -c:a copy C :\output2.avi
    then output2.avi is the same as input2 + it have the background music.

    I tried to execute this too :

    C:\ffmpeg\bin>ffmpeg -i C:\input.avi -i C:\music.mp3 -shortest -c:v copy -filter_ complex "[1]volume=1.5[1a];[0][1a]amerge[a]" -map 0:v -map "[a]" -ac 2 C:\output1.avi

    but got the next error messsage :

    ffmpeg version N-78949-g6f5048f Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
    ibilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopenc
    ore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --ena
    ble-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable
    -libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --ena
    ble-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx
    264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable
    -lzma --enable-decklink --enable-zlib
     libavutil      55. 19.100 / 55. 19.100
     libavcodec     57. 27.101 / 57. 27.101
     libavformat    57. 28.100 / 57. 28.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 39.100 /  6. 39.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, avi, from 'C:\output1.avi':
     Metadata:
       encoder         : Lavf57.28.100
     Duration: 00:02:05.76, start: 0.000000, bitrate: 450 kb/s
       Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 720
    x480 [SAR 1:1 DAR 3:2], 440 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
       Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 k
    b/s
    [mp3 @ 00000000005abc20] Skipping 0 bytes of junk at 32370.
    Input #1, mp3, from 'C:\music.mp3':
     Metadata:
       title           : Broadcast News Package - News Intro
       artist          : After Effects News Template
     Duration: 00:01:57.89, start: 0.025057, bitrate: 194 kb/s
       Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
       Metadata:
         encoder         : Lavc56.26
    [Parsed_amerge_1 @ 0000000000610200] No channel layout for input 1
    [Parsed_amerge_1 @ 0000000000610200] No channel layout for input 2
    [AVFilterGraph @ 00000000005ddfe0] The following filters could not choose their
    formats: Parsed_amerge_1
    Consider inserting the (a)format filter near their input or output.
    Error configuring complex filters.
    I/O error

    So why input1 does not contain the background music ? and how can I decrease or increase the volume of music.mp3 file ?

  • FFMPEG fit 1920x1080 video in 1080x1920 video (Instagram Reels)

    10 mars 2021, par tjallo

    I am trying to post a video on Instagram. My current video is 1920x1080, but for Instagram reels it needs to be in 1080x1920 resolution (Basically Vertical). But instead of posting the video on its side, I like to post it with black bars (see image below). But I don't know which transform commands I need to use in ffmpeg to make this work (and also couldn't find any relevant posts).

    


    Porsche Style 1080p video in Vertical video