
Recherche avancée
Autres articles (8)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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 (...) -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)
Sur d’autres sites (3149)
-
Screen recorder in Ubuntu using python
3 août 2013, par mridulI am a hobby programmer and trying to make screen-recorder in Ubuntu using python.
Using this code able to take screenshot.import wx
app = wx.App(False)
s = wx.ScreenDC()
w, h = s.Size.Get()
b = wx.EmptyBitmap(w, h)
m = wx.MemoryDCFromDC(s)
m.SelectObject(b)
m.Blit(0, 0, w, h, s, 0, 0)
m.SelectObject(wx.NullBitmap)
b.SaveFile("screenshot.png", wx.BITMAP_TYPE_PNG)And using loop I take more pictures and create video using these screen shots.My code is given bellow,
import wx,os
app=wx.App(False)
s = wx.ScreenDC()
w, h = s.Size.Get()
b = wx.EmptyBitmap(w, h)
m = wx.MemoryDCFromDC(s)
i=0
while i<50:
m.SelectObject(b)
m.Blit(0, 0, w, h, s, 0, 0)
m.SelectObject(wx.NullBitmap)
b.SaveFile('{0:05d}.png'.format(i), wx.BITMAP_TYPE_PNG)
i+=1
os.system('ffmpeg -f image2 -r 8 -i %05d.png -vcodec mpeg4 -y movie1.mp4')
i=0
while i<50:
os.remove('{0:05d}.png'.format(i))
i += 1 `In above code I take 50 pictures and store as 00000.png to 00049.png and make video using ffmpeg.
After creating video I delete all pictures.Current Problems :
- Very small delay between screen shoots. If try to record videos using this code out put is not perfect.
- For recording long time it is not efficient. It take lot of hard drive memory to store screen shoots. And use more CPU .
What I do for get code more efficient ? Using pure python how to create video from pictures ? Is there any alternative methods to record screen ?
I like to improve my code. -
How to extract photo from a CCTV video based on time using python dynamically [on hold]
16 avril 2015, par PSSRI have a CCTV Video AVI file from that I want to take photo or screen based input time.
This I would like to do dynamically whenever I gives time as input to python script, script should read the video and should give the snap or photo or segment @given time.
Is it possible to do,If it is possible please help me to do the same
-
How to create a video with raw images (.rgb format) and add audio to it in python ?
25 mai 2015, par Presha ThakkarI have been trying with openCV but it doesn’t seem to help much. Also, I have tried ffmpeg and avconv. But I think am making a mistake somewhere. Could someone please guide me ?