Recherche avancée

Médias (91)

Autres articles (44)

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

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • 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

Sur d’autres sites (6025)

  • FFMPEG performance when reading directly from s3 vs local

    16 janvier 2020, par user1147070

    I have a usecase where I need to transcode a s3 file. I have two options

    Option a : Download the file to local, then run ffmpeg on it

    Option b : Provide a presigned URL as ffmpeg input eg -
    "./ffmpeg -loglevel debug -y -i "https://mybucket/key?signedParams" -threads 0 -map_chapters -1 -f mp4 -movflags faststart -map 0:0 -acodec libfdk_aac -ac 2 -ar 44100 -b:a 48k -sn -vn /output.mp4"

    I tried running both and comparing the time but I don’t see any much performance improvement in #b as compared to #a.

    I have 2 questions

    1. Is #b is better in performance than #a ? Or both of them are same ?

    2. In case of #b does ffmpeg wait for complete download and then start transcoding or it start downloading and transcoding simultaneously ?

  • embed timestamps into MP4 container

    28 juin 2023, par Dmitrii Dunaev

    I have a fragmented MP4 file. It was created by recording a stream from a digital camera. Is there some way to store timestamps inside the container for later display on the web interface ?

    


  • How to embed additional metadata to a video file in libavcodec (FFmpeg C source code fork)

    7 mars 2023, par leavittx

    I'm extending an existing codec (Hap) inside ffmpeg library, adding some additional stuff to it (modifying FFmpeg code in my own fork of it)

    


    One of the things I'd like to do is to store a per-file maximum encoded packet size in some global header/metadata so I can use it later while doing decoding (generally, the metadata/info to store can be arbitrary, size is just what I currently need for some specialized decoder I'm writing).

    


    I'm modifying the ffmpeg code file
https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/hapenc.c

    


    EDIT : What I'd like to achieve

    


      

    • Compute some numeric value during the encoding (namely, the maximum encoded frame size for the video - it's needed for a specialized fast decoder to not read all the frames beforehand) - that is done already
    • 


    • Store that value in the video file metadata (looks like it should be done on container level)
    • 


    


    My initial incorrect attempt :
But I don't currently see any possibility to save any info outside of a single packet being produced by hap_encode function and written to AVPacket *pkt parameter.

    


      

    1. Set dict parameter on AVCodecContext *avctx's priv_data :
    2. 


    


        av_opt_set_int(avctx->priv_data, "max_compressed_frame_size", <size>, 0);&#xA;    av_opt_set(avctx->priv_data, "max_compressed_frame_size", "", 0);&#xA;</size>

    &#xA;

    Later, while decoding av_opt_get/av_opt_get_int report non-existing key.

    &#xA;

      &#xA;
    1. Set various AVCodecContext *avctx fields :
    2. &#xA;

    &#xA;

        avctx->flags2 = <size>;&#xA;    avctx->extradata_size = <size>;&#xA;    avctx->ticks_per_frame = <size>;&#xA;    avctx->delay = <size>;&#xA;</size></size></size></size>

    &#xA;

    They all also seem to be not preserved when doing decoding later (I get just default values from decoder's AVCodecContext)

    &#xA;