
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 (6)
-
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 (...) -
Les thèmes de MediaSpip
4 juin 20133 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
Thèmes MediaSPIP
3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...) -
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 (...)
Sur d’autres sites (1990)
-
ffmpeg - embed metadata that updates regularly in video
11 juillet 2018, par ketilI have a video that was recorded with an ROV, or an underwater drone if you will. There video is stored in raw H.264, and lots of data is logged during a dive, like temperature, depth, pitch/roll/yaw, etc. Each log entry is timestamped with seconds since epoch.
Copying the raw H264 into an mp4 container at the correct framerate is easy, but I’d like to create a video that displays some or all of the metadata. I’d like to automate the process, so that I can come back from a trip and run a conversion batch tool that applies the metadata from new dives into the new video recordings. I’m hoping to avoid manual steps.
What are my options to display details on the video ? Displaying text on the video is a common thing to do, but it isn’t as clear to me how I could update it every few seconds based on an epoch timestamp from the logs. If I use -vf and try to use frame ranges for when to display each value, that’ll be a very long filter. Would it help somehow if I generate an overlay video first ? I don’t see how that will be much easier, though.
Examples of some of the details I am hoping to embed are :
- depth
- temperature
- pitch, roll and yaw, perhaps by using "sprites" that can be rotated based on the logged rotation around each axis
Here’s a small sample of some of the logged data :
1531168847.588000000 depth: 5.7318845
1531168848.229000000 attitude.calc.roll: -178.67145730705903
1531168848.229000000 attitude.calc.pitch: 8.89832326120461
1531168848.598000000 pressure.fluid_pressure_: 1598.800048828125
1531168848.898000000 temp.water.temperature.temperature_: 13.180000305175781
1531168849.229000000 attitude.calc.roll: -177.03372656909875
1531168849.229000000 attitude.calc.pitch: 3.697970708364904
1531168849.605000000 pressure.fluid_pressure_: 1594.0999755859375
1531168850.235000000 attitude.calc.yaw: 19.87041354690573
1531168850.666000000 pressure.fluid_pressure_: 1593.300048828125The various values are logged at fairly irregular intervals, and they are not all updated at the same time.
I can massage the data into any necessary format. I also have a timestamp (epoch based) of when each recording started, so I can calculate approximate frame numbers as necessary. I have been searching for ways to apply the epoch timestamp to the video (PTS, RTCTIME/RTCSTART), without luck so far. If I manage that, I imagine use of the
enable
filter might be easier, but I’m still not sure very very long video filters are the way to go. -
Installation of FFMPEG for Python in WIndows
10 février 2024, par user3587175I'm trying to use this python video converter and I couldn't even run the test. I read in the manual that I had to install FFMPEG separately so I did (I created the folder in C :\, the enviroment variable "path" and tested it and worked) but still doesn't work.



When I run the command :



python setup.py test




I get this :



Traceback (most recent call last):
 File "setup.py", line 51, in <module>
 packages=['converter'],
 File "C:\Python27\lib\distutils\core.py", line 151, in setup
 dist.run_commands()
 File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
 self.run_command(cmd)
 File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
 cmd_obj.run()
 File "setup.py", line 20, in run
 raise Exception('tests failed')
Exception: tests failed
</module>



When I run this example code :



from converter import Converter
c = Converter()

info = c.probe('test1.ogg')

conv = c.convert('test1.ogg', '/tmp/output.mkv', {
 'format': 'mkv',
 'audio': {
 'codec': 'mp3',
 'samplerate': 11025,
 'channels': 2
 },
 'video': {
 'codec': 'h264',
 'width': 720,
 'height': 400,
 'fps': 15
 }})

for timecode in conv:
 print "Converting (%f) ...\r" % timecode




I get this :



Traceback (most recent call last):
 File "C:\Users\USER\worspace_pyth\cosa\prueba1.py", line 3, in <module>
 c=Converter()
 File "C:\Python27\converter\__init__.py", line 27, in __init__
 ffprobe_path=ffprobe_path)
 File "C:\Python27\converter\ffmpeg.py", line 345, in __init__
 raise FFMpegError("ffmpeg binary not found: " + self.ffmpeg_path)
converter.ffmpeg.FFMpegError: ffmpeg binary not found: ffmpeg
</module>



I can't understand what else I need to do for this to work. Thanks for your help.


-
avformat/utils : function to get the formatted ntp time
7 mai 2018, par Vishwanath Dixitavformat/utils : function to get the formatted ntp time
This utility function creates 64-bit NTP time format as per the RFC
5905.
A simple explaination of 64-bit NTP time format is here
http://www.beaglesoft.com/Manual/page53.htm