Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (103)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11714)

  • FFmpeg H264 encoder and Mediacodec AVC decoder bitstream format mismatch

    24 octobre 2023, par danvik13

    I have 2 apps : desktop and android part.
On desktop side I encode video using AVCodec H264 encoder and, then, send it to phone via net.
On the android side I receive a sequence of video packets and need to decode them from java code using MediaCodec AVC decoder

    


    The issue : according to Google docs, the decoder should be fed with two initial packets : csd-0 and csd-1, holding sps and pps accordingly. However, ffmpeg does not provide both of them. When I set AV_CODEC_FLAG_GLOBAL_HEADER, it forces the encoder to place initial data to the extradata field. But there is just one of the arrays

    


    Does AVC Mediadecoder guarantees that it will parse extradata bytes properly in case I will send them as a csd-0 buffer, ignoring csd-1 ?

    


    I know that extradata splitting can be done manually, but it is a bit weird that there is no clear way in ffmpeg to meet the bitstream format, required by Mediadecoder

    


    Explanation / solution / code snippets

    


  • avcodec : h264 : Extract decoder methods

    31 juillet 2015, par David Holm
    avcodec : h264 : Extract decoder methods
    

    Extract two methods from decode_registered_user_data in order to improve
    code readability. Also make the constant holding the allocation size a
    64-bit unsigned integer so that the size comparison against INT_MAX makes
    sense.

    Bug-Id : CID1312090

    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DBH] libavcodec/h264_sei.c
  • Add a text/caption to the first few seconds of a cut video ?

    6 mai 2022, par JR Jr.

    I want to cut a video and at the same time add a caption during the first few seconds of the video using drawtext. I have tried lots of different google searches but all turned out to be totally unhelpful for this specific purpose (even the answers on the SS pages). Also, I am on Windows, I don't care for other OS's, such as Unix/ubuntu/Mac.

    &#xA;

    Let's use the below cut syntax as an example. It's cutting and changing the format from mkv to mp4, and I want to add a simple title to be displayed in the first 5 seconds of the video, since this will be done to various files and then they will be concatenated together and it's good to let the viewer know which movie each excerpt belongs to (without doing that manually for each single video, the goal is to add these texts to each of the below commands).

    &#xA;

    "C:\ffmpeg\bin\ffmpeg.exe" -y -i "D:\S01\SATC - S01E03 - Bay of Married Pigs.mkv" -ss 00:18:05 -to 00:19:15 -codec copy "002-SATC - S01E03 - Bay of Married Pigs-00_18_05-00_19_15.mp4"&#xA;

    &#xA;

    Let's say I want to add the title "S01E03 - Bay of Married Pigs" in the center of the screen, in white, with font size 12, displayed between 1 and 5 seconds. How do I do that ?

    &#xA;

    And more importantly, since these syntaxes tend to make the command line insanely long and it needs to be a one liner, is there a smarter way to feed the settings/configuration of the drawtext clause into the command line, as to not make the code very messy, long and chaotic ?&#xA;Besides, do white spaces matter/would misplaced blank spaces make the command line crash ?

    &#xA;

    Been trying this for hours now, so I really appreciate your help on this.

    &#xA;