
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (79)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (6961)
-
Revision 84614 : spip-contrib.net -> contrib.spip.net pour Francky find . -name ’*’ | ...
11 juin 2018, par ben.spip@… — Logspip-contrib.net -> contrib.spip.net pour Francky
find . -name ’*’ | grep ’/lang/’ | xargs sed -i ’s#http://www.spip-contrib.net/#http://contrib.spip.net#g’
find . -name ’*.xml’ | xargs sed -i ’s#http://www.spip-contrib.net/#http://contrib.spip.net#g’ -
Revision 91116 : complément de doc sur les cas où on exclut les pages
11 juin 2018, par maieul@… — Logcomplément de doc sur les cas où on exclut les pages
-
Unable to find/write moov atom in the mp4 recorded stream
11 juillet 2014, par AnilJI have written the following code to write the webcam feed into a file (.mp4) on disk. The program is successful, but when I try to play the file using player, it says "moov atom not found" and player is not showing anything. The file however is a valid mp4 file according to ffmpeg command.
This is my main thread where I encode a picture every 30ms.
public void run() {
// Set the thread rolling.
mRunning = true;
while (mRunning) {
// and display it on the Java Swing window
Record();
}
// clean up resources
cleanup();
}
private void Record() {
IVideoPicture picture = null;
BufferedImage image = null;
picture = GetNextPicture();
image = Utils.videoPictureToImage(picture);
if (picture != null) {
// If recording is enabled, record the webcam stream.
if (mRecordStream) {
// convert to the right image type
BufferedImage bgrScreen = ConvertToType(image, BufferedImage.TYPE_3BYTE_BGR);
// encode the image to stream #0
mWriter.encodeVideo(0, bgrScreen, System.nanoTime() - mStartTime, TimeUnit.NANOSECONDS);
}
try {
Thread.sleep(30);
} catch (InterruptedException e) {
return;
}
}
}From the main thread, I do this when I want to stop the recording and close this recording thread. The cleanup() method is eventually called by the main thread to close the writer. The comment does says about writing the trailer (I guess moov atom), but it does not do it. Can someone please help me find where the problem is ?
public void stopRecording() {
// Stop the thread loop.
mRunning = false;
}
private void cleanup() {
// tell the writer to close and write the trailer if needed
if (mWriter != null) {
mWriter.close();
mWriter = null;
}
if (mVideoCoder != null) {
mVideoCoder.close();
mVideoCoder = null;
}
if (mContainer != null) {
mContainer.close();
mContainer = null;
}
}