
Recherche avancée
Médias (1)
-
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
Autres articles (77)
-
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...)
Sur d’autres sites (10950)
-
Anomalie #2108 (Fermé) : Pièce jointe dans un forum
19 juin 2011, par cedric - -
Playback / recording problems
3 novembre 2024, par WessiezThe code I'm working on gives me some errors. This results in frame lost when recording.


The overview : A video is paused in the first frame. When the motion sensor is detected the video is playing a scary scene. After that it pauses again on the first frame.
At the same time when motion is detected the camera starts recording the reaction of the poeple watching the scary scene.


This is my code :


from gpiozero import MotionSensor
from time import sleep
from picamera2 import Picamera2
from picamera2.encoders import H264Encoder
from picamera2.outputs import FfmpegOutput
import vlc
import datetime

# Creating Instance class object
vlc_instance = vlc.Instance()
player = vlc_instance.media_player_new()
player.set_fullscreen(True)
 
# Define Motion Sensor
pir = MotionSensor(4)

# Camera
camera = Picamera2()
video_config = camera.create_video_configuration()
camera.configure(video_config)
camera.rotation = 180
encoder = H264Encoder(bitrate=10000000)
output = FfmpegOutput('/home/wessie/Halloween/Recordings/' + datetime.datetime.now().strftime('%Y-%m-%d_%H.%M.%S.h264'))

print("Sensor loading")
pir.wait_for_no_motion()
sleep(.1)
player.set_mrl("/home/wessie/Halloween/ScareMedia/FemaleScare.mp4")
player.play()
sleep(.1)

while True:
 try:
 print("Ready")
 pir.wait_for_motion()
 sleep(.1)
 print("Motion detected")
 sleep(.1)
 player.set_mrl("/home/wessie/Halloween/ScareMedia/FemaleScare.mp4")
 player.play()
 sleep(.1)
 camera.start_recording(encoder, output)
 sleep(12)
 camera.stop_recording()
 while player.get_state() in playing:
 sleep(.1)
 continue 
 print("Finished")
 sleep(.1)
 except KeyboardInterrupt:
 break
 except:
 continue



After "Motion detected" the message is :
"Application provided invalid non monotonically increasing dts to muxer in stream 0 :"


I've tried to cleanup this code, but everything I do results in other errors.


Is the code in the right order ? The scary scene seems to work, but the recording is not 100%


-
[FFmpeg on Windows] : help me converting a set of .png files to a video file
31 octobre 2016, par Stefano FedeleHi everybody I am on windows 10, I installed FFMpeg and I would like to use it to convert 100 .png image files into a video file.
I am using it via the prompt, which is the Windows console, and I am struggling with the syntax (which probability comes from Linux). I set the folder in which ffmpeg.exe is contained as a windows system path as suggested on many websites and I moved the prompt to the folders in which the image files are contained which is reported here :
cd C:\video\pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain
I would like to convert the image files contained in this folder into a video file, the names of those image files are reported here :
pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain 20 001.png
pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain 20 002.png
...
...
pnts + ag 40 nm- during-tmpyp 10-12- laser power 7mw- kinetic100- exposure time 1s- gain 20 100.png
The number of frames per second whould be 2.
I read on internet that I should have to type something like this
ffmpeg -i image-%03d.png video.webm
But it looks like there are a lot of variables to consider and all the times I try to set them and run FFmpeg I get an error from the prompt.
Is there anyone who could suggest me the proper syntax, please ?