
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)
-
Still on Piwik 2 ? Update now to Piwik 3, the most efficient and secure Piwik version
5 avril 2017, par Piwik Core Team — CommunityIt has been almost four months since we released Piwik 3. The major new release came with a new UI, performance and security improvements. If you are still on Piwik 2, the security improvements alone should be worth updating your Piwik now to Piwik 3. We cannot recommend this enough.
Since the Piwik 3.0 release we have released three new versions that fix over 250 issues including more performance and security issues. And new features : the Life Time Revenue, or the Cross Domain linking feature to track visitors across different domains accurately. Also, most plugins from the Piwik Marketplace are now compatible with Piwik 3 so there is no reason to wait anymore.
The update to Piwik 3 should be smooth, but may take a while depending on the amount of data you have. If you have any problem with the update, feel free to get in touch with us. At Piwik and at InnoCraft, the company of the makers of Piwik, we have successfully updated many Piwik installations.
Wondering what’s changed ?
-
avplay : Handle pixel aspect ratio properly
6 juillet 2014, par Martin Storsjö -
PyAV inconsistency when parsing packets from h264 frames
3 avril 2022, par Shlomi UzielWhen producing H.264 frames and decoding them using pyAV, packets are parsed from frames only when invoking the
parse
methods twice.

Consider the following test H.264 input, created using :


ffmpeg -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 -f image2 -vcodec libx264 -bsf h264_mp4toannexb -force_key_frames source -x264-params keyint=1:scenecut=0 "frame-%4d.h264"


Now, using pyAV to parse the first frame :


import av
codec = av.CodecContext.create('h264', 'r')
with open('/path/to/frame-0001.h264', 'rb') as file_handler:
 chunk = file_handler.read()
 packets = codec.parse(chunk) # This line needs to be invoked twice to parse packets



packets remain empty unless the last line is invoked again (
packets = codec.parse(chunk)
)

Also, for different real life examples I cannot characterize, it seems that decoding frames from packets also require several decode invocations :


packet = packets[0]
frames = codec.decode(packet) # This line needs to be invoked 2-3 times to actually receive frames.



Does anyone know anything about this incosistent behavior of pyAV ?


(Using Python 3.8.12 on macOS Monterey 12.3.1, ffmpeg 4.4.1, pyAV 9.0.2)