
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (68)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (8945)
-
How can I CORS enable with callback function using golang ? [closed]
24 juin 2021, par mr jonyHow can I CORS enable remote server that means video streaming from remote server or IP address ? I want to CORS enable using callback function using GOLANG.


-
Intel IPP RGBToYUV420 function is getting IppStsSizeErr result code
6 février 2018, par yesilcimen.ahmetI am using
IPP 2017.0.3(r55431)
andDelphi 10.2
, I am trying convertRGB
toYUV420P
, but I am gettingIppStsSizeErr
result code.I have
m_dst_picture, m_src_picture: AVPicture
structure created byFFMPEG
.{ allocate the encoded raw picture }
ret := avpicture_alloc(@m_dst_picture, AV_PIX_FMT_YUV420P, c^.width, c^.height);
if (ret < 0) then
Exit(False);
{ allocate BGR frame that we can pass to the YUV frame }
ret := avpicture_alloc(@m_src_picture, AV_PIX_FMT_BGR24, c^.width, c^.height);
if (ret < 0) then
Exit(False);
//It works fine.
{ convert BGR frame (m_src_picture) to and YUV frame (m_dst_picture) }
sws_scale(sws_ctx, @m_src_picture.data[0], @m_src_picture.linesize, 0, c^.height, @m_dst_picture.data[0], @m_dst_picture.linesize);I want to convert the
RGB
buffer directly toYUV420P
. The original code first loadsRGB
into theAVPicture
then convertRGB
toYUV420P
withsws_scale
and it causes slowness.Here I copy the
BGR
buffer tom_src_picture
ofFFMPEG
. But this leads to performance loss, so I want to convert it directly toYUV420P
usingIntel IPP
.procedure WriteFrameBGR24(frame: PByte);
var
y: Integer;
begin
for y := 0 to m_c^.height - 1 do
Move(PByte(frame - (y * dstStep))^, PByte(m_src_picture.data[0] + (y * m_src_picture.linesize[0]))^, dstStep);
end;In the code below I am trying to convert using
Intel IPP
.{ Converting RGB to YUV420P. }
**roiSize is 1920 and 1080
**The values created by FFMPEG for YUV420P in m_dst_picture.linesize are [0]=1920,[1]=960,[2]=960 respectively.Do I need to convert the values of the linesize to another value ?
**The reason why the srcStep parameter is a minus sign is the Bottom-Up Bitmap and the frame pointer indicates the Bmp.ScanLine[0] address, which indicates the highest pointer address.
srcStep := (((width * (3 * 8)) + 31) and not 31) div 8; //for 24 bitmap
{ Swap of BGR channels to RGB. }
//It works fine
st := ippiSwapChannels_8u_C3IR(frame, -srcStep, roiSize, @BGRToRGBArray[0]);
{ Convert RGB to YUV420P. }
//IppStsSizeErr
st := ippiRGBToYUV420_8u_C3P3R(frame, -srcStep, @m_dst_picture.data[0], @m_dst_picture.linesize[0], roiSize);How do I solve this problem ?
Thank you.
-
flutter : record a video that has same duration as animated webp
2 mai 2020, par Chriswhat I'd like to do :
I would like to record a video using Flutter's CameraController that has the same duration as an animated webp. On top of my screen, the animated webp is playing and below there is a CameraPreview() widget that records whatever my camera catches. This recorded video's duration should be exact as long as the animated webp's duration.



what I've tried so far :
Since Giphy offers not only a webp-version, but also an mp4-version, I downloaded the mp4 version and used ffmpeg to get the duration of that file. 
I then used a timer and called VideoController.stopVideoRecording() after this duration automatically after VideoController.startVideoRecording().



what I'd expect to happen :
I'd expect this recorded video to be as long as the animated webp. Unfortunately, it's not.



So, my question is :
Do you guys have any idea how I could manage to record a video with same duration as an animated webp ?



Thanks :)