Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (25)

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

  • FFMPEG android very slow converting raw aac to mp3

    24 novembre 2013, par Feras

    I managed to compile ffmpeg for android from this repo :
    https://github.com/aksalj/ffmpeg-android
    So you can see the configuration options in here :
    https://github.com/aksalj/ffmpeg-android/blob/master/config.sh

    The only changes I did were to change the darwin-x86_54 to darwin-x86 since the new r9b NDK only comes with it and also change the androideabi-4.4.3 to androideabi-4.6 again because of the new NDK. I am encoding a raw ADTS aac to mp3, the decoder for aac is libav and encoder for mp3 is libmp3lame. Even though the process works a simple 5 minute aac files (44100, 2ch) is taking about 3 minutes to process. The same file on my mac (with the macports ffmpeg) takes a few seconds.

    I am not sure but are there any optimizations that can be made to the ffmpeg config script or maybe i need to compile ffmpeg with something like libaacplus(even though i think aacplus is used for encoding only, so shouldnt make a difference).Anyways any performance optimizations will be highly appreciated !

    The android device is a US Galaxy S3 (i747m model which has the Snapdragon S4).

  • libavfi/dnn : add LibTorch as one of DNN backend

    15 mars 2024, par Wenbin Chen
    libavfi/dnn : add LibTorch as one of DNN backend
    

    PyTorch is an open source machine learning framework that accelerates
    the path from research prototyping to production deployment. Official
    website : https://pytorch.org/. We call the C++ library of PyTorch as
    LibTorch, the same below.

    To build FFmpeg with LibTorch, please take following steps as
    reference :
    1. download LibTorch C++ library in
    https://pytorch.org/get-started/locally/,
    please select C++/Java for language, and other options as your need.
    Please download cxx11 ABI version :
    (libtorch-cxx11-abi-shared-with-deps-*.zip).
    2. unzip the file to your own dir, with command
    unzip libtorch-shared-with-deps-latest.zip -d your_dir
    3. export libtorch_root/libtorch/include and
    libtorch_root/libtorch/include/torch/csrc/api/include to $PATH
    export libtorch_root/libtorch/lib/ to $LD_LIBRARY_PATH
    4. config FFmpeg with ../configure —enable-libtorch \
    —extra-cflag=-I/libtorch_root/libtorch/include \
    —extra-cflag=-I/libtorch_root/libtorch/include/torch/csrc/api/include \
    —extra-ldflags=-L/libtorch_root/libtorch/lib/
    5. make

    To run FFmpeg DNN inference with LibTorch backend :
    ./ffmpeg -i input.jpg -vf \
    dnn_processing=dnn_backend=torch:model=LibTorch_model.pt -y output.jpg

    The LibTorch_model.pt can be generated by Python with torch.jit.script()
    api. https://pytorch.org/tutorials/advanced/cpp_export.html. This is
    pytorch official guide about how to convert and load torchscript model.
    Please note, torch.jit.trace() is not recommanded, since it does
    not support ambiguous input size.

    Signed-off-by : Ting Fu <ting.fu@intel.com>
    Signed-off-by : Wenbin Chen <wenbin.chen@intel.com>
    Reviewed-by : Guo Yejun <yejun.guo@intel.com>

    • [DH] configure
    • [DH] libavfilter/dnn/Makefile
    • [DH] libavfilter/dnn/dnn_backend_torch.cpp
    • [DH] libavfilter/dnn/dnn_interface.c
    • [DH] libavfilter/dnn_filter_common.c
    • [DH] libavfilter/dnn_interface.h
    • [DH] libavfilter/vf_dnn_processing.c
  • How to read ip camera(rtsp) frames with python smoothly and without and delay and lagging for a long reading ? [closed]

    22 juillet, par Ayub Alam

    I am working on a client project to count cement bags on a trolley. The setup is as follows : Cement bags are placed on a trolley, which is then loaded into a wagon. During this process, I need to count how many bags are loaded. For this task, I am using the YOLOv11n-seg model.

    &#xA;

    To capture the video feed, I am reading an IP camera stream via an RTSP link. However, during detection and counting, the frames often lag or delay, disrupting smooth processing. Initially, I tried OpenCV for camera streaming, but it had performance issues. Then, I switched to GStreamer, but the problem persisted. Finally, I attempted FFmpeg, but it still didn’t resolve the latency issue

    &#xA;

    "As of now, I've tried multiple approaches to read an IP camera's RTSP stream, but I still face delays and lagging issues. I've used GStreamer, FFmpeg packages, and OpenCV, but none of them provide smooth camera reading. On the other hand, VLC and other media players stream very smoothly. Why is this happening ?"

    &#xA;