
Recherche avancée
Autres articles (50)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Les images
15 mai 2013 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (5529)
-
synchronize android ffmpeg asyncTask in thread
28 juin 2018, par JunburgI’m currently working on cutting and pasting audio with ffmpeg on Android. The problem is that when one audio file is not finished, there are other working files that need to be executed. I think the error below means this. I work through threads. An expression that executes a thread whenever there is a file to be processed.
W/System.err: com.github.hiteshsondhi88.libffmpeg.exceptions.FFmpegCommandAlreadyRunningException: FFmpeg command is already running, you are only allowed to run single command at a time
W/System.err: at com.github.hiteshsondhi88.libffmpeg.FFmpeg.execute(FFmpeg.java:63)
at com.github.hiteshsondhi88.libffmpeg.FFmpeg.execute(FFmpeg.java:89)
at com.softcode.tablet.Mp3Concat_Thread$2.run(Mp3Concat_Thread.java:614)
at java.lang.Thread.run(Thread.java:762)So what I want to ask is how to synchronize if a file comes in when the thread’s work is not over yet. Since the ffmpeg object is created with a singleton pattern, it seems that you will not be able to create a new object for each operation.
If you know the answer, I would appreciate your reply.
** The asyncTask that runs ffmpeg is running in a thread. And I think the point is that the ffmpeg object is created as a singleton. When the work file comes in, the same thread is still running.
-
Using ffprobe with Powershell
5 mars 2014, par sebastianI need your help (again). I was using ffprobe with Windows PowerShell and wanted to do something similar as it is explained in this link here :
http://spreadys.wordpress.com/2012/12/03/ffprobe-and-windows-powershell/
It works really fantastic but I wanted to integrate a script in another script that starts ffprobe automatically with PowerShell. Said and done, I tried to write a few script-lines like you can see.
$title = "A_Day_for_Cake_and_Accidents"
$ffprobecommand = 'ffprobe -show_streams -select_streams v -print_format xml -count_frames C:\Users\Administrator\Desktop\dcp_bearbeitet\'+$title+'\'+$title+'.mov > C:\Users\Administrator\Desktop\dcp_bearbeitet\'+$title+'\totalframes.xml'
$ffprobepath = 'C:\ffmpeg\ff-prompt.bat'
$ffprobepathprop = 'C:\ffmpeg\ff-prompt.prop'
Add-Content -Value $ffprobecommand -Path $ffprobepath
$ffprobestart = "C:\ffmpeg\ff-prompt.bat -p C:\ffmpeg\ff-prompt.prop"
Invoke-Expression $ffprobestartIf I am running it I get something like this :
"C :\Users\Administrator>ECHO OFF
bin\ffmpeg.exe could not be found."
Of course the script must know where to find the ffmpeg.exe but the problem for me is, that I do not know where to put the path in my script and how to run the script successfully. Does anybody know a way to solve this ?
-
vulkan : Fix win/i386 calling convention
5 mars 2023, par Martin Storsjövulkan : Fix win/i386 calling convention
This fixes the following error when compiling with a modern
version of Clang for Windows/i386 :src/libavutil/hwcontext_vulkan.c:738:32 : error : incompatible function pointer types initializing 'PFN_vkDebugUtilsMessengerCallbackEXT' (aka 'unsigned int (*)(enum VkDebugUtilsMessageSeverityFlagBitsEXT, unsigned int, const struct VkDebugUtilsMessengerCallbackDataEXT *, void *) __attribute__((stdcall))') with an expression of type 'VkBool32 (VkDebugUtilsMessageSeverityFlagBitsEXT, VkDebugUtilsMessageTypeFlagsEXT, const VkDebugUtilsMessengerCallbackDataEXT *, void *)' (aka 'unsigned int (enum VkDebugUtilsMessageSeverityFlagBitsEXT, unsigned int, const struct VkDebugUtilsMessengerCallbackDataEXT *, void *)') [-Wincompatible-function-pointer-types]
.pfnUserCallback = vk_dbg_callback,
^Signed-off-by : Martin Storsjö <martin@martin.st>