
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 (30)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (7073)
-
Celery task execution never stops
2 janvier 2015, par Dmitry MikhaylovI don’t know why but my task never stops executing, it just starts from the beginning.
Here’s the code :
@task
def create_screenshots(video_id):
from videos.models import Video
video = Video.objects.get(id=video_id)
filename = os.path.join(settings.MEDIA_ROOT, video.file.name)
cmd = ["ffprobe", "-of", "json", "-show_format", "-show_streams", filename]
info = json.loads(check_output(cmd))
streams = info['streams']
frames = 0
for stream in streams:
if stream['codec_type'] == 'video':
frames = stream['nb_frames']
break
rate = int(frames) / (settings.FRAMES_NUMBER + 1)
output_filename = os.path.join('/tmp', '%s_tile.jpg' % os.path.basename(video.file.name))
# create thumbnails tile
cmd = ["ffmpeg", "-i", filename, "-vf",
"select=not(mod(n\\, %d)),scale=231:160,tile=1x10" % int(rate), "-y",
output_filename]
call(cmd)
video.screenshots_sprite.save("%d.jpg" % video.id, File(open(output_filename)), save=False)
# create cover
output_filename = os.path.join('/tmp', '%s_cover.jpg' % os.path.basename(video.file.name))
cmd = ["ffmpeg", "-i", filename, "-vf", "select=gte(n\,%d)" % (int(frames) / 2,),
"-vframes", "1", "-y", output_filename]
call(cmd)
video.cover.save("%d.jpg" % video.id, File(open(output_filename)), save=False)
video.save()What I do here is just run ffmpeg to get video thumbnails and cover file. I don’t see any loop here.
-
How to Watermark videos on word press site ? [on hold]
8 août 2017, par Sonia khanHow can i add water mark to uploaded videos on hosting server , i have used ffmpeg on windows pc to watermark videos with code lines but i dont know how to do that on server/ wordpress site via any plugin or php script or via ffmpeg code line ?
-
ffmpeg : fix loosing gaps between audio frame timestamps when filtering
25 août 2021, par Paul B Mahol