
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (35)
-
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 -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (6644)
-
Split Video Files and Make them individually playable
21 juillet 2013, par rashI am newbie to this python. I split webm video file into chunks, but i couldn't able to make them individually playable using python program.But it plays after I join the chunks to a single file. I know its due to the absence of header file. Please help me with the codes to attach the header file to the parts to make them indiviually playable. Please reply. Thanks alot in advance.
Here is the code :
Client side :
import socket, os
import time
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client_socket.connect(("localhost", 5005))
size = 1024
while True:
fname = "/home/xincoz/test/conn2.webm"
fn = client_socket.recv(1024)
print fn
fp = open(fname,'wb')
while True:
strng = client_socket.recv(int(fn))
print strng
if not strng:
break
fp.write(strng)
fp.close()
print "Data Received successfully"
exit()Server side :
import os,kaa.metadata
import sys,time
import socket
import Image
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_socket.bind(("localhost", 5005))
server_socket.listen(5)
client_socket, address = server_socket.accept()
print "Conencted to - ",address,"\n"
file = '/home/xincoz/Downloads/connect.webm'
a = kaa.metadata.parse(file)
print '\n Maybe, pending work'
file_name = open(file,'rb')
size=str(os.path.getsize(file))
print size
client_socket.send(str(os.path.getsize(file)))
print file_name
strng = file_name.read(os.path.getsize(file))
client_socket.send(strng[0:2000000])
file_name.close()
print str(a)+"Meta Data"
print "Data sent successfully" -
Merge commit ’08bb2567586599d62a282c4cd31567a0807f3d92’
11 mai 2014, par Michael Niedermayer -
Android encode video with ffmpeg while it is still recording
30 décembre 2016, par Andreas PabstI want to develop an android aplication which allows me to continuously record a video and upload parts of the video to a server without stopping the recording.
It is crucial for the application that I can record up to 60 min without stopping the video.Initial approach
Application consits of two parts :
- MediaRecorder which records a video continuously from the camera.
- Cutter/Copy - Part : While the video is recorded I have to take out certain segments and send them to a server.
This part was implemented using http://ffmpeg4android.netcompss.com/
libffmpeg.so. I used their VideoKit Wrapper which allows me to directly run ffmpeg with any params I need.
My Problem
I tried the ffmpeg command with the params
ffmpeg -ss 00:00:03 -i -t 00:00:05 -vcodec copy -acodec copy
which worked great for me as long as Android’s MediaRecorder finished recording.
When I execute the same command, while the MediaRecorder is recording the file, ffmpeg exits with the error message "Operation not permitted".
- I think that the error message doesn’t mean that android prevents the access to the file. I think that ffmpeg needs the "moov-atoms" to find the proper position in the video.
For that reason I thought of other approaches (which don’t need the moov-atom) :
- Create a rtsp stream with android and access the rtsp stream later. The problem is that to my knowledge android SDK doesn’t support the recording to a rtsp stream.
- Maybe it is possible to access the camera directly with ffmpeg (/dev/video0 seems to be a video device ?!)
- I read about webm as an alternative for streaming, maybe android can record webm streams ?!
TLDR : Too long didn’t read :
I want to access a video file with ffmpeg (libffmpeg.so) while it is recording. Fffmpeg exits with the error message "Operation not permitted"
Goal :
My goal is to record a video (and audio) and take parts of the video while it is still recording and upload them to the server.
Maybe you can help me solve the probelm or you have other ideas on how to approach my problem.
Thanks a lot in advance.