
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (104)
-
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 (...) -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (8790)
-
Museum of Multimedia Software, Part 4
20 août 2010, par Multimedia Mike — Software MuseumThis is the last part of the series, at least until some more multimedia software shows up at my favorite thrift shop or the other boneyards I scavenge.
Miscellaneous Multimedia Programs
This set includes the titles Matinee FMV Screensaver, MetaCreations Painter Classic, and Multimedia JumpStart. The second one is likely a creation program. I have no idea what the third one is, while the first title gives me chills just thinking about the implications.
Miscellaneous Creativity Software
Magic Theatre and Microsoft Home : Creative Writer. I think I loaded up the former once to find a very basic animation program. The latter isn’t necessarily multimedia-related but certainly classifies as creative software. It also reminds me of the ad I once spied in Entertainment Weekly magazine during the mid-1990s for a Microsoft music history CD-ROM. MS branched out into all kinds of niches.
More Multimedia Creativity Software
VideoCraft and U-Create Games & Animation. I wager these would be fun to play around with if I had the time.
Showcase CD-ROMs
"What Can You Make ? Showcase 7" from Macromedia and Microsoft Multimedia Pack 10.
Basic Multimedia Software Discs
As a multimedia nerd, these Apple QuickTime and Microsoft Video for Windows discs make me sentimental.
Real Software Collection
Grit your teeth and gaze upon CD-ROM distributions of Real’s software. There is a RealAudio disc back from when Real still called themselves Progressive Networks. "Everything you need to hear the web roar !"
Clips
And a few multimedia clip CD-ROMs, along with a disc that promises to test and tune your MPC setup.
Wrap-Up
I would be remiss if I neglected to mention a few more pieces of multimedia creation software in my collection. First, there’s the Barbie Storymaker. I actually gave that one a go, as you can tragically see from that link. Further, the Taco Bell fast food restaurant chain ran, as one of their many kids meal promotions, a series of 4 simple Comics Constructor CD-ROMs. I played briefly with it here and again during an exploration of XML data formats and the parsing thereof (which the software uses). -
How to record depth stream from realsense L515
22 avril 2022, par BilalI have a depth camera (Intel Realsense L515) and I do like to record a video of the depth.


I have seen this answer which is using FFMPEG, but I didn't know how to replicate it in my case !


I'm using this code :


import cv2
import numpy as np
import pyrealsense2 as rs
import time

pipeline = rs.pipeline()
config = rs.config()

"""
# Depth Mode
"""
# Resolution
res = [(1024, 768), (640, 480), (320, 240)]
resolution = res[0]
print("RealSense Resolution:{}\n".format(resolution))

# # initialize video writer
fourcc = cv2.VideoWriter_fourcc('F','F','V','1')
fps = 30
video_filename = 'output.avi'
out = cv2.VideoWriter(video_filename, fourcc, fps, resolution, False)


config.enable_stream(rs.stream.depth, resolution[0], resolution[1], rs.format.z16, 30)
profile = config.resolve(pipeline)
# Start streaming
pipeline.start(config)

# Declare sensor object and set options
depth_sensor = profile.get_device().first_depth_sensor()
depth_sensor.set_option(rs.option.visual_preset, 5) # 5 is short range, 3 is low ambient light
depth_sensor.set_option(rs.option.receiver_gain, 8)
depth_sensor.set_option(rs.option.pre_processing_sharpening, 0.0)
depth_sensor.set_option(rs.option.post_processing_sharpening, 3.0)
depth_sensor.set_option(rs.option.laser_power, 100)
depth_sensor.set_option(rs.option.confidence_threshold, 2)
# Get the sensor once at the beginning. (Sensor index: 1)

# # Filters
threshold_filter = rs.threshold_filter(min_dist=1.2, max_dist=1.4)
temporal_filter = rs.temporal_filter(smooth_alpha=0.1, smooth_delta = 9.0,persistence_control=7)

try:
 # # Filters
 threshold_filter = rs.threshold_filter(min_dist=1.2, max_dist=1.4)
 temporal_filter = rs.temporal_filter(smooth_alpha=0.1, smooth_delta = 75.0,persistence_control=0)

 tic = time.time()

 while True:
 # Wait for depth frames:
 frames = pipeline.wait_for_frames()
 depth_frame = frames.get_depth_frame()
 if not depth_frame:
 continue

 #------------
 # # FILTERS |
 #------------

 depth_frame = threshold_filter.process(depth_frame)
 depth_frame = temporal_filter.process(depth_frame)

 # Convert images to numpy arrays
 depth_array = np.asanyarray(depth_frame.get_data())
 # depth_array = np.asanyarray(colorizer.colorize(depth_frame).get_data())

 out.write(depth_array)
 toc = time.time()
 if(round(toc - tic) > 30):
 break

finally:
 out.release()
 pipeline.stop()



And getting this error :




out.write(depth_array)
cv2.error : OpenCV(4.5.4) /tmp/pip-req-build-kneyjnox/opencv/modules/videoio/src/cap_ffmpeg.cpp:186 : error : (-215:Assertion failed) image.depth() == CV_8U in function 'write'




Can you please tell me how can I record the depth from my camera ? thanks in advance.


-
Splitting m4a into multiple files with ffmpeg
16 juillet 2020, par ARuizI have an audio file (.m4a) and want to split it into smaller pieces using ffmpeg. All answers I have seen do something along one of the following two possibilities :


- 

ffmpeg -i inputFile -map 0 -f segment -segment_time 60 -c copy "$output%03d.m4a




or


- 

ffmpeg -i inputFile -acodec copy -ss start_time -to end_time outputFile




With 1. the first file is fine. From the second file on, I just get a minute of silence in quicktime, and in VLC the file plays but the timing is odd : for example the second file should have second 0 equals to second 60 in the original file. However in vlc it starts playing on second 60 and goes on to second 120.


With 2. I have to set start times and end for each file, unfortunately I notice a small jump when I play one after the other, so it seems as if some miliseconds are lost.


There are definitely a few old questions asked around this, but none of them actually helped me with this.