
Recherche avancée
Autres articles (56)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (4296)
-
ffmpeg set data stream codec tag when copying
19 mars 2021, par user972014I use
ffmpeg
to copy a data stream from one file to the other using-c copy


The problem is that it causes the output file to have no codec tag string. How can I set it ?


The name of the original stream was :


Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 96 kb/s (default)
 Metadata:
 creation_time : 2020-09-08 16:35:49
 handler_name : GoPro MET



While for the output file I get it is :


Stream #0:2[0x102]: Data: bin_data ([6][0][0][0] / 0x0006)



I'm using a commandline similar to that :


ffmpeg -i video.mp4 -map 0:3 -c copy -metadata:s:d codec_tag=xxxx -vcodec libx264 converted4.ts



I also tried handler=... handler_name=...


-
How can I decode a packet data to image ? [duplicate]
20 décembre 2020, par codcod55I am getting data which in .h264 format. The data which coming from camera is something like this :


b'\x00\x00\x00\x01A\xf9\xc2 ;\xd7\x10\x0fQ\xbf\xa4+\x024\xd0\xf3_'\xceT\xe3\x1c4\xf7\xa2*\xc0`/J ;\xa5\xe8i\x99\xb1\x85\xf2\xe65\xf4\xeb\xcfD\x9e\x0b\xf2\xe5*\xcf2U\xabe\xf1\x0fJp\ ........ (It is longer)


I want to decode this data format with ffmpeg or opencv functions. How can I save this data as a jpeg image.


Here a piece of code :


packet_data = b''
 while True:
 try:
 res_string, ip = self.socket_video.recvfrom(2048)
 packet_data += res_string
 print(packet_data)
 print(len(res_string))
 # end of frame
 if len(res_string) != 1460:
 for frame in self._h264_decode(packet_data):
 self.frame = frame
 packet_data = ""

 except socket.error as exc:
 print ("Caught exception socket.error : %s" % exc)

def _h264_decode(self, packet_data):
 """
 decode raw h264 format data from Tello

 :param packet_data: raw h264 data array

 :return: a list of decoded frame
 """
 res_frame_list = []
 frames = ffmpeg.input(packet_data)
 for framedata in frames:
 (frame, w, h, ls) = framedata
 if frame is not None:
 # print 'frame size %i bytes, w %i, h %i, linesize %i' % (len(frame), w, h, ls)

 frame = np.fromstring(frame, dtype=np.ubyte, count=len(frame), sep='')
 frame = (frame.reshape((h, ls / 3, 3)))
 frame = frame[:, :w, :]
 res_frame_list.append(frame)

 return res_frame_list



EDIT : My code working with python2 but I want to work with python3. h264 library doesn't support python3. Actually, I am trying to decode this data format without h264 library. I tried to use base64 format but I couldn't do it. As a result, I am looking for a method to convert this data to image without h264 library in python3.


-
how to create video stream from images collection and data
9 juillet 2016, par YanshofI want to continue my last question about video
I want to create video stream from 400 images.
But on this time i want to add some string ( data ) to the video stream.I mean that i want to add to each frame some data.
I know that video can hold a data that can belong to any frame that appear.How to do it ?
I looking at aforgenet and i found there only how to create the video stream from images.I did not found any how to add data ( string ) about any frame.