Recherche avancée

Médias (91)

Autres articles (77)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • FFmpeg dxva2 H264 decoder reinitialize codec - access violation

    18 janvier 2023, par Spuriga

    I have a small project which decodes h264 I frame (SPS+PPS in extradata).
It uses "dxva2" hw acceleration and works fine until I reinitialize the codec. This can be occured when an rtsp stream change the format. Fe. : h264 to h264H. and the extradata must be changed.

    


    The extradata modifying code is :

    


        ...

    ret = decode_write(decoder_ctx, packet);          //GOOD    
    ret = decode_write(decoder_ctx, NULL);

    if (avcodec_close(decoder_ctx) < 0)
        return -2;

    if (hw_decoder_init(decoder_ctx, type) < 0)
        return -1;

    if ((ret = avcodec_open2(decoder_ctx, decoder, NULL)) < 0) {
        fprintf(stderr, "Failed to open codec for stream.\n");
        return -1;
    }

    ret = decode_write(decoder_ctx, packet);         //ACCESS VIOLATION
    ret = decode_write(decoder_ctx, NULL);


    


    The next avcodec_send_packet goes access violation exception.
When I switch off the HW acceleration and fallback to CPU this change is works fine.

    


    So the only problem when I use dxva2 and reinitialize the codec.

    


    The extradata change code is not in this small example, because the error reason is the reinitialize.

    


  • libavdevice/v4l2 : fix invalid access to struct v4l2_buffer

    20 septembre 2017, par Jaroslav Beran
    libavdevice/v4l2 : fix invalid access to struct v4l2_buffer
    

    In case we are short of queued buffers, at first v4l2_buffer was enqueued to kernel so it's not owned by
    user-space anymore. After that it's timestamp field was read, but it might be overwritten by driver at
    that moment. It resulted in invalid timestamp sometimes.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavdevice/v4l2.c
  • Ffmpeg not able to access file on aws labmda

    1er septembre 2016, par Surendra Agarwal

    I am using ffmpeg to create video thumbnails on AWS Lambda. I downloaded the file in /tmp directory but ffmpeg is not able to access it and giving error

    [Error : meta data contains no duration, aborting screenshot creation]

    when I am checking the media info using ffmpeg then it is giving the output

    { ffmpegversion: 0, title: '', artist: '', album: '', track: '', date: '', durationraw: '', durationsec: 0, synched: false, major_brand: undefined, video: { container: '', bitrate: 0, codec: '', resolution: { w: 0, h: 0 }, resolutionSquare: { w: 0, h: NaN }, rotate: 0, fps: 0, stream: 0, aspect: 0, pixel: 0 }, audio: { codec: '', bitrate: 0, sample_rate: 0, stream: 0 } }

    I used fs module to check file existance on that location and it is giving the output

    { dev: 1793, mode: 33204, nlink: 1, uid: 496, gid: 495, rdev: 0, blksize: 4096, ino: 11, size: 21152, blocks: 48, atime: Thu Sep 01 2016 13:30:46 GMT+0000 (UTC), mtime: Thu Sep 01 2016 13:30:46 GMT+0000 (UTC), ctime: Thu Sep 01 2016 13:30:46 GMT+0000 (UTC), birthtime: Thu Sep 01 2016 13:30:46 GMT+0000 (UTC) }