
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (78)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (9023)
-
create video from images which is in Camera Folder using ffmpeg and opencv
17 juillet 2015, par Nikhil Boradnew AsyncTask() {
ProgressDialog dialog;
protected void onPreExecute() {
dialog = new ProgressDialog(MainActivity.this);
dialog.setMessage("Genrating video, Please wait.........");
dialog.setCancelable(false);
dialog.show();
};
@Override
protected Void doInBackground(Void... arg0) {
File folder = Environment
.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM);
String path = folder.getAbsolutePath() + "/Camera";
ArrayList<string> paths = new ArrayList<string>(Arrays.asList(folder.list()));
FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(path
+ "/" + "test.mp4", 400, 400);
videoPath = path + "/" + "test.mp4";
try {
//recorder.setVideoCodec(5);
recorder.setVideoCodec(avcodec.AV_CODEC_ID_MPEG4);
//recorder.setFormat("3gp");
recorder.setFormat("mp4");
recorder.setFrameRate(frameRate);
recorder.setVideoBitrate(30);
startTime = System.currentTimeMillis();
recorder.start();
for (int i = 0; i " + paths.get(i));
long t = 3000 * (System.currentTimeMillis() - startTime);
if (t > recorder.getTimestamp()) {
recorder.setTimestamp(t);
**recorder.record(image);**
}
}
System.out.println("Total Time:- " + recorder.getTimestamp());
recorder.stop();
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
protected void onPostExecute(Void result) {
dialog.dismiss();
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.parse(videoPath), "video/mp4");
startActivity(intent);
Toast.makeText(MainActivity.this, "Done", Toast.LENGTH_SHORT)
.show();
};
}.execute();
</string></string>Got an Error in recorder.record(image) ;
Error Says :
Error:(69, 37) error: no suitable method found for record(IplImage)
method FFmpegFrameRecorder.record(AVFrame) is not applicable
(actual argument IplImage cannot be converted to AVFrame by method invocation conversion)
method FFmpegFrameRecorder.record(Frame) is not applicable
(actual argument IplImage cannot be converted to Frame by method invocation conversion)
method FrameRecorder.record(Frame) is not applicable
(actual argument IplImage cannot be converted to Frame by method invocation conversion)**Thanks in Advance
-
avconv / ffmpeg webcam capture while using minimum CPU processing
10 septembre 2015, par user3585723I have a question about avconv (or ffmpeg) usage.
My goal is to capture video from a webcam and saving it to a file.
Also, I don’t want to use too much CPU processing. (I don’t want avconv to scale or re-encode the stream)So, I was thinking to use the compressed mjpeg video stream from the webcam and directly saving it to a file.
My webcam is a Microsoft LifeCam HD 3000 and its capabilities are :
ffmpeg -f v4l2 -list_formats all -i /dev/video0
Raw: yuyv422 : YUV 4:2:2 (YUYV) : 640x480 1280x720 960x544 800x448 640x360 424x240 352x288 320x240 800x600 176x144 160x120 1280x800
Compressed: mjpeg : MJPEG : 640x480 1280x720 960x544 800x448 640x360 800x600 416x240 352x288 176x144 320x240 160x120What would be the avconv command to save the Compressed stream directly without having avconv doing scaling or re-encoding.
For now, I am using this command :
avconv -f video4linux2 -r 30 -s 320x240 -i /dev/video0 test.avi
I’m not sure that this command is CPU efficient since I don’t tell anywhere to use the mjpeg Compressed capability of the webcam.
Is avconv taking care of the configuration of the webcam setting before starting to record the file ? Is it always working of raw stream and doing scaling and enconding on the raw stream ?
Thanks for your answer
-
FFMPEG Command line for producing video for Tivo S3 and S4 RSS feed functionality
16 décembre 2015, par user793586I have been trying to generate a solid video/audio ffmpeg command line configuration that will produce an HD quality video. The output needs to play on both the Tivo S3 and S4 boxes using the RSS vod feature. The following settings are required.
Video :
Multiplexer type : MPEG-4 System
Video Dimension : 1280 x 720
Aspect Ratio : 16:9
Frame Rate : 29.97fps
Interlacing : Non-Interlaced
Bite Rate Mode : VBR
Number of passes : 2
Video Bitrate : 3000 kbps
Maximum Bitrate : 8000 kbps
Profile : Main
Level : 3.2
Number of B-Pictures : 2
Audio :
Audio Stream Type : AAC
Bits / Sample : 16
Channels : Stereo
Sample Rate : 48K
Audio Bitrate : 128 kbps