Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (54)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (7583)

  • libavutil : add an FFT & MDCT implementation

    2 mai 2019, par Lynne
    libavutil : add an FFT & MDCT implementation
    

    This commit adds a new API to libavutil to allow for arbitrary transformations
    on various types of data.
    This is a partly new implementation, with the power of two transforms taken
    from libavcodec/fft_template, the 5 and 15-point FFT taken from mdct15, while
    the 3-point FFT was written from scratch.
    The (i)mdct folding code is taken from mdct15 as well, as the mdct_template
    code was somewhat old, messy and not easy to separate.

    A notable feature of this implementation is that it allows for 3xM and 5xM
    based transforms, where M is a power of two, e.g. 384, 640, 768, 1280, etc.
    AC-4 uses 3xM transforms while Siren uses 5xM transforms, so the code will
    allow for decoding of such streams.
    A non-exaustive list of supported sizes :
    4, 8, 12, 16, 20, 24, 32, 40, 48, 60, 64, 80, 96, 120, 128, 160, 192, 240,
    256, 320, 384, 480, 512, 640, 768, 960, 1024, 1280, 1536, 1920, 2048, 2560...

    The API was designed such that it allows for not only 1D transforms but also
    2D transforms of certain block sizes. This was partly on accident as the stride
    argument is required for Opus MDCTs, but can be used in the context of a 2D
    transform as well.
    Also, various data types would be implemented eventually as well, such as
    "double" and "int32_t".

    Some performance comparisons with libfftw3f (SIMD disabled for both) :
    120 :
    22353 decicycles in fftwf_execute, 1024 runs, 0 skips
    21836 decicycles in compound_fft_15x8, 1024 runs, 0 skips

    128 :
    22003 decicycles in fftwf_execute, 1024 runs, 0 skips
    23132 decicycles in monolithic_fft_ptwo, 1024 runs, 0 skips

    384 :
    75939 decicycles in fftwf_execute, 1024 runs, 0 skips
    73973 decicycles in compound_fft_3x128, 1024 runs, 0 skips

    640 :
    104354 decicycles in fftwf_execute, 1024 runs, 0 skips
    149518 decicycles in compound_fft_5x128, 1024 runs, 0 skips

    768 :
    109323 decicycles in fftwf_execute, 1024 runs, 0 skips
    164096 decicycles in compound_fft_3x256, 1024 runs, 0 skips

    960 :
    186210 decicycles in fftwf_execute, 1024 runs, 0 skips
    215256 decicycles in compound_fft_15x64, 1024 runs, 0 skips

    1024 :
    163464 decicycles in fftwf_execute, 1024 runs, 0 skips
    199686 decicycles in monolithic_fft_ptwo, 1024 runs, 0 skips

    With SIMD we should be faster than fftw for 15xM transforms as our fft15 SIMD
    is around 2x faster than theirs, even if our ptwo SIMD is slightly slower.

    The goal is to remove the libavcodec/mdct15 code and deprecate the
    libavcodec/avfft interface once aarch64 and x86 SIMD code has been ported.
    New code throughout the project should use this API.

    The implementation passes fate when used in Opus, AAC and Vorbis, and the output
    is identical with ATRAC9 as well.

    • [DH] libavutil/Makefile
    • [DH] libavutil/tx.c
    • [DH] libavutil/tx.h
  • avfilter/af_headphone : Remove pointless additions

    28 août 2020, par Andreas Rheinhardt
    avfilter/af_headphone : Remove pointless additions
    

    buffer_length is a power-of-two and modulo is buffer_length - 1, so that
    buffer_length & modulo is zero.

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavfilter/af_headphone.c
  • How to prescale a frame using ffmpeg and H.265

    20 juillet 2017, par akw

    I want to decode video frames with the H.265 coded (AV_CODEC_ID_HEVC)
    I use the following code :

    AVCodec *hevcCodec = avcodec_find_decoder(AV_CODEC_ID_HEVC);
    AVCodecContext *avctx  = avcodec_alloc_context3(hevcCodec);
    avcodec_open2(avctx, hevcCodec, 0);
    AVFrame *frame = av_frame_alloc();
    AVPacket pkt;
    av_init_packet(&amp;pkt);
    pkt.data = myDataPtr;
    pkt.size = myDataSize;
    int got_frame = 0;
    avcodec_send_packet(avctx, &amp;pkt);
    if (avcodec_receive_frame(avctx, frame) >=0 ) {
           got_frame = 1;
           ...
    }

    This works fine, I got my YUV frame and can process it further (like converting to RGB or scaling, etc.)
    However, I would like to somehow tell the ffmpeg library, to scale the AVFrame while decoding (a scale factor of a power of 2 would be sufficient).
    I don’t want to scale after converting to RGB or use swscale or anything. I have to decode a lot of frames and need a smaller resolution.

    Is it possible to give the AVCodecContext some hints to scale the frames ?
    (I tried setting avctx.width and avctx.height, but this did not help)