
Recherche avancée
Autres articles (52)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (9354)
-
What to do when opening a video and decodec AVFrame.pkt_dts doesn't start at the beggining
6 mai 2020, par MiloI have a few video files (.mpg) that are cut from a larger video file and are probably encoded incorrectly. So when decoded, the received AVFrame.pkt_dts is set around half a second into the file.



And since I'm calculating the current frame based on pkt_dts my current frame starts from 13. 
I can detect this and calculate the frame offset with



frame_offset = (pFrame->pkt_dts/pFrame->pkt_duration)




This however isn't much of an issue, but when implementing seeking with



// seek to frame 500 and seek back to first key frame
seekTarget = 500; 
av_seek_frame(videoState_->ptrFormatCtx_, -1, seekTarget, AVSEEK_FLAG_FRAME | AVSEEK_FLAG_BACKWARD);




I usually get a first key frame and then just decode next frame until my specified frame. But with these files, av_seek_frame() will always put me exactly on the frame I seek but it's missing data because parent I frame is not decoded.
I'm guessing this happens because of incorrect pkt_dts from the start.



I can kind of fix this by using the frame_offset again but is that really a correct approach to this issue ? It seems a little hacky.


-
avcodec/exr : Fix undefined left shifts of negative numbers
25 septembre 2019, par Andreas Rheinhardtavcodec/exr : Fix undefined left shifts of negative numbers
Affected the FATE-tests exr-rgb-scanline-pxr24-half-uint32-13x9 and
exr-rgb-scanline-pxr24-uint32.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
avcodec/vc1 : fix mquant calculation for interlace field pictures
18 mai 2018, par Jerome Borsboomavcodec/vc1 : fix mquant calculation for interlace field pictures
For interlace field pictures s->mb_height indicates the height of the full
picture in MBs, i.e. the two fields combined. A single field is half this
size. When calculating mquant for interlace field pictures, the bottom edge
is the last MB row of the field.Signed-off-by : Jerome Borsboom <jerome.borsboom@carpalis.nl>