
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (72)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (14849)
-
How to Capture/Convert video using VLC or FFmpeg starting at the next encountered I-Frame
28 juillet 2014, par DavidGI am capturing multicast video using VLC.exe and performing some processing/converting using FFmpeg.exe. The resulting video starts with a gray background with some of the moving objects moving through the gray background. This seems to me that the video is not starting on an I-Frame, but on a B-Frame or a P-Frame. However, when I run ffprobe, it states the first frame is a key frame. After about 1/2 second, the video plays fine.
Here is the command I’m using to capture the video :
vlc.exe -I curses --run-time=10 "my.sdp" --sout=video.mp4
I’m not using anything special when I convert to an mp4 file using FFmpeg :
ffmpeg.exe -i video.mp4 -s 400x300 final.mp4
I tried to post an image of the first frame or two, but Stackoverflow gave me an error stating I need at least 10 reputation to post images. Sorry about that, an image would have helped.
I ran the command "ffprobe show_frames " and it looks like the first frame is a key frame. Of course I’m new to all this and I don’t know what I’m doing or seeing.
Here is beginning of the output to the "ffprobe show_frames " command :
[FRAME]
media_type=video
key_frame=1
pkt_pts=0
pkt_pts_time=0.000000
pkt_dts=0
pkt_dts_time=0.000000
pkt_duration=1001
pkt_duration_time=0.033367
pkt_pos=48
pkt_size=756
width=400
height=300
pix_fmt=yuv420p
sample_aspect_ratio=1:1
pict_type=I
coded_picture_number=0
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
reference=3
[/FRAME]Is there any way to either tell VLC.exe to start capturing on an I-Frame (This would be the best solution as I specify a duration to capture the video) or is there a way to tell FFmpeg.exe to start converting the input video starting at the first I-Frame encountered ?
Thanks,
David
-
FFMPEG-WEBM : Issue with premultiplied alphas WebM
17 septembre 2017, par Blake BuellI rendered a transparent Mov with a semi-transparent logo on it in Vegas Pro 15 and I converted that to a WebM using FFmpeg so I can put it on my website. When I looked at the logo with the WebM in chrome it had this gray tint compared to the original that was a lot brighter. I’m having a feeling this has something to do with premultiplied alphas but I don’t know how to deal with this with a WebM on chrome.
I think I would need to convert the premultiplied alpha to a straight alpha and if so how would I do this with FFmpeg ?Here is the command I used to convert to WebM if this is useful.
ffmpeg -i temp/Digi-Logo.mov -c:v libvpx -b:v 2000k -cpu-used 2 -pix_fmt yuva420p -auto-alt-ref 0 -deadline 600 logo/1.webm
EDIT : My guess is that FFmpeg when converting the MOV to WebM it removes the premultiplied alpha channel data and makes it that gray color. How would I make it so FFmpeg converts the transparent MOV to WebM and keeps the premultiplied alpha channel.
-
How to extract frames from a mpeg-2 file in Python ?
14 avril 2016, par AgnirudraI am trying to read and extract frames (faces detection to be precise) from a video file using python. My code is working fine with extracting frames and detecting the faces from a mp4 video file, but it can’t read a mpeg2 video file. What should be the proper approach to fix this problem ?
import pylab
import imageio
import cv2
import sys
filename = 'c:\file.mp4'
vid = imageio.get_reader("file.mp4", 'ffmpeg')
nums = [10,100,190,250, 150]
for num in nums:
image = vid.get_data(num)
fig = pylab.figure()
fig.suptitle('image #{}'.format(num), fontsize=20)
pylab.imshow(image)
pylab.show()
pic=cv2.imwrite('messigray.png',image)
# Create the haar cascade
faceCascade = cv2.CascadeClassifier('C:\opencv\sources\data\haarcascades\haarcascade_frontalface_default.xml')
# Read the image
image = cv2.imread('C:/Users/agni/Documents/Python_Devs/messigray.png')
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
# Detect faces in the image
faces = faceCascade.detectMultiScale(
gray,
scaleFactor=1.1,
minNeighbors=5,
minSize=(30, 30),
flags = cv2.cv.CV_HAAR_SCALE_IMAGE
)
print "Found {0} faces!".format(len(faces))
# Draw a rectangle around the faces
for (x, y, w, h) in faces:
cv2.rectangle(image, (x, y), (x+w, y+h), (0, 255, 0), 2)
cv2.imshow("Faces found" ,image)
cv2.waitKey(0)