Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (83)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (15127)

  • How to convert the sample rate with ffmpeg-python

    7 septembre 2022, par Nori

    I'm using ffmpeg-python. I would like to change the sample rate of the audio file.

    


    In ffmpeg-, it seems that you can change the sample rate as follows.

    


    ffmpeg -i" movie.mp3 "-y" movie.flac "-ar 44100


    


    -ar is sample rate.

    


    How do I change the sample rate by ffmpeg-python ?

    


    This is my source code that is currently being written.

    


    stream = ffmpeg.input(input_file_path)
audio = stream.audio
stream = ffmpeg.output(audio, output_file_path)
ffmpeg.run(stream, capture_stdout=True, capture_stderr=True)


    


  • Generating MP4 from HLS in gstreamer

    5 juillet 2018, par Guru Govindan

    I am trying to generate MP4s from HLS streams with discontinuity tags. Since the videos are from the same source the FPS and the WXH are the same.

    I tested with the following pipeline to demux and play it and it works fine

    gst-launch-1.0 -v souphttpsrc location= ! hlsdemux ! decodebin name=decoder \
    ! queue ! autovideosink decoder. ! queue ! autoaudiosink

    To this I added the x264 enc and avenc_aac encoder to save it to a file and it keeps failing on
    "gstadaptivedemux.c(2651): _src_chain (): /GstPipeline:pipeline0/GstHLSDemux:hlsdemux0"

    Failing Pipeline

    gst-launch-1.0 -v  mp4mux name=mux faststart=true presentation-time=true ! filesink location=dipoza.mp4 \
    souphttpsrc location= ! hlsdemux ! decodebin name=decoder ! queue name=q1 ! \
    videoconvert ! queue name=q2 ! x264enc name=encoder ! mux.  decoder. \
    ! queue name=q3 ! audioconvert ! queue name=q4 ! avenc_aac ! mux.

    I really appreciate any help in this.

  • Process Multiple Streams using ffmpeg-python

    27 novembre 2019, par C Dorman

    I have a MPEG-2 TS with a stream of video and a steam of KLV metadata. I can use ffmpeg-python to process each of these streams independently. For example, I can get the video stream, process each frames using numpy as shown in the docs. I can also get the data stream and show it in following way (using the library klvdata) :

    process = (
       ffmpeg
           .input(in_filename)
           .output('pipe:', format='data', codec='copy', map='data-re')
           .run_async(pipe_stdout=True, pipe_stderr=True)
    )

    for packet in klvdata.StreamParser(process.stdout.read()):
       packet.structure()

    process.wait()

    How do I do these at the same time ? I need to split the TS data into its streams and process them both, keeping them in sync. ffmpeg by itself can demultiplex the streams into separate files, but how do I handle the streams in python. The KLV has information that I want to show on top of the video stream (recognition boxes).