
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (80)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (8441)
-
Converting limited range YUV to sRGB using ImageMagick
6 juillet 2019, par RotemI am trying to convert a set of raw video frames from YUV444 to sRGB using ImageMagick.
Input format : Raw YUV444 limited range, BT.709 in planar data order.
Required output format : sRGB (set of PNG images).Main issue : ImageMagick conversion always applies JPEG conversion formula.
- Remark about "limited range" YUV format :
In 8 bits limited range YUV format, the range of Y is [16, 235] and the range of U, V is [16, 240]. (limited range BT.709 is used in HTDV systems).
JPEG uses "full range" YUV format, where Y,U,V range is [0, 255].
sRGB is used in PC systems, and the range of R,G,B is full range [0, 255].
YUV and YCbCr are interchangeable.
For testing, I used the following sample image :
I converted the sample to YUV444 format using FFmpeg :
ffmpeg -y -colorspace bt709 -i rgb_input.png -pix_fmt yuv444p yuv_input.yuv
Following image illustrates the YUV444 output (in planar data order) :
I converted
yuv_input.yuv
to PNG using ImageMagick converter (version 7.0.8-51) :
magick -depth 8 -interlace plane -size 128x96 -colorspace Rec709YCbCr -sampling-factor 4:4:4 yuv:yuv_input.yuv rgb_output_magick.png
- Result of ImageMagick (
rgb_output_magick.png
) :
If you look carefully you see that the image is different thanrgb_input.png
.
Same conversion using
FFmpeg
(used as reference) :
ffmpeg -y -s 128x96 -colorspace bt709 -pix_fmt yuv444p -i yuv_input.yuv -pix_fmt rgb24 rgb_output_ffmpeg.png
- Result of FFmpeg (
rgb_output_ffmpeg.png
) :
Note : The true format of my raw input video frames prevents me from using FFmpeg.
Conversion formula from 8 bits limited range YUV BT.709 to sRGB :
R = 1.1644*Y + 0.00000*U + 1.79270*V - 248.10
G = 1.1644*Y - 0.21325*U - 0.53291*V + 76.878
B = 1.1644*Y + 2.11240*U + 0.00000*V - 289.02
How can I do the above conversion using ImageMagick converter ?
- Remark about "limited range" YUV format :
-
avformat/http: allow the caller to select a request range
28 décembre 2013, par Anssi Hannula -
Revision 734c5ffa2c : Apply constrained partition search range to non-RD mode decision This commit en
23 avril 2014, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_encodeframe.c
Apply constrained partition search range to non-RD mode decisionThis commit enables a chessboard pattern for partition search. All
the black blocks run regular partition search ranging from 8x8 to
32x32. The rest white blocks take the nearby blocks’ information
to adaptively decide the effective search range.The compression performance for rtc set at speed -5 is down by 1.5%.
For pedestrian 1080p at speed -5, the runtime goes from 41594 ms to
39697 ms, i.e., about 5% faster.Change-Id : Ia4b96e237abfaada487c743bca08fe1afd298685