Recherche avancée

Médias (1)

Mot : - Tags -/3GS

Autres articles (85)

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

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (10684)

  • avcodec/bit_depth_template : Remove empty macro INIT_CLIP

    16 décembre 2024, par Zhao Zhili
    avcodec/bit_depth_template : Remove empty macro INIT_CLIP
    

    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] libavcodec/bit_depth_template.c
    • [DH] libavcodec/h264pred_template.c
    • [DH] libavcodec/h264qpel_template.c
    • [DH] libavcodec/mips/h264qpel_mmi.c
  • Empty audio backends for torchaudio list audio backends, with ffmpeg installed on system libraries [closed]

    28 mars, par Alberto Agudo Dominguez

    I installed torchaudio 2.5.1 and a system install of ffmpeg on Windows and get :

    &#xA;

    PS C:\Users\> ffmpeg -version&#xA;ffmpeg version 2025-01-05-git-19c95ecbff-essentials_build-www.gyan.dev Copyright (c) 2000-2025 the FFmpeg developers&#xA;built with gcc 14.2.0 (Rev1, Built by MSYS2 project)&#xA;configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband&#xA;libavutil      59. 54.101 / 59. 54.101&#xA;libavcodec     61. 31.100 / 61. 31.100&#xA;libavfilter    10.  6.101 / 10.  6.101&#xA;libswresample   5.  4.100 /  5.  4.100&#xA;libpostproc    58.  4.100 / 58.  4.100&#xA;&#xA;PS C:\Users\> python&#xA;Python 3.12.5 (tags/v3.12.5:ff3bc82, Aug  6 2024, 20:45:27) [MSC v.1940 64 bit (AMD64)] on win32&#xA;Type "help", "copyright", "credits" or "license" for more information.&#xA;>>> import torchaudio&#xA;>>> torchaudio.list_audio_backends()&#xA;[]&#xA;

    &#xA;

    Hence ffmpeg is added to the path and recognized by the console, but not by torchaudio.

    &#xA;

  • Trying to get pixels from a transparent AVI file to use them in a Raylib image but AVFrame comes out empty

    27 novembre 2024, par Kolt Penny

    I was trying to open a video file with FFmpeg's API using C++. So far all the steps up until calling av_read_frame has no errors :

    &#xA;

      &#xA;
    • avformat_open_input, avformat_find_stream_info, avcodec_find_decoder, avcodec_alloc_context3 ,avcodec_parameters_to_context and avcodec_open2 pass the error checking.
    • &#xA;

    • AVFrame* av_frame and AVPacket* av_packet are correctly allocated.
    • &#xA;

    &#xA;

    This following code is where I do the rest of the checks, to get the pixel data :

    &#xA;

    int bufferSize = av_frame->width * av_frame->height * 4;&#xA;    unsigned char* data = new unsigned char[bufferSize];&#xA;    &#xA;    while (av_read_frame(av_format_ctx, av_packet) >= 0) {&#xA;        if (av_packet->stream_index == video_stream_idx) {&#xA;            if (avcodec_send_packet(av_codec_ctx, av_packet) == 0) {&#xA;                if (avcodec_receive_frame(av_codec_ctx, av_frame) == 0) {&#xA;&#xA;                    memcpy(data, av_frame->data[0], bufferSize);&#xA;&#xA;                    break; // We only need the first frame&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;

    &#xA;

    The issue is, up until ... if (avcodec_receive_frame(av_codec_ctx, av_frame) == 0) { ... and while inspecting the data, packet shows like this :&#xA;packet showing no data, but has size

    &#xA;

    None of the function calls return any error so it should be working, yet the packet has no data, and consequently the frame comes out empty.

    &#xA;

    Why could this be ? Should I keep looping on avcodec_send_packet(av_codec_ctx, av_packet) until it comes out not empty ?

    &#xA;