
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (46)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (3500)
-
How to get the video duration using FFMPEG in C# asp.net
25 mai 2020, par HamadI want to get the video file duration in string using C#. I searched the internet and all i get is :



ffmpeg -i inputfile.avi




And every1 say that parse the output for duration.



Here is my code which is



string filargs = "-y -i " + inputavi + " -ar 22050 " + outputflv;
 Process proc;
 proc = new Process();
 proc.StartInfo.FileName = spath;
 proc.StartInfo.Arguments = filargs;
 proc.StartInfo.UseShellExecute = false;
 proc.StartInfo.CreateNoWindow = false;
 proc.StartInfo.RedirectStandardOutput = false;
 try
 {
 proc.Start();

 }
 catch (Exception ex)
 {
 Response.Write(ex.Message);
 }

 try
 {
 proc.WaitForExit(50 * 1000);
 }
 catch (Exception ex)
 { }
 finally
 {
 proc.Close();
 }




Now please tell me how can i save the output string and parse it for the video duration.



Thanks and regards,


-
How to get the video duration using FFMPEG in C# asp.net
23 août 2013, par HamadI want to get the video file duration in string using C#. I searched the internet and all i get is :
ffmpeg -i inputfile.avi
And every1 say that parse the output for duration.
Here is my code which is
string filargs = "-y -i " + inputavi + " -ar 22050 " + outputflv;
Process proc;
proc = new Process();
proc.StartInfo.FileName = spath;
proc.StartInfo.Arguments = filargs;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = false;
proc.StartInfo.RedirectStandardOutput = false;
try
{
proc.Start();
}
catch (Exception ex)
{
Response.Write(ex.Message);
}
try
{
proc.WaitForExit(50 * 1000);
}
catch (Exception ex)
{ }
finally
{
proc.Close();
}Now please tell me how can i save the output string and parse it for the video duration.
Thanks and regards,
-
How to download ffmpeg utilities into Python venv with pip or manual way for torchaudio
14 décembre 2024, par Furkan Gözükaratorchaudio requiring avutil and other binary dll files


Source : https://pytorch.org/audio/2.3.0/installation.html


However they given example only for Anaconda


I am not using Anaconda but I am using Python 3.10.11 pip venv


I can't find these DLL files anywhere


How can I find and install them into Python venv ?


Since I can't find, I am getting below error


Traceback (most recent call last):
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\gradio\queueing.py", line 625, in process_events
 response = await route_utils.call_process_api(
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api
 output = await app.get_blocks().process_api(
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\gradio\blocks.py", line 2047, in process_api
 result = await self.call_function(
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\gradio\blocks.py", line 1594, in call_function
 prediction = await anyio.to_thread.run_sync( # type: ignore
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
 return await get_async_backend().run_sync_in_worker_thread(
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2505, in run_sync_in_worker_thread
 return await future
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 1005, in run
 result = context.run(func, *args)
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\gradio\utils.py", line 869, in wrapper
 response = f(*args, **kwargs)
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
 return func(*args, **kwargs)
 File "R:\MMAudio_v1\MMAudio\gradio_demo.py", line 60, in video_to_audio
 clip_frames, sync_frames, duration = load_video(video, duration)
 File "R:\MMAudio_v1\MMAudio\mmaudio\eval_utils.py", line 178, in load_video
 reader = StreamingMediaDecoder(video_path)
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torio\io\_streaming_media_decoder.py", line 526, in __init__
 self._be = ffmpeg_ext.StreamingMediaDecoder(os.path.normpath(src), format, option)
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torio\_extension\utils.py", line 25, in __getattr__
 self._import_once()
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torio\_extension\utils.py", line 39, in _import_once
 self.module = self.import_func()
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torio\_extension\utils.py", line 143, in _init_ffmpeg
 ext = _find_ffmpeg_extension(ffmpeg_vers)
 File "R:\MMAudio_v1\MMAudio\venv\lib\site-packages\torio\_extension\utils.py", line 122, in _find_ffmpeg_extension
 raise ImportError(
ImportError: Failed to intialize FFmpeg extension. Tried versions: ['6', '5', '4', '']. Enable DEBUG logging to see more details about the error.