
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (42)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (5575)
-
Overlay different images with different time span to a video
26 juillet 2015, par azri.devI need to overlay a video with ’different images’ at ’different time span’.
Usingpython
andffmpeg
I developed a code which do exactlly what I need but it is time consuming and not efficient in processing.The code is just loop over all the images (with their time span) and output new video file which will be an input for the next loop.
Here is my code :
def insert_photos_to_video(photos_to_add_array, input_video):
count = 0
position_x = 25
position_y = 25
image_position = str(position_x) +':'+ str(position_y)
for item in photos_to_add_array:
image_path, time = item
start_time, end_time = time
output_video_name = str(count) + '.mp4'
output_video_file = os.path.join(os.getcwd(), output_video_name)
if count == 0:
input_video_path_name = input_video
command = 'ffmpeg -i '+ str(input_video_path_name) +' -i '+ image_path +' -filter_complex "[0:v][1:v] overlay='+ image_position +':enable=\'between(t,'+ str(start_time) +','+ str(end_time) +')\'" -pix_fmt yuv420p -c:a copy '+ output_video_file
subprocess.call(command, shell=True)
input_video_path_name = output_video_file
count = count + 1
return output_video_file- Is there any way to improve the code by combining all input images (along with their time span) in one
ffmpeg
command ? - Is there any other good way to do the above task with python using other libraries (e.g. OpenCV).
Thanks in advance.
- Is there any way to improve the code by combining all input images (along with their time span) in one
-
RTCTIME deprecated use time(0) instead , ffmpeg
22 avril 2016, par Gring)
I am trying to synch my pts while streaming a video to my systemclock. In the ffmpeg documentation i found, that :setpts='(RTCTIME - RTCSTART) / (TB * 1000000)'
should do this, but is decrepated by time(0). However I did not manage to find any information about this. So it would be really nice, if you could help me there.
-
FFMpeg - Print Date and Time during recording like surveillance
7 octobre 2020, par KlodeI need to record video from RaspberryPi, using this Bash script :


#!/bin/sh
/usr/bin/ffmpeg -f video4linux2 -input_format h264 -video_size 320x240 -framerate 15 -i /dev/video0 -vcodec copy -an "/var/ayron/videotrap/videos/pctrace_$(date +"%Y_%m_%d_%H_%M_%S").h264"



In this way, I can report the date and time of start recording. But I need to show on video the Date and Time during registration. Which kind of filter must I use ?


Thanks for your supply.