
Recherche avancée
Autres articles (69)
-
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 (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (8555)
-
avfilter/x86/vf_atadenoise : add SIMD for serial too
17 octobre 2019, par Paul B Mahol -
Stream video over serial port using FFmpeg [closed]
13 septembre 2020, par Rasoul SharifianI am using the FFmpeg library to stream videos by UDP and LAN cables, something like this :




But as our embedding systems just have serial ports the data must stream over the serial ports.
something like this :




So the question is : Is it possible to stream videos over the serial port using the FFmpeg library ? Or is there any other library that can compress and stream videos over serial ports ?


I also used a kind of Uart to ethernet converter hardware module to solve the problem and hopefully, this worked for me. But the project goal is to send video data over serial ports originally and not using some hardware converters.


Any suggestions would be helpful.


-
How to create video by stitching together images (.png) where the serial on each image file increases by 6
10 avril 2024, par DataStatsExplorerI am trying to create a video (preferably mp4) from a series of png images. However, the name of each image file increases by 6 every frame. For example, I would have depthframe_0000 as the first frame, and depthframe_0001 for the next frame.


There are a few answers that have answered a similar question but I am unable to process the video when the image files are not increasing by 1.


I would like to keep the fps at 5. I am using ffmpeg as the suggested in the answers above but am open to any other suggestion.


The collab code that I have put together is as follows :


import subprocess

# Define the frame rate and the input/output paths
output_fps = 5
input_path = "/content/drive/MyDrive/depth/depthframe_%04d.png"
output_path = "/content/drive/MyDrive/depth.mp4"

# Create a list of the frames
frames = [input_path % i for i in range(0, 2671, 6)] # Update range as needed

# Write the list of frames to a temporary text file
with open('frames.txt', 'w') as f:
 for frame in frames:
 f.write(f"file '{frame}'\n")

# Create the command
command = [
 "ffmpeg",
 "-f", "concat",
 "-safe", "0",
 "-i", "frames.txt",
 "-c:v", "libx264",
 "-pix_fmt", "yuv420p",
 output_path
]

# Run the command
subprocess.run(command, check=True)