Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Sur d’autres sites (224)
-
OpenIMAJ not able to access video file
20 septembre 2014, par SudhI am using OpenIMAJ to draw facial keypoints on a video but it is stuck at the first step itself.
Here is the code I am trying to run: :Video<mbfimage> video;
video = new XuggleVideo("file://E:/AV/out2.flv");//XuggleVideo("file:"+fileName);
VideoDisplay<mbfimage> display = VideoDisplay.createVideoDisplay(video);
display.addVideoListener(
new VideoDisplayListener<mbfimage>() {
public void beforeUpdate( MBFImage frame ) {
FaceDetector fd = new HaarCascadeDetector(40);
List<detectedface> faces = fd.detectFaces( Transforms.calculateIntensity(frame));
for( DetectedFace face : faces ) {
frame.drawShape(face.getBounds(), RGBColour.RED);
}
}
public void afterUpdate( VideoDisplay<mbfimage> display ) {
}
});
</mbfimage></detectedface></mbfimage></mbfimage></mbfimage>When I run this It prints
file :///E :/AV/out2.flv URL file :///E :/AV/out2.flv could not be opened
by ffmpeg. Trying to open a stream to the URL instead. 11:14:12.505
[Finalizer] DEBUG com.xuggle.xuggler - Closing dangling Container
(../../../../../../../csrc/com/xuggle/xuggler/Container.cpp:146)on the screen and then just dies out. result is same if I use video = new XuggleVideo(new File("E :/AV/out2.flv")) ;
Also if I keep file in the project and then do video = new XuggleVideo(new File("out2.flv")) ; I get same result.
I am able to access the file if I put the link in the browser. What is going wrong ?
Update : I get just this
out2.flv 12:03:06.485 [Finalizer] DEBUG com.xuggle.xuggler - Closing
dangling Container
(../../../../../../../csrc/com/xuggle/xuggler/Container.cpp:146)If I use
video = new XuggleVideo("out2.flv");
-
Invalid NAL unit size in m3u8 stream through OpenCV
3 mai 2021, par ClownLegsstreaming a ".m3u8" feed from a Raspberry Pi zero W that points to 10 sequenced ".m4s" video files.
when feeding this into the below cv2 library it throws the error codes shown at the bottom of this post.
these errors seem to be in sync with the output video hanging/stuttering.



Code :


import cv2
import sys
import random

faceCascade = [cv2.CascadeClassifier(x) for x in sys.argv[1:]]

video_capture = cv2.VideoCapture('http://*IP*:8080/camera/livestream.m3u8')
colors = [(random.randint(0,255), random.randint(0,255), random.randint(0,255)) for i in faceCascade]

while True:
 # Capture frame-by-frame
 ret, frame = video_capture.read()

 gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)


 faces = [list(face)+[i] for i,faces in enumerate(faceCascade) for face in faces.detectMultiScale(
 gray,
 scaleFactor=1.1,
 minNeighbors=5,
 minSize=(30, 30),
 flags=cv2.CASCADE_SCALE_IMAGE
 )]

 # Draw a rectangle around the faces
 for (x, y, w, h, i) in faces:
 cv2.rectangle(frame, (x, y), (x+w, y+h), colors[i], 2)

 # Display the resulting frame
 cv2.imshow('Video', frame)

 if cv2.waitKey(1) & 0xFF == ord('q'):
 break

# When everything is done, release the capture
video_capture.release()
cv2.destroyAllWindows()




Errors :


[h264 @ 00000189507870c0] Invalid NAL unit size (2103052861 > 20986).
[h264 @ 00000189507870c0] Error splitting the input into NAL units.




Is there a way of resolving these errors with the stream ?


-
nomenclature #2549 (Nouveau) : Renommer sommaire.html de façon plus explicite
27 février 2012, par tetue -Qui débute en SPIP est dérouté par le nom du squelette de page d’accueil. Certains bloquent carrément face au fichier sommaire.html : « mais non, c’est pas un sommaire que je veux faire, mais la page d’accueil du site. C’est où, dans quel fichier ? » Pour eux, sommaire.html est plutôt un « plan du (...)