
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
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
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (95)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (11237)
-
linux write permission for multiple users [on hold]
8 avril 2014, par Naveen GamageI have a folder with these permissions 775 owner : user group : user
I'm trying to convert files in above folder to MP4 using ffmpeg and write converted files back into above folder.
ffmpeg use www-data to write so every time it gives me permission denied error.
I tried adding www-data to group user and above folder has group write access (775) but I still getting the error. Error goes away when I chmod the folder to 777.
Is there a way to give www-data write access to above folder without changing current ownership ?
-
error when add arabic text to video ffmpeg c#
28 décembre 2020, par Fath Bakrii want to add Arabic annotation or text to video, i use ffmpeg version 4.3.1 in win 32 bit, here my code in c# :


private string AddVideo_Annotation(string text,int X,int Y)
 {
 try
 {

 string FFmpegPath = Utils.GetEXE_FFmpegPath();
 string path = Utils.GetProgramPath();
 //store outcome of process
 var errors = new StringBuilder();
 var output = new StringBuilder();
 var hadErrors = false;

 Process pdfprocess = new Process();

 
 //pdfprocess.StartInfo.LoadUserProfile = true;
 pdfprocess.StartInfo.RedirectStandardOutput = true;
 pdfprocess.StartInfo.RedirectStandardError = true;
 pdfprocess.StartInfo.UseShellExecute = false;
 
 pdfprocess.StartInfo.FileName = FFmpegPath;
 //text_shaping=1
 pdfprocess.StartInfo.Arguments = "-i \""+filePath+ "\" -vf -enable-libfribidi drawtext=\"text_shaping=1:text=\'" + text+ "\':x=" + X+":y="+Y+ ":fontsize=24:fontcolor=Red\" -c:a copy \"" + path + "\\out.mp4\"";
 
 //pdfprocess.StartInfo.WorkingDirectory = @"C:\Program Files\LibreOffice\program\";
 pdfprocess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;

 pdfprocess.EnableRaisingEvents = true;

 // capture normal output
 pdfprocess.OutputDataReceived += (s, d) => {
 output.Append(d.Data);
 };

 // Capture error output
 pdfprocess.ErrorDataReceived += (s, d) => {
 if (!hadErrors)
 {
 hadErrors = !String.IsNullOrEmpty(d.Data);
 }
 errors.Append(d.Data);
 };
 pdfprocess.Start();
 pdfprocess.BeginErrorReadLine();
 pdfprocess.BeginOutputReadLine();
 try
 {
 while (pdfprocess.MainWindowHandle == IntPtr.Zero)
 {
 // Discard cached information about the process
 // because MainWindowHandle might be cached.
 pdfprocess.Refresh();
 
 Thread.Sleep(200);

 }
 }
 catch { }
 Thread.Sleep(2000);
 pdfprocess.WaitForExit();
 while ((Process.GetProcessesByName("ffmpeg").Length > 0))
 {
 Thread.Sleep(200);
 }


 string stderr = errors.ToString();

 if (pdfprocess.ExitCode != 0)
 {
 //MessageBox.Show("error:" + stderr);

 throw new Exception("FFmpeg.exe has exit wit code " + pdfprocess.ExitCode+"\n"+ stderr);
 }
 return path + "\\out"+new FileInfo( filePath).Extension;
 }
 catch(Exception ex)
 {
 TXT_AnnotationText.Text = ex.Message + "\n" + ex.StackTrace.ToString();
 MessageBox.Show(ex.Message + "\n" + ex.StackTrace.ToString());
 throw ex;
 }
 }




i get this error message :


FFmpeg.exe has exit wit code 1
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 10.2.1 (GCC) 20200726 configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libsrt —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvmaf —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom —enable-libgsm —disable-w32threads —enable-libmfx —enable-ffnvcodec —enable-cuda-llvm —enable-cuvid —enable-d3d11va —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt —enable-amf libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D :\a.mp4' : Metadata : major_brand : mp42 minor_version : 0 compatible_brands : isommp42 creation_time : 2020-12-02T01:57:02.000000Z Duration : 00:01:37.70, start : 0.000000, bitrate : 125 kb/s Stream #0:0(eng) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 1280x662 [SAR 1:1 DAR 640:331], 124 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default) Metadata : creation_time : 2020-12-02T01:57:03.000000Z handler_name : Mainconcept MP4 Video Media Handler encoder : AVC Coding[NULL @ 05d306c0] Unable to find a suitable output format for 'drawtext=text_shaping=1:text='ظٹظ„ظٹظٹظ„ ظٹظ„ظٹط¨ظ„':x=200:y=200:fontsize=24:fontcolor=Red'drawtext=text_shaping=1:text='ظٹظ„ظٹظٹظ„ ظٹظ„ظٹط¨ظ„':x=200:y=200:fontsize=24:fontcolor=Red : Invalid argument
at EasyWhatsappSender.UserControls.UControl_VideoAudioPreview_Annotation.AddVideo_Annotation(String text, Int32 X, Int32 Y) in C :\Users\FathBakri\Documents\Visual Studio 2017\Projects\MediaViewer\UserControls\UControl_VideoAudioPreview_Annotation.cs:line 239


the error happen when i use text_shaping=1 , if i omit it and use Arabic text it display in symbols and not correct
how to fix it. Thanks for help

-
Fixed translation pt_BR : ’translated number gender, we don’t say "numero valida", "numero" is a "masculine" word, so we say "numero valido" instead of "numero valida"’
19 juillet 2011, par helder maximo botter ribasm localization/messages_ptbr.js Fixed translation pt_BR : ’translated number gender, we don’t say "numero valida", "numero" is a "masculine" word, so we say "numero valido" instead of "numero valida"’