
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (51)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (3475)
-
avcodec/nvenc : Handle non-square pixel aspect ratios
26 janvier 2015, par Timo Rothenpieler -
using ffmpeg for live streaming MPEG-TS with windows media services
14 mars 2012, par YannivI'm trying to live stream MPEG-TS source to Windows Media service.
I found how to live stream using RTMP with this code :ffmpeg -y -f mpegts -i udp://@:1234 -re -vcodec libx264 -maxrate 700k
-r 25 -s 640x360 -deinterlace -acodec libvo_aacenc -ab 64k -ac 1 -ar 44100 -f flv "rtmp://rtmp1.youtube.com/videolive?sparams=<stream parameters="parameters" here="here">"
</stream>- How can I convert it to support WM9/VC1 format ?
- Does ffmpeg support pulling of the stream or only pushing to Windows Media services ?
-
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 :