Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (67)

  • Les images

    15 mai 2013
  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

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

  • FFMPEG color range cropped to 15-235 in RGB

    20 décembre 2017, par Some1Else

    I have a series of BMPs (or PNG) images that I want to convert to XVID and MP5 movie formats.

    Encoding works but the resulting movie has a washed out color look to it and the blacks are somehow moved to RGB 16 and the brightest 255 values are moved down to 235. I want the output movie to use the same 0 to 255 colors as the source frames.

    Now there are all sorts of conflicting doco out there for FFMPEG so I am hopinbg someone has an example command line that does what I need. I have tried all sorts of pix_fmt flags but none of them get the output movie in the full color range.

    For XVID

    ffmpeg.exe -framerate 60 -i "D:\SRC%05d.BMP"  -c:v mpeg4 -vtag xvid -qscale 1 -y "D:\OUTPUT.AVI""

    For H265

    ffmpeg.exe -framerate 60 -i "D:\SRC%05d.BMP" -c:v libx265 -x265-params lossless=1 -s 3840x2160 -pix_fmt yuvj420p -an -y "D:\OUTPUT.MP4""

    The yuvj420p is supposed to give the full color range but ffmpeg complains "Incompatible pixel format ’yuvj420p’ for codec ’libx265’, auto-selecting format ’yuv420p’"

    So, are there any FFMPEG gurus out there that can give me the magic switches to get my output movies with black blacks and colors that maintain the original frame files 0-255 RGB values.

  • avcodec/ljpegenc : Allow full range yuv420p, yuv422p, yuv444p by default

    6 avril 2021, par Andreas Rheinhardt
    avcodec/ljpegenc : Allow full range yuv420p, yuv422p, yuv444p by default
    

    The documentation for AV_PIX_FMT_YUVJ420P reads :
    "planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of
    AV_PIX_FMT_YUV420P and setting color_range"
    Yet the LJPEG encoder only accepts full scale yuv420p when strictness is
    set to unofficial or lower ; with default strictness it emits a nonsense
    error message that says that limit range YUV is unofficial. This has
    been changed to allow full range yuv420p, yuv422p and yuv444p irrespective
    of the level of strictness.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/ljpegenc.c
  • Merge two videos with different HTTP Range header bytes

    5 avril 2022, par Mohammad Momeni

    I want to save 10 seconds from any part of a video by using its URL (without downloading it completely).&#xA;the server supports the Range header and it's possible to get specific byte ranges, the video is ok when I save it with something like Range: bytes=0-102400 but when I change the start byte and save a video with Range: bytes=307200-614400 it's no longer playable.

    &#xA;

    I know maybe it lacks a MIME/header type that should be at the beginning of a file, but the first bytes are not in this response to specify the correct format of the file.&#xA;so I saved the video from 0-102400, which is ok and playable, and wanted to get that specific range and somehow append it after the first file to have both a correct file header (less than 1 sec) and that middle part of the video.

    &#xA;

    first.webm Range : bytes=0-102400 (valid playable file)

    &#xA;

    middle.webm Range : bytes=307200-614400 (not playable file)

    &#xA;

    I tried to merge them using this command recommended by this answer

    &#xA;

    ffmpeg -f concat -i list.txt -c copy merged.webm&#xA;

    &#xA;

    logs :

    &#xA;

    [matroska,webm @ 000002143c3e77c0] File ended prematurely00 bitrate=3752.0kbits/s speed=N/A&#xA;[matroska,webm @ 000002143c429e40] Format matroska,webm detected only with low score of 1, misdetection possible!&#xA;[matroska,webm @ 000002143c429e40] EBML header parsing failed&#xA;[concat @ 000002143c3dda80] Impossible to open &#x27;middle.webm&#x27;&#xA;list.txt: Invalid data found when processing input&#xA;frame=   42 fps=0.0 q=-1.0 Lsize=      10kB time=00:00:01.64 bitrate=  48.7kbits/s speed= 231x    &#xA;video:9kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.500000%&#xA;

    &#xA;

    generated video only shows the first video (which was already playable before merging) and ends.&#xA;I inspired this idea from this answer and don't want to download the complete video. If I can't merge them is it possible and how to write a MIME/header for the middle.webm manually to make it a valid playable video ?

    &#xA;