
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (14984)
-
ffmpeg & watermark issue on convert movie
27 mars 2017, par Sebastian Schweinsteafter update of WinFF i get error :
"C:\Program Files (x86)\WinFF\ffmpeg.exe" -t 0:00:25 -y -i "c:\Videos\temp\input.mpg" -f mp4 -r 14 -vcodec libx264 -coder 1 -flags +loop+cgop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partb8x8 -me_method hex -subq 7 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 0 -qmax 69 -qdiff 4 -bf 3 -refs 3 -direct-pred 1 -trellis 1 -wpredp 2 -vf scale=240:180 -aspect 4:3 -maxrate 800k -bufsize 80k -b:v 400k -ar 44100 -b:a 80k -ac 2 -b 650k -vf "movie="c:\Videos\watermarklogo.png" [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" "c:\Videos\new\output.mpg"
error :
Filtergraph ’scale=240:180’ was specified through the -vf/-af/-filter option for output stream 0:0, which is fed from a complex filtergraph.vf/-af/-filter and -filter_complex cannot be used together for the same stream.
i downt know how to fix
-
lsws/utils : Make gray10 and gray12 full-scale like gray8 and gray16.
4 avril 2017, par Carl Eugen Hoyos -
create a movie in python [on hold]
22 mai 2017, par masoudI have some files with names (’Den_car_resample’ +’sdf’+ str(n)+’.dat’) where n changes from 0 to 25. I wrote a code to read these files and plots the results.
now I want to create a movie from these plots. at the end of the program, I used the avconv command to do that.
but, unfortunately my code creates a movie but it is empty.
I don’t know the reason exactly but I think, first, I have to define a frame to each plot and then create a movie.
can anyone please tell me how can I define a frame and also the add bit_rate of the movie.import sys
import subprocess
import sdf
import numpy as np
import matplotlib.pyplot as plt
import time
import matplotlib.animation as Animation
from matplotlib.font_manager import FontProperties
fp = FontProperties('Symbola')
##################### information from EPOCH input.deck
nx,ny= 1200, 1600
xmin=-100e-6
xmax = 110e-6
ymin = -200e-6
ymax = 200e-6
X =np.linspace(xmin,xmax,nx)
Y =np.linspace(ymin,ymax,ny)
#################
for n in range(0,25):
nstr = str(n)
######################..... reading Density of carbon
filename ="Den_car_resample" +'_sdf_'+ str(n)+'.dat'
with open(filename, 'rb') as f:
data = np.fromfile(f, dtype='float64', count=nx*ny)
Den_car = np.reshape(data, [ny, nx], order='F')
Den_car= np.log10(Den_car)
###################### Display Carbon density
fig = plt.imshow(Den_car, extent=[X.min()*1e6, X.max()*1e6, Y.min()*1e6,Y.max()*1e6], vmin=24, vmax=29, cmap='brg', aspect='auto')
plt.suptitle('Den_car')
plt.title('sdf '+ str(n)+'; Time= '+str(n*50)+'ps',color='green', fontsize=15)
plt.xlabel('x($\mu$m)')
plt.ylabel('y($\mu$m)')
plt.text(-80,-40,'Den_Carbon',color='red', fontsize=15)
plt.colorbar()
plt.savefig( 'fig%06d.png' % n, bbox_inches='tight')
plt.pause(.1)
plt.clf()
plt.close()
###################### Create movie
subprocess.call("avconv -framerate 1 -i fig%06d.png -c:v libx264 -profile:v high -crf 20".split())
sys.exit()