
Recherche avancée
Autres articles (55)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9117)
-
ffmpeg : Crop webm file with circular .png mask [closed]
26 mars 2021, par Beneos BattlemapsI tried everything for hours and can get it working by myself. I want to create animated Pen&Paper tokens for virtuale tabletops. I have a .webm video file with 720x720 pixel showing an animation of a render file created out of a png sequence via


ffmpeg -framerate 24 -f image2 -i face.%04d.png -c:v libvpx-vp9 -pix_fmt yuva420p face1.mp4


See here : https://webmshare.com/play/ZxZa0


Now i want to overlay this .webm with an circle image as frame :




and crop the black part so its transparent in the end result as well as keeping the transparent area in the center for the video itself.


So the endresult is from this :




to this :




Can you help me out with that ? If its easier i can split the steps, making first the alpha mask crop via png and adding the circle in it later.


Beste regards in advance
-Ben


-
Latency and frame break using Hikivison using OpenCV
23 septembre 2024, par Arjun ManiWhen I try reading frames from Hikivision camera, I face latency and frame break, from OpenCV, but it works fine with
ffmpeg
, and if I use any other camera, like axis, it works, fine but in Hikivision, I have some issue, so if someone has solved this issue, can please share me to solve

I need to resolve this issue.


import cv2


import cv2

# RTSP URL
rtsp_url = "rtsp://admin:okulr123@192.168.0.64:554/Streamings/channels/101"

# Create a VideoCapture object
cap = cv2.VideoCapture(rtsp_url)

# Check if the connection is opened
if not cap.isOpened():
 print("Error: Couldn't open the video stream")
 exit()

# Read frames in a loop
while True:
 ret, frame = cap.read()

 # Check if frame was successfully captured
 if not ret:
 print("Error: Couldn't read frame")
 break

 # Display the frame
 cv2.imshow('RTSP Stream', frame)

 # Break the loop if 'q' key is pressed
 if cv2.waitKey(1) & 0xFF == ord('q'):
 break

# Release the VideoCapture object and close windows
cap.release()
cv2.destroyAllWindows()




-
Latency and frame break using Hikvison using OpenCV
24 septembre 2024, par Arjun ManiWhen I try reading frames from Hikvision camera, I face latency and frame break, from OpenCV, but it works fine with
ffmpeg
, and if I use any other camera, like axis, it works, fine but in Hikvision, I have some issue, so if someone has solved this issue, can please share me to solve

I need to resolve this issue.


import cv2


import cv2

# RTSP URL
rtsp_url = "rtsp://admin:okulr123@192.168.0.64:554/Streamings/channels/101"

# Create a VideoCapture object
cap = cv2.VideoCapture(rtsp_url)

# Check if the connection is opened
if not cap.isOpened():
 print("Error: Couldn't open the video stream")
 exit()

# Read frames in a loop
while True:
 ret, frame = cap.read()

 # Check if frame was successfully captured
 if not ret:
 print("Error: Couldn't read frame")
 break

 # Display the frame
 cv2.imshow('RTSP Stream', frame)

 # Break the loop if 'q' key is pressed
 if cv2.waitKey(1) & 0xFF == ord('q'):
 break

# Release the VideoCapture object and close windows
cap.release()
cv2.destroyAllWindows()