
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (90)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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 (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (4956)
-
Process.WaitForExitAsync stucks infinitely while calling ffmpeg on Windows
8 novembre 2022, par Iskander RaimbaevI am working with
ffmpeg
via C#'s Process class.

I have a script that runs ffmpeg to generate thumbnails from video. Initially it was called manually from command line -
.\ffmpeg.exe -i .\input.mp4 -ss 00:00:01.000 -vframes:v 1 output.png
, it starts ffmpeg instance, outputs some warnings/errors during the execution :

[image2 @ 000001e51095ec80] The specified filename 'output.png' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 000001e51095ec80] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
frame= 1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed= 0x
video:73kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown



but anyway exits the process and correctly generates thumbnail image at output.png.


I want to execute it from C#.
Let's see the code :


var ffmpegProcess = new Process
{
 StartInfo = new ProcessStartInfo
 {
 FileName = _config.FfmpegExecutablePath,
 Arguments = CreateArgumentsForFfmpegProcessToRun(videoTempFilePath, thumbnailTempFilePath),
 RedirectStandardError = true,
 RedirectStandardInput = true,
 RedirectStandardOutput = true,
 UseShellExecute = false,
 CreateNoWindow = true
 },
 EnableRaisingEvents = true
 };

 ffmpegProcess.Start();
 await ffmpegProcess.WaitForExitAsync();



Method
CreateArgumentsForFfmpegProcessToRun
returns exactly the same arguments as in the script above-i .\input.mp4 -ss 00:00:01.000 -vframes:v 1 output.png
.

However, when I run this code, it stucks/blocked at line
ffmpegProcess.WaitForExitAsync()
infinitely and no output written to output path.
If I omitWaitForExitAsync
call and just go to the next line, then it doesn't stuck and writes the output as expected and finish the process with -1 exit code.

I am trying to figure out why block/stuck happens and what is the best way to resolve this situation ? As far I know,
WaitForExitAsync
should return as process ends, no matter how process ends - 0 or another exit code, am I right ?

Update #1 :
Community advised to search if somewhere up the stack I am blocking my code. I wrote xunit-test and it still stucks.


[Theory]
[InlineData("assets/input.mp4", "assets/ffmpeg.exe")]
public async Task CreateThumbnailFromVideo(string videoFilePath, string ffmpegExePath)
{
 var config = new VideoThumbnailServiceConfig
 {
 FfmpegExecutablePath = ffmpegExePath,
 ThumbnailImageExtension = ".png"
 };

 var sut = new VideoThumbnailService(config);

 using var fileStream = File.OpenRead(videoFilePath);
 await sut.CreateThumbnailFromVideo(fileStream);
 } 



Inside
sut.CreateThumbnailFromVideom
I call process start method and awaitsWaitForExitAsync()
.

-
How to use run ffmpeg command in ios
30 mai 2017, par pramodI had successfully build ffmpeg into xcode but I didn’t get idea , how to execute command into project.I research hard on it and fined how to play video using encoding and decoding,but did not get idea how to run command.
-
How to use run ffmpeg command in ios
31 janvier 2017, par pramodI had successfully build ffmpeg into xcode but I didn’t get idea , how to execute command into project.I research hard on it and fined how to play video using encoding and decoding,but did not get idea how to run command.