
Recherche avancée
Autres articles (94)
-
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 ;
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (11343)
-
Could not load or assembly or one of its dependencies
29 juin 2017, par Prathibha ChiranthanaI am using Aforge.net frame work for doing image processing work.
I have add ’AForge.Video.FFMPEG.dll’ as a referance to my project.
I am using VS2012 and 32 bit build target.
When Buiding i getSystem.IO.FileNotFoundException was unhandled
HResult=-2147024770
Message=Could not load file or assembly 'AForge.Video.FFMPEG.dll' or one of its dependencies. The specified module could not be found.
Source=VideoReadere
FileName=AForge.Video.FFMPEG.dll
FusionLog=""
StackTrace:
at VideoReadere.Form1..ctor()
at VideoReadere.Program.Main() in c:\Users\Prabad\Documents\Visual Studio 2012\Projects\VideoReadere\VideoReadere\Program.cs:line 19
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:my code for that is occur exception
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace VideoReadere
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
//here below line give exception
Application.Run(new Form1());
}
}
} -
Running PowerShell command in Universal Windows Platform C#
6 juin 2017, par stephenSo I am trying to write a basic application to cut and export a subsection of a video. I have come across (and decided to use) the FFMPEG command line tools to do the cropping. This seemed straight forward (https://stackoverflow.com/a/5047426/6728859), but Universal Windows apps do not support System.Diagnostics.Process. Instead, it was suggested that they do support Powershell, which means I could do it by following (https://blogs.msdn.microsoft.com/kebab/2014/04/28/executing-powershell-scripts-from-c/). However, I get the following errors
Cannot find type System.SystemException in module CommonLanguageRuntimeLibrary
Cannot resolve Assembly or Windows Metadata file 'System.Configuration.Install.dll'
From my limited understanding
System.SystemException
was removed in UWP, and I’m not sure where to findSystem.Configuration.Install.dll
.Now to get PowerShell I had to include
System.Management.Automation
which I got fromC:\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\3.0
which doesn’t seem correct to me, but I could be wrong.Is it possible to run commands in a UWP, or does anyone have any suggestions ?
-
Pass camera input to ffmpeg
30 mai 2017, par Sachin SononeI am trying to develop an delphi app which will show a preview of the camera in the delphi form and then send the frames of video as images to the ffmpeg in the stdin of ffmpeg. ffmpeg then broadcast the video to wowza server over rtmp. but fmpeg gives an error ’pipe:0 Bad file descriptor’
FFMPEG command:
ffmpeg -f image2pipe -i pipe:0 -c:v libx264 -y -report -f flv wowza_urlI followed this https://msdn.microsoft.com/en-us/library/ms682499(VS.85).aspx article to build the parent app which will open ffmpeg as a child and use FFmpeg’s stdin to pass input
// Create a pipe for the child process's STDOUT.
Createpipe(STDOut_ReadPipe, STDOut_WritePipe, @Security,0);
// Ensure the read handle to the pipe for STDOUT is not inherited.
SetHandleInformation(STDOut_ReadPipe,HANDLE_FLAG_INHERIT,0);
// Create a pipe for the child process's STDIN.
if ( CreatePipe(STDIn_ReadPipe , STDIn_WritePipe, @Security, 0) = true) then
// Ensure the write handle to the pipe for STDIN is not inherited.
SetHandleInformation(STDIn_WritePipe, HANDLE_FLAG_INHERIT, 0) ;This the code to start ffmpeg process
FillChar(StartupInfo,Sizeof(StartupInfo),0);
StartupInfo.cb := Sizeof(StartupInfo);
StartupInfo.dwFlags := STARTF_USESTDHANDLES;
StartupInfo.wShowWindow := 1;
S := args;
UniqueString(S);
StartupInfo.hStdError := STDOut_WritePipe;
StartupInfo.hStdOutput := STDOut_WritePipe;
StartupInfo.hStdInput := STDIn_ReadPipe;but as soon as program start ffmpeg exits with the error.
This is the full console log of the ffmpeg
ffmpeg started on 2017-05-30 at 18:45:36
Report written to "ffmpeg-20170530-184536.log"
Command line:
"ffmpeg.exe" -f image2pipe -i pipe:0 -report -movflags +faststart -tune
zerolatency -an -pix_fmt yuv420p -preset ultrafast -vcodec libx264 -b:v 250k
-y -f flv test.flv
ffmpeg version N-85750-ga75ef15 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 6.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid
--enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-
avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-
libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --
enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --
enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 61.100 / 55. 61.100
libavcodec 57. 93.100 / 57. 93.100
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 88.100 / 6. 88.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Splitting the commandline.
Reading option '-f' ... matched as option 'f' (force format) with
argument 'image2pipe'.
Reading option '-i' ... matched as input url with argument 'pipe:0'.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '-movflags' ... matched as AVOption 'movflags' with
argument '+faststart'.
Reading option '-tune' ... matched as AVOption 'tune' with argument
'zerolatency'.
Reading option '-an' ... matched as option 'an' (disable audio) with
argument '1'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
format)
with argument 'yuv420p'.
Reading option '-preset' ... matched as AVOption 'preset' with argument
'ultrafast'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
('copy' to copy stream)) with argument 'libx264'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -
b:v)) with argument '250k'.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with
argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'flv'.
Reading option 'test.flv' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url pipe:0.
Applying option f (force format) with argument image2pipe.
Successfully parsed a group of options.
Opening an input file: pipe:0.
[pipe @ 003bdea0] Setting default whitelist 'crypto'
[AVIOContext @ 03115e60] Statistics: 0 bytes read, 0 seeks
pipe:0: Bad file descriptor'