Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (61)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (7853)

  • How to use ffmpeg to extract frames from video and read as a list of images in python in memory without writing files

    11 octobre 2020, par yiy

    At my application server, I have a stream of Webm chunks coming from browsers that users record live videos. I want to analyze each frame simultaneously. So I used python to create a generator yielding the Webm file binaries to feed into ffmpeg. I use the command python convert.py | ffmpeg -i pipe: -r 1 output%3d.jpg to create a set of frames files. (The convert.py is just the generator to yield binary webm data for ffmpeg).

    


    My question is that how can I make the ffmpeg output to a new pipe that in python I can read as a list of images directly ?

    


  • avcodec/parser : move parsers list and related API to its own file

    21 juillet 2018, par James Almer
    avcodec/parser : move parsers list and related API to its own file
    

    And add it to the CONFIGURABLE_COMPONENTS list in Makefile. This way, changes
    to the new file will be tracked and the usual warning to suggest re-running
    configure will be shown.

    Reviewed-by : Rostislav Pehlivanov <atomnuker@gmail.com>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] Makefile
    • [DH] configure
    • [DH] libavcodec/Makefile
    • [DH] libavcodec/parser.c
    • [DH] libavcodec/parsers.c
  • Trim with transition/fade using FFMPEG given a list of timestamps

    19 janvier 2024, par realsarm

    I have a video and a list of timestamps that I want to filter.

    &#xA;

    [&#xA;  {&#xA;    "timestamp": [10, 20],&#xA;    "state": true&#xA;  },&#xA;  {&#xA;    "timestamp": [30, 40],&#xA;    "state": false&#xA;  },&#xA;  {&#xA;    "timestamp": [50, 60],&#xA;    "state": true&#xA;  },&#xA;  {&#xA;    "timestamp": [70, 80],&#xA;    "state": true&#xA;  }&#xA;]&#xA;

    &#xA;

    I have a script like this to trim based on state.

    &#xA;

        video_path = Path(video_in.name)&#xA;    video_file_name = video_path.stem&#xA;&#xA;    timestamps_to_cut = [&#xA;        (timestamps_var[i][&#x27;timestamp&#x27;][0], timestamps_var[i][&#x27;timestamp&#x27;][1])&#xA;        for i in range(len(timestamps_var)) if timestamps_var[i][&#x27;state&#x27;]]&#xA;&#xA;    between_str = &#x27;&#x2B;&#x27;.join(&#xA;        map(lambda t: f&#x27;between(t,{t[0]},{t[1]})&#x27;, timestamps_to_cut))&#xA;&#xA;    if timestamps_to_cut:&#xA;        video_file = ffmpeg.input(video_path)&#xA;        video = video_file.video.filter(&#xA;            "select", f&#x27;({between_str})&#x27;).filter("setpts", "N/FRAME_RATE/TB")&#xA;        audio = video_file.audio.filter(&#xA;            "aselect", f&#x27;({between_str})&#x27;).filter("asetpts", "N/SR/TB")&#xA;&#xA;        output_video = f&#x27;./videos_out/{video_file_name}.mp4&#x27;&#xA;        ffmpeg.concat(video, audio, v=1, a=1).output(&#xA;            output_video).overwrite_output().global_args(&#x27;-loglevel&#x27;, &#x27;quiet&#x27;).run()&#xA;

    &#xA;

    How can I smooth out this trimming like adding a fade or smoothing transition each time state is false ?

    &#xA;