
Recherche avancée
Autres articles (64)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (13972)
-
Révision 17269 : attention : statut est un tableau dont chaque element est un tableau decrivant l...
18 février 2011, par cedric -+ utiliser la description venant de $boucle->show lors de la compilation
-
matplotlib funcanimation save issue
20 avril 2015, par Richie AbrahamI have been trying some animation recently using matplotlib animations. It has been going great, i create an ffmpeg writer and save it as a video file. However i face an issue whenever the function that FuncAnimation calls returns more than one object.
Below is a small snippet of my code base. When I return both im0 and im1, the video file created only has im1 , although the plt.show command works as expected ( showing both the videos ). If i return just a single im0, then it works as expected. IT also works as expected if i return both im0 and im1 with alpha=0.5.
Can anyone shed some light on what is happening underneath the hood ?
fig, ax = plt.subplots(1)
def animate(i):
im0=ax.imshow(np.ma.masked_array(imgl[i][:,:,0], mask=get_blob(i)),cmap='cubehelix')
im1=ax.imshow(imgl[(i-100)%len(imgl)][:,:,0],cmap='cubehelix')
return [im1,im0]
ani = animation.FuncAnimation(fig, animate, frames=200,
interval=10, blit=True,repeat=False)
ani.save('ps.mp4', writer=writer)
plt.show() -
Did not locate the video track for seeking
5 novembre 2018, par Bruce YoungI using android MediaPlayer to play some audios.It’s works 100% fine with the method seekTo() in some format like m4a(ffmpeg show the media info below) :
normal is the audio file nameBut when I use other format like matroska,webm,the seekTo()method always fail !(ffmpeg show the media info below)
seekbad is the audio file name
Okay,when the seekTo() fail the android studio console show some logs like this :
11-05 11:07:00.815 763-22357/? E/MatroskaExtractor: Did not locate the video track for seeking
Than I google the logs and find out the sourcecode in google git :
https://android.googlesource.com/platform/frameworks/av/+/304ef91624e12661e7e35c2c0c235da84a73e9c0/media/libstagefright/matroska/MatroskaExtractor.cppIn MatroskaExtractor.cpp some code like this :
// Always *search* based on the video track, but finalize based on mTrackNum
if (!pTP) {
ALOGE("Did not locate the video track for seeking");
return;
}I do not know why my media file ’Did not locate the video track for seeking’,Does anybody know it,Thanks a lot !