Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (73)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (9574)

  • avcodec/ttmlenc : add initial support for regions and styles

    29 mars 2021, par Jan Ekström
    avcodec/ttmlenc : add initial support for regions and styles
    

    Attempts to utilize the TTML cell resolution as a mapping to the
    reference resolution, and maps font size to cell size. Additionally
    sets the display and text alignment according to the ASS alignment
    number.

    Signed-off-by : Jan Ekström <jan.ekstrom@24i.com>

    • [DH] libavcodec/ttmlenc.c
    • [DH] libavcodec/ttmlenc.h
    • [DH] tests/ref/fate/sub-ttmlenc
  • Audio issues when overlaying two videos (ffmpeg)

    4 août 2021, par crashyourtesla

    I'm trying to overlay a short 10 second video on top of a 2 minute video and have the 10 second video show up at the 30 second mark. Here is what I have so far

    &#xA;

    start = 30&#xA;subprocess.run(&#xA;    f&#x27;ffmpeg -y \&#xA;        -i {os.path.join(path, "2minutevideo.mp4")} \&#xA;        -i {os.path.join(path, "popup.mov")} \&#xA;        -filter_complex \&#xA;        "[0:v]setpts=PTS-STARTPTS[v0]; \&#xA;        [1:v]setpts=PTS-STARTPTS&#x2B;{notify_start}/TB[v1]; \&#xA;        [v0][v1]overlay=enable=\&#x27;between(t, {notify_start}, {notify_start &#x2B; get_duration(os.path.join(path, "popup.mp4"))})\&#x27; [out1]" \&#xA;        {render_flags} -r 24 -map 1:a -map [out1] -async 1 \&#xA;        {os.path.join(source_folder, "test.mp4")}&#x27;)&#xA;

    &#xA;

    What this does is that popup.mov shows up at 30 seconds and plays for its entire duration. However, I have two issues :

    &#xA;

      &#xA;
    1. popup.mov's audio still plays at the beginning. I've tried itsoffset, setting the pts but both seem to not work or have errors.
    2. &#xA;

    3. The only audio playing is popup.mov's audio. I would like both 2minutevideo and popup.mov to play audio. Yes, I'm aware it's because -map 1:a only maps the popup's audio to the final video, but I have no idea how to have both audio play. Would I have to mix it ?
    4. &#xA;

    &#xA;

    Thank you

    &#xA;

  • FFMPEG encoding 16bit video data results in 10bit

    12 mars 2023, par Jl arto

    I want to compress a depth map that has 16 bits of information per pixel. In general, such depth maps can be stored in different ways, e.g. p016le, gray16le, yuv420p16le, yuv444p16le, ... but for simplicity, let's assume the depth map is a yuv420p16le (where the y-channel contains the depth).

    &#xA;

    For some reason when encoding with hevc_nvenc (I use an NVIDIA GTX 1660 Ti GPU), ffmpeg (the command line tool) changes the pixel format to a 10 or 12 bit variant (p010le, gray12le, yuv420p10le, yuv444p12le, ...), but I would like to keep the full 16 bits, since this affects the quality of the depth stored.

    &#xA;

    For example :

    &#xA;

    ffmpeg.exe -s:v 1920x1080 -r 30 -pix_fmt yuv420p16le -i depth_yuv420p16le.yuv -c:v hevc_nvenc -pix_fmt yuv444p16le output.mp4&#xA;

    &#xA;

    If I use ffprobe on the output.mp4, it tells me that the underlying pixel format is actually yuv444p10le. (Decoding and looking at the raw pixel data, I can confirm that the precision has decreased from 16 bits to 10 bits).

    &#xA;

    I hope 16 bit compression is possible, since according to

    &#xA;

    ffmpeg -h encoder=hevc_nvenc&#xA;

    &#xA;

    the supported pixel formats are :

    &#xA;

    hevc_nvenc: yuv420p nv12 p010le yuv444p p016le yuv444p16le bgr0 rgb0 cuda d3d11&#xA;

    &#xA;

    But p016le results in a p010le output, and yuv444p16le in yuv444p10le.

    &#xA;

    Does anyone know where the problem could lie ? Should I re-install ffmpeg (version 4.3.2-2021-02-27-essentials_build-www.gyan.dev) ? Is it because of Windows 10 having limited encoding/decoding capabilities ? Will buying the HEVC Video Extensions help solve this problem ?

    &#xA;

    Additional info : using libx256 does not look like it will work for this purpose, since the supported pixel formats are :

    &#xA;

    libx256 : yuv420p yuvj420p yuv422p yuvj422p yuv444p yuvj444p gbrp yuv420p10le yuv422p10le yuv444p10le gbrp10le yuv420p12le yuv422p12le yuv444p12le gbrp12le gray gray10le gray12le&#xA;

    &#xA;

    Any help would be greatly appreciated.

    &#xA;