
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#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
Autres articles (77)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
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 (10920)
-
How to find index of input files in ffmpeg ?
30 décembre 2016, par NikitaI am using the below FFMPEG command for a scenario where i need 2 files as input and 2 output files. applying text overlay in 1st output file and image overlay in the other.
In this scenario we need index of the file upon which overlay has to be provided, as highlighted in yellow :ffmpeg -i "Input0.mxf" -i Input1.png -i "Input2.mxf" -filter_complex
"[0:0:v]split=1[input1] ;[2:0:v]split=1[input2] ;[input1]drawtext=’fontfile=/Windows/Fonts/arial.ttf:fontsize=70:fontcolor=white@0.8:text=’Title
of this Video’:x=10 :
y=10’[output1] ;[input2]overlay=main_w-overlay_w-10:10[output2]" -map
"[output1]" -c:v libx264 -preset ultrafast -q:a 6 output1.mov -map
"[output2]" -c:v libx264 -preset ultrafast -q:a 6 output2.movThe inputs are dynamic and can come in any sequence. So I need to apply overlays to particular file which ever user specifies.
So, I need to know is there any way which can automate this file indexing i.e. according to filename/aliasing(if possible), if I can find the index of that input file .?
Any workaround is also welcomed.
Thanks in advance. -
How can I find orientation of a video using python [duplicate]
23 décembre 2016, par GloinThis question already has an answer here :
I am using moviepy to automatically create a movie from lots of videos. Some of these videos will be portrait, and some landscape. I need to be able to grab the orientation of each video from its metadata, and then rotate it in moviepy if it returns ’portrait’.
I have found this code, which extracts metadata using ffprobe, and outputs height and width, but I don’t know how to get the orientation.
Several people have mentioned mediainfo, but I don’t know how to extract the information from the terminal result.
There are two PyPI module, ffprobe and mediainfo, which are both python wrappers for their respective tools, but the usage information is practically nonexistent.
I have found several questions, but they do not answer my question in enough detail :
how to get a video file’s orientation in Python
I know SO isn’t "writemycode.com" but this isn’t documented anywhere, and I have looked thoroughly.
-
How can I get Python to find ffprobe ?
23 décembre 2016, par GloinI have ffmpeg and ffprobe installed on my mac (macOS Sierra), and I have added their path to PATH. I can run them from terminal.
I am trying to use ffprobe to get the width and height of a video file using the following code :
import subprocess
import shlex
import json
# function to find the resolution of the input video file
def findVideoResolution(pathToInputVideo):
cmd = "ffprobe -v quiet -print_format json -show_streams"
args = shlex.split(cmd)
args.append(pathToInputVideo)
# run the ffprobe process, decode stdout into utf-8 & convert to JSON
ffprobeOutput = subprocess.check_output(args).decode('utf-8')
ffprobeOutput = json.loads(ffprobeOutput)
# find height and width
height = ffprobeOutput['streams'][0]['height']
width = ffprobeOutput['streams'][0]['width']
return height, width
h, w = findVideoResolution("/Users/tomburrows/Documents/qfpics/user1/order1/movie.mov")
print(h, w)I am sorry I cannot provide a MCVE, as I didn’t write this code, and I don’t really know how it works.
It gives the following error :
Traceback (most recent call last):
File "/Users/tomburrows/Dropbox/Moviepy Tests/get_dimensions.py", line 21, in <module>
h, w = findVideoResolution("/Users/tomburrows/Documents/qfpics/user1/order1/movie.mov")
File "/Users/tomburrows/Dropbox/Moviepy Tests/get_dimensions.py", line 12, in findVideoResolution
ffprobeOutput = subprocess.check_output(args).decode('utf-8')
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 693, in run
with Popen(*popenargs, **kwargs) as process:
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
</module>If python is not reading from the PATH file, how can I specify where ffprobe is ?
EDIT :
It appears the python path is not aligned with my shell path.
Usingos.environ["PATH"]+=":/the_path/of/ffprobe/dir"
at the beginning of each program allows me to use ffprobe, but why might my python path not be the same as my shell path ?