
Recherche avancée
Médias (5)
-
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
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (96)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (11870)
-
ffmpeg error : "Missing ')' or too many args in 'if(gt(a,1),650,-1)'"
23 février 2015, par Remini meI am trying to run this ffmpeg command in linux shell, to scale down the video (if portrait, than to maximum height of 650, while adjusting the width. And if landscape, then 650 maximum width, and adjust the height with aspect ratio) :
ffmpeg -i 1.mp4 -r 30 -vf scale="'if(gt(a,1),650,-1)':'if(gt(a,1),-1,650)'" -vcodec libx264 output_file1.mp4
But I get the following error :
[scale @ 0x1d48a40] [Eval @ 0x7fff53a49340] Missing ’)’ or too many
args in ’if(gt(a,1),650,-1)’ [scale @ 0x1d48a40] [Eval @
0x7fff53a49340] Missing ’)’ or too many args in ’if(gt(a,1),-1,650)’
Error when evaluating the expression ’if(gt(a,1),-1,650)’**EDIT : I have tried using the new @slhck syntax :
-vf "scale=if(gt(a\,1)\,650\,-2):if(gt(a\,1)\,-2\,650)"
The result I got was :
ffmpeg version 0.8.16-4:0.8.16-0ubuntu0.12.04.1, Copyright (c)
2000-2014 the Libav developers built on Sep 16 2014 18:33:49 with
gcc 4.6.3 The ffmpeg program is only provided for script compatibility
and will be removed in a future release. It has been deprecated in the
Libav project to allow for incompatible command line syntax
improvements in its replacement called avconv (see Changelog for
details). Please use avconv instead.Seems stream 0 codec frame rate differs from container frame rate :
180000.00 (180000/1) -> 90000.00 (180000/2) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’1.mp4’ : Metadata :
major_brand : isom
minor_version : 0
compatible_brands : isom3gp4
creation_time : 2015-02-05 14:54:24 Duration : 00:00:45.30, start : 0.000000, bitrate : 17058 kb/s
Stream #0.0(eng) : Video : h264 (High), yuv420p, 1920x1080, 17021 kb/s, 30.01 fps, 90k tbr, 90k tbn, 180k tbc
Metadata :
creation_time : 2015-02-05 14:54:24
Stream #0.1(eng) : Audio : aac, 48000 Hz, stereo, s16, 124 kb/s
Metadata :
creation_time : 2015-02-05 14:54:24 File ’output_file1.mp4’ already exists. Overwrite ? [y/N] y[buffer @ 0x747ec0] w:1920 h:1080 pixfmt:yuv420p [scale @ 0x745a40] [Eval @ 0x7fffac94b220] Missing ’)’ or too many args in
’if(gt(a,1),650,-2)’ [scale @ 0x745a40] [Eval @ 0x7fffac94b220]
Missing ’)’ or too many args in ’if(gt(a,1),-2,650)’ Error when
evaluating the expression ’if(gt(a,1),-2,650)’ Error opening
filters !What should I do ?
-
Transcode video using celery and ffmpeg in django
28 octobre 2015, par RobinI would like to transcode user uploaded videos using celery. I think first I should upload the video, and spawn a celery task for transcoding.
Maybe something like this in the tasks.py :
subprocess.call('ffmpeg -i path/.../original path/.../output')
Just completed First steps with celery, so confused how to do so in the
views.py
andtasks.py
. Also is it a good solution ? I would really appreciate your help and advice. Thank you.models.py :
class Video(models.Model):
user = models.ForeignKey(User)
title = models.CharField(max_length=100)
original = models.FileField(upload_to=get_upload_file_name)
mp4_480 = models.FileField(upload_to=get_upload_file_name, blank=True, null=True)
mp4_720 = models.FileField(upload_to=get_upload_file_name, blank=True, null=True)
privacy = models.CharField(max_length=1,choices=PRIVACY, default='F')
pub_date = models.DateTimeField(auto_now_add=True, auto_now=False)my incomplete views.py :
@login_required
def upload_video(request):
if request.method == 'POST':
form = VideoForm(request.POST, request.FILES)
if form.is_valid():
if form.cleaned_data:
user = request.user
#
#
# No IDEA WHAT TO DO NEXT
#
#
return HttpResponseRedirect('/')
else:
form = VideoForm()
return render(request, 'upload_video.html', {
'form':form
}) -
Revision 1fc70e47cd : Adds code for corner detection and ransac This code is to start experiments wit
7 février 2015, par Deb MukherjeeChanged Paths :
Add /vp9/encoder/vp9_corner_detect.c
Add /vp9/encoder/vp9_corner_detect.h
Add /vp9/encoder/vp9_corner_match.c
Add /vp9/encoder/vp9_corner_match.h
Add /vp9/encoder/vp9_global_motion.c
Add /vp9/encoder/vp9_global_motion.h
Add /vp9/encoder/vp9_ransac.c
Add /vp9/encoder/vp9_ransac.h
Modify /vp9/vp9cx.mk
Adds code for corner detection and ransacThis code is to start experiments with global motion models.
The corner detection can be either fast_9 or Harris.
Corner matching is currently based on normalized correlation.
Three flavors of ransac are used to estimate either a
homography (8-param), or an affine model (6-param) or a
rotation-zoom only affine model (4-param).The highest level API for the library is in vp9_global_motion.h,
where there are two functions - one for computing a single model
and another for computing multiple models up to a maximum number
provided or until a desired inlier probability is achieved.Change-Id : I3f9788ec2dc0635cbc65f5c66c6ea8853cfcf2dd