
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (63)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (13728)
-
Compile FFmpeg with a new encoder
19 octobre 2015, par Richard McI have be sent a encoder and I need to compile with FFMPEG, I am new to this so I’m not sure how to add/compile it with ffmpeg. The encoder is JSV, my server is ubuntu 14.04.
I have started to read this https://ffmpeg.org/developer.html#New-codecs-or-formats-checklist but am unsure about what to do.
-
Can't merge mp4 files with FFmpeg on android
6 mai 2017, par BrianI’m using https://github.com/hiteshsondhi88/ffmpeg-android-java in an app that needs to combine multiple mp4 files into one.
Here is a command
ffmpeg -i concat:"/data/data/com.testapp.app/cache:temp/lds82df9skov65i15k3ct16cik.mp4|/data/data/com.testapp.app/cache:temp/qm5s0utmb8c1gbhch6us2tnilo.mp4" -codec copy /data/data/com.testapp.app/cache:temp/4egqalludvs03tnfleu5dgb6iv.mp4
java method to append files, movie files is an array holding files i want to combine
public void appendFiles() {
showProgressDialog();
movieFile = getRandomFile();
StringBuilder b = new StringBuilder();
try {
for (int i = 0; i < movieFiles.size(); i++) {
File f = movieFiles.get(i);
if (!f.exists()) {
continue;
}
if(i != 0){
b.append("|");
}
b.append(f.getPath());
}
final String command = "-i concat:\""+b.toString() + "\" -codec copy " + movieFile.getPath();
try {
ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
@Override
public void onFailure(String s) {
app.log("FAILED with output : " + s);
}
@Override
public void onSuccess(String s) {
app.log("SUCCESS with output : " + s);
createThumbnail();
stopProgressDialog();
startReview();
}
@Override
public void onProgress(String s) {
app.log("Started command : ffmpeg " + command);
}
@Override
public void onStart() {
app.log("Started command : ffmpeg " + command);
}
@Override
public void onFinish() {
app.log("Finished command : ffmpeg " + command);
}
});
}
catch (FFmpegCommandAlreadyRunningException e) {
e.printStackTrace();
}
}
catch (Exception e) {
e.printStackTrace();
}
}and getRandomFile()
public File getRandomFile() {
if (captureDir != null) {
if (captureDir.exists()) {
SecureRandom random = new SecureRandom();
File file = new File(captureDir, new BigInteger(130, random).toString(32) + ".mp4");
return file;
}
}
return null;
}but I keep seeing the error no such file or directory
concat :"/data/data/com.testapp.app/cache:temp/lds82df9skov65i15k3ct16cik.mp4|/data/data/com.testapp.app/cache:temp/qm5s0utmb8c1gbhch6us2tnilo.mp4" : No such file or directory
any ideas ?
-
Python matplotlib.animation [Errno 13] Permission denied
11 février 2016, par FishmanI am trying to create a simple animated histogram and save it as a .mp4 using matplotlib and ffmpeg on a mac. I have already installed ffMpeg, specified the ffmpeg path, and now I am getting a permission denied error when writing to a folder in my desktop. I tried running as sudo and still get the same error. Help is much appreciated, thank you !
Here is the code :
df = pd.read_csv('.../data.csv')
df = df.dropna()
#Get list of weeks
weeks = df.ot_date.unique()
fig, ax = plt.subplots()
data = df.intervals_filled[df['ot_date'].isin([weeks[0]])]
n, bins = np.histogram( data , 20)
# get the corners of the rectangles for the histogram
left = np.array(bins[:-1])
right = np.array(bins[1:])
bottom = np.zeros(len(left))
top = bottom + n
nrects = len(left)
# here comes the tricky part -- we have to set up the vertex and path
# codes arrays using moveto, lineto and closepoly
# for each rect: 1 for the MOVETO, 3 for the LINETO, 1 for the
# CLOSEPOLY; the vert for the closepoly is ignored but we still need
# it to keep the codes aligned with the vertices
nverts = nrects*(1 + 3 + 1)
verts = np.zeros((nverts, 2))
codes = np.ones(nverts, int) * path.Path.LINETO
codes[0::5] = path.Path.MOVETO
codes[4::5] = path.Path.CLOSEPOLY
verts[0::5, 0] = left
verts[0::5, 1] = bottom
verts[1::5, 0] = left
verts[1::5, 1] = top
verts[2::5, 0] = right
verts[2::5, 1] = top
verts[3::5, 0] = right
verts[3::5, 1] = bottom
barpath = path.Path(verts, codes)
patch = patches.PathPatch(
barpath, facecolor='green', edgecolor='yellow', alpha=0.5)
ax.add_patch(patch)
ax.set_xlim(left[0], right[-1])
ax.set_ylim(bottom.min(), top.max()+40)
ax.set_xlabel('Number of intervals/week')
ax.set_ylabel('Count of CSAs')
plt.rcParams['animation.ffmpeg_path'] = '/usr/local/Cellar/ffmpeg'
FFwriter = animation.FFMpegWriter()
def animate(i):
print i
# simulate new data coming in
data = df.intervals_filled[df['ot_date'].isin([weeks[i-1]])]
n, bins = np.histogram(data, 20)
yearweek = str(weeks[i-1])
year = yearweek[0:4]
week = yearweek[4:]
title = 'Week %(wk)s of %(yr)s' %{'wk': week, 'yr': year}
ax.set_title(title)
top = bottom + n
verts[1::5, 1] = top
verts[2::5, 1] = top
return [patch, ]
ani = animation.FuncAnimation(fig, animate, 53,interval=1000, repeat=False)
ani.save('/Users/.../Desktop/1b.mp4', writer = FFwriter)
plt.show()And here is the traceback :
Traceback (most recent call last):
File "/Users/Fishman1049/Desktop/reserves_histogram_timeline/python/1b_text.py", line 109, in <module>
ani.save('/Users/Fishman1049/Desktop/1b', writer = FFwriter)
File "/Users/Fishman1049/anaconda/lib/python2.7/site-packages/matplotlib/animation.py", line 761, in save
with writer.saving(self._fig, filename, dpi):
File "/Users/Fishman1049/anaconda/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/Users/Fishman1049/anaconda/lib/python2.7/site-packages/matplotlib/animation.py", line 186, in saving
self.setup(*args)
File "/Users/Fishman1049/anaconda/lib/python2.7/site-packages/matplotlib/animation.py", line 176, in setup
self._run()
File "/Users/Fishman1049/anaconda/lib/python2.7/site-packages/matplotlib/animation.py", line 204, in _run
creationflags=subprocess_creation_flags)
File "/Users/Fishman1049/anaconda/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/Users/Fishman1049/anaconda/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
</module>I am running matplotlib version 1.5.1, just installed FFmpeg today using homebrew, spyder 2.3.8, python 2.7 and OS X 10.10.5. Thank you !.