
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)
Sur d’autres sites (11105)
-
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.
-
ffmpeg scale/forcing fixed video resolution issue
31 janvier 2018, par Massimo VantaggioI try to be sure that the
video comes out
with aresolution
of1920 x1080
,
If not the encodingmust force this resolution
.
I need this to create fine adaption set from a video input with standard resolution (HD).Im unable to get always this resolution, for example with a movie of
1920 x 1040 i get 1993 x 1080, below my ffmpeg command line :
ffmpeg -y -i $name -i logo1080.png -c:a aac -b:a 256k -ar 48000 -ac 2 -async 1 -c:v libx264 -x264opts keyint=$GOP:min-keyint=$GOP:no-scenecut -bf 0 -r $FPSC -b:v 2400k -maxrate 2400k -bufsize 1200k -profile:v main -t $FDUR -filter_complex "[0:v][1:v]overlay=main_w-overlay_w-10:10,scale=1920:1080" format1080.mp4
I tried every possibility that the ffmpeg scale page tells, without understand how to fix it.
I think i need some help,
Thanks,
Massimo -
ffmpeg scale/forcing a video resolution issue
30 janvier 2018, par Massimo VantaggioI try to be sure that the
video comes out
with aresolution
of1920 x1080
,
If not the encodingmust force this resolution
.
I need this to create fine adaption set from a video input with standard resolution (HD).Im unable to get always this resolution, for example with a movie of
1920 x 1040 i get 1993 x 1080, below my ffmpeg command line :
ffmpeg -y -i $name -i logo1080.png -c:a aac -b:a 256k -ar 48000 -ac 2 -async 1 -c:v libx264 -x264opts keyint=$GOP:min-keyint=$GOP:no-scenecut -bf 0 -r $FPSC -b:v 2400k -maxrate 2400k -bufsize 1200k -profile:v main -t $FDUR -filter_complex "[0:v][1:v]overlay=main_w-overlay_w-10:10,scale=1920:1080" format1080.mp4
I tried every possibility that the ffmpeg scale page tells, without understand how to fix it.
I think i need some help,
Thanks,
Massimo