
Recherche avancée
Médias (1)
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
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 ;
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (9980)
-
How can I rename a file from a txt file with Windows bat file ?
12 septembre 2022, par user1264599I have a batch script that renames a file to input.mkv so it can be processed by a string of other commands in the bat file with a final file called ProcessedVideo.mkv. I capture the OG file name using "dir *.mkv /b>OG_FileName.txt" before being renamed.


How can I rename the final processed mkv file to the name captured in the OG_FileName.txt and maybe add "_Added-Text.mkv" as the last part of my Batch Script ? (Adding text to the file name is not that important if it is too much trouble).


I really thought this would be easy but I'm defeated.


-
Realtime video processing with javacv on Android
7 août 2014, par moonieI wish to do realtime video processing on Android using opencv/javacv. My basic approach can be summarized as follow :
onCreate(), generating a new JavaCameraView
mCameraView = new JavaCameraView(this, mCameraIndex);
mCameraView.setCvCameraViewListener(this);
setContentView(mCameraView);when the user clicks a button, a ffmpegframe recorder is created
try{
final long currentTimeMillis = System.currentTimeMillis();
final String appName=getString(R.string.app_name);
final String galleryPath=Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).toString();
final String albumPath=galleryPath+"/"+appName;
final String photoPath=albumPath+"/"+currentTimeMillis+".avi";
FFmpegFrameRecorder recorder=FFmpegFrameRecorder.createDefault(photoPath, 640, 360);
recorder.setFrameRate(30);
recorder.start();
}catch(FrameRecorder.Exception e){
e.printStackTrace();
}then for each CameraFrame, use the following code to process and save the frame
public Mat onCameraFrame(final CvCameraViewFrame inputFrame){
final Mat rgba = inputFrame.rgba();
//...apply some filters on rgba
if(mIsTakingVideo){
try{
recorder.record(MatToIplImage(rgba,640,320));
}catch(FrameRecorder.Exception {
e.printStackTrace();
}
}
return rgba;
}
public IplImage MatToIplImage(Mat m){
Bitmap bmp=Bitmap.createBitmap(m.width(), m.height(), Config.ARGB_8888);
Utils.matToBitmap(m, bmp);
IplImage image=IplImage.create(m.width(),m.height(),IPL_DEPTH_8U,1);
bmp.copyPixelsToBuffer(image.getByteBuffer());
return image;}When the user clicks the button again, the recorder is stopped and released. However the video I create is an empty video. Any idea why ?
EDIT :
The video was empty because the format avi is not supported on my test phone...
Now the video is not empty but it has the following errors- The recorded video has two split windows instead of just one window
- The color is very different from the object I recorded
- The play rate is too fast.
-
What can cause the CPU usage drop in the script moviepy FFMPEG
26 juin 2017, par Frikkie MaritzWhat would cause the exporting rate to drop or cpu usage to drop between these 2 scripts
This one exports with a rate of 15bit/s
clip1 = VideoFileClip("C:/TBD/TBD/#Frikkie/T1234567/Export/01.mp4")
clip2 = VideoFileClip("C:/TBD/TBD/#Frikkie/T1234567/Export/02.mp4")
clip3 = VideoFileClip("C:/TBD/TBD/#Frikkie/T1234567/Export/03.mp4")
final = concatenate([clip1,
clip2.crossfadein(1),
clip3.crossfadein(1)],
padding=-1, method="compose")
final.write_videofile('myvideo.mp4')This one drops down to only 3 bit/s
path = "C:\TBD\TBD\#Frikkie\T1234567\Export"
videolist = []
for clips in glob.glob(os.path.join(path, '**')):
print(clips)
if ".mp4" in clips:
videolist.append(VideoFileClip(clips).crossfadein(1))
print(videolist)
final = concatenate(videolist, padding=-1, method="compose")
final.write_videofile('myvideo.mp4')