
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (97)
-
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 (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (14252)
-
HTML5 video - frame accurate seeking on Android devices ?
27 mai 2015, par GFoley83I’m working on an app that requires frame accurate seeking on video in the browser, across desktop and mobile devices (including packaged apps with Cordova).
Desktop browsers work fine as do iOS devices (both as a packaged app and through Safari) but Android devices only seem to show key frames (aka intra frames or i-frames) in the video.
I’ve setup a test page on jsfiddle to help demo my problem.
The video has been encoded with ZenCoder. It has a frame rate of 23.976 and key frames every 250 frames. The video itself shows the current frame index so you can easily see that only the frames at 0, 250 and 500 frames are being displayed on Android devices, regardless of where you seek to.
At this stage I’d be happy with a solution that works in Android browsers or as a packaged app with Cordova (I’ve also tried using the Crosswalk WebView but to no avail).
-
Looking to play back non-encoded video upload then export gif from selection point via FFMPEG
10 novembre 2019, par Christopher NeilWe’ve been trying to crack this code all week, reaching out to everyone to see if you have any solutions ?
- We want the user to upload a video and in the next step he will select a small 5 second loop of the video which will be made as a gif.
- Old developer was able to do this by splicing the video at 10 seconds instead of 5 but not re-encoding it meant that it would sometimes be beyond 12 seconds and in some cases less than 7.
- We changed the code to force keyframes with re encoding so that it splices the video at exactly 5 seconds to show the loop.
- These slices are shown to the user using html5 video player.
- Upon selection of the loop that sliced video is converted to gif.
Everything is working in the vice order. The issue is when the user uploads a large sized and length video this slicing and re-encoding takes forever and that cause the user to feel the site is not working properly.
What we want is very simple :
- Show 5 second portion of the video on loop.
- If user wants to select another loop he/she clicks the next button and is taken to the next 5 second loop which would be either at 25% of the video or some other
- On selection of that portion it converts it into gif.
-
ffmpeg. I correct that to insert the logo [closed]
13 mai 2012, par user1390921private void btnStart_Click(object sender, EventArgs e)
{
this.btnStart.Enabled = false;
this.progressBar1.Value = 0;
string srcFile = Path.Combine(this.txtSource.Text, this.lstFiles.SelectedItem.ToString());
MessageBox.Show(srcFile);
string dstFile = Path.Combine(this.txtOutput.Text,
Path.GetFileNameWithoutExtension(this.lstFiles.SelectedItem.ToString())) + "." + this.cboOutputFormat.SelectedItem;
MessageBox.Show(dstFile);
string imafile = Path.Combine("movie= "+this.openFileDialog1.SafeFileName);
MessageBox.Show(imafile);
string videoRateOption = string.Empty;
if (this.cboVideoRate.SelectedIndex != 0)
{
videoRateOption = " -b:v " + this.cboVideoRate.SelectedItem.ToString().Split(' ')[0] + "k ";
MessageBox.Show(videoRateOption);
}
string videoSizeOption = string.Empty;
if (this.lstVideoSize.SelectedIndex != 0)
{
videoSizeOption = " -s " + this.lstVideoSize.SelectedItem.ToString().Split(' ')[0] + " ";
}
this.Text = "Converting...";
ThreadPool.QueueUserWorkItem((object state) =>
{
ConvertFile(srcFile, imafile, dstFile, videoRateOption, videoSizeOption);
});
}
string strFFMPEGOut;
ProcessStartInfo psiProcInfo = new ProcessStartInfo();
TimeSpan estimatedTime = TimeSpan.MaxValue;
StreamReader srFFMPEG;
string ste = ""movie=watermarklogo.png [wm];[in][wm] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]"";
string strFFMPEGCmd = " -i "" + srcFile + "" -ar 44100 " + videoRateOption + videoSizeOption +"-vf"+ ste + "-y ""
+ dstFile + """;
psiProcInfo.FileName = Application.StartupPath + ((IntPtr.Size == 8) ? "\x64" : "\x86") + "\ffmpeg.exe";
psiProcInfo.Arguments = strFFMPEGCmd;
psiProcInfo.UseShellExecute = false;
psiProcInfo.WindowStyle = ProcessWindowStyle.Hidden;
psiProcInfo.UseShellExecute = false;
psiProcInfo.RedirectStandardError = true;
psiProcInfo.ErrorDialog = true;
psiProcInfo.RedirectStandardOutput = true;
psiProcInfo.CreateNoWindow = true;
prcFFMPEG.StartInfo = psiProcInfo;
prcFFMPEG.Start();There is no response that I push the start button that I tried to fix the code that I inserted the logo in the movie with Ffmpeg. Is that be okay if I don't choose the path of logo File. and Is there any something wrong that I did.