
Recherche avancée
Autres articles (103)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (15960)
-
Audio Frame Repetition when combining audio clips in moviepy
11 septembre 2020, par Omer JRAudio frames at very end of a clip get repeated when I concatenate two or more video clips.


I tinkered with


- 

- buffer size (writing with audio_buffsize = 1000 works fine for now)
- duration ( because I observed that for a clip with 43.15 sec of audio, final video get rounded to 44.0 which adds some glitch / last frame buffer repetition (I guess) = 44.0-43.15.)








com_vid.write_videofile(FINAL_OUT_VID,
fps=1,
codec="libx264",
audio_bitrate='192k',
audio_fps=44100,
audio_nbytes=2,
audio_codec="aac",
audio_bufsize=1000) # fix issue for audio glitches.




writing with audio_buffsize = 1000 works fine for now. But I am not sure whether it will work for every case. I need to write one long clips with many small clips hence need some advice/pointers on how to get cohesive result/clip.


Waveform : this is the case when above code breaks and glitches appear again.




-
FFMPEG::got_picture_ptr from avcodec_decode_video2 is updating to 0 for I-Frames of nterlaced video stream
2 septembre 2016, par mkreddyI am new to ffmpeg. I am using ffmpeg in my application which is used to assess the quality. While decoding interlaced video stream the
got_picture_ptr
inavcodec_decode_video2
for IFrames was set to 0. Where as for progressive video streams everything works perfect.While searching for solution I have found that the root cause might be
1) The current frame is a future P-Frame, hence this cannot be returned (displayed) now. This happens in case of B-frames in the sequence.
2) The current packet is not a complete decodable frame.
I have observed that for all the IFrames(Interlaced stream) the execution of decode_postinit in h264.c was returning from below condition.
if (cur->field_poc[0] == INT_MAX || cur->field_poc[1] == INT_MAX) {<br />
/* FIXME: if we have two PAFF fields in one packet, we can't start
* the next thread here. If we have one field per packet, we can.
* The check in decode_nal_units() is not good enough to find this
* yet, so we assume the worst for now. */
// if (setup_finished)
// ff_thread_finish_setup(h->avctx);
return;
}I am not able to understand what might be the problem.
Will there be any other chance that will update got_picture_ptr to 0 ?(Except the above mentioned)
How can I know about the frame decodability ? (Which was mentioned in 2nd point)Note : I am using GOP structure in my application.
-
Revision 8f9d94ec17 : SSSE3 Optimization for Atom processors using new instruction selection and order
5 décembre 2014, par levytamar82Changed Paths :
Modify /vp9/common/x86/vp9_subpixel_8t_ssse3.asm
SSSE3 Optimization for Atom processors using new instruction selection and
orderingThe function vp9_filter_block1d16_h8_ssse3 uses the PSHUFB instruction which has
a 3 cycle latency and slows execution when done in blocks of 5 or more on Atom
processors.
By replacing the PSHUFB instructions with other more efficient single cycle
instructions (PUNPCKLBW + PUNPCHBW + PALIGNR) performance can be improved.
In the original code, the PSHUBF uses every byte and is consecutively copied.
This is done more efficiently by PUNPCKLBW and PUNPCHBW, using PALIGNR to
concatenate the intermediate result and then shift right the next consecutive 16
bytes for the final result.For example :
filter = 0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8
Reg = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
REG1 = PUNPCKLBW Reg, Reg = 0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7
REG2 = PUNPCHBW Reg, Reg = 8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15
PALIGNR REG2, REG1, 1 = 0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8This optimization improved the function performance by 23% and produced a 3%
user level gain on 1080p content on Atom processors.
There was no observed performance impact on Core processors (expected).Change-Id : I3cec701158993d95ed23ff04516942b5a4a461c0