
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (108)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (11935)
-
MP4 to all mobile compatible 3gp
2 mai 2013, par Susheel MishraI am using FFMPEG for converting mp4 video to 3gp.I want to convert it to low end android phone as well as iphone.I am not concern with quality.Using it on linux server with php.
I searched but my need is diferent , hence post question.
thanks
-
Does Apple AS assembler replace certain NEON instructions with equivalent ones on iOS ?
5 avril 2012, par Yi WangI was trying to use ffmpeg on iOS and was debugging a crash in the optimized arm code. I have discovered that some unsigned (.u16, .u32) instruction have been replaced by signed ones (.i16, .i32). It's easy to see because disassembled instruction on GDB doesn't quite match the source code.
For example,
vrshrn.u32 -> vrshrn.i32
vrshrn.u16 -> vrshrn.i16
vadd.u16 -> vadd.i16My questions :
- Is this behavior correct and expected ? If not, how do we correct it ?
- If they are equivalent, why do we nee need the unsigned ones at all ? Is it because that way the code is more explicit ?
- Is this behavior expected with other platform's toolkit ? For example, Android's toolkit ? (I have heard Apple's AS is an ancient one)
-
Redirect ffmpeg stdout to memorystream and convert it to image c#
2 février 2016, par Zed MachineI want to get an image from ffmpeg stdout without saving it to disk.
here is the code :
public void GetFrame(string video, long millisectoseek)
{
panel1.BackgroundImage = null;
this.Update();
Process process = new Process();
long seconds = millisectoseek / 1000;
long millisec = millisectoseek % 1000;
var cmd = String.Format(" -ss {0}.{1} -i \"{2}\" -vframes 1 -an -f image2pipe pipe:1", seconds, millisec.ToString("000"), video);
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = true;
process.StartInfo.FileName = "\"" + Application.StartupPath + "\\ffmpeg.exe\"";
process.StartInfo.Arguments = cmd;
process.Start();
process.WaitForExit(100);
try
{
Bitmap myimg = (Bitmap)Image.FromStream(process.StandardOutput.BaseStream);
panel1.BackgroundImage = myimg;
this.Update();
}
catch (Exception ex) {
MessageBox.Show(ex.Message);
}
}The problem is that I get an ArgumentException (Parameters is not valid.) in Image.FromStream().. what is the problem ?
Seems that the process stdout stream is empty, or a least it looks like from the debugging. I tried using CopyToAsync with another declared memory stream just before process.WaitForExit() ; but it gave me the same exception every time.If I use the console with the same command line and I redirect all stdout to a file (1> image.png) the image is readable... so I cannot understand why it does not work properly.
Thanks in advance.