Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (109)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (7386)

  • xcbgrab : Use the correct geometry for the region highlight

    4 février 2015, par Daniel Moran
    xcbgrab : Use the correct geometry for the region highlight
    

    The feature is implemented using a transparent window and drawing
    inside it a rectangle filling the whole window to highlight it.

    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DBH] libavdevice/xcbgrab.c
  • xcbgrab : Use the correct geometry for the region highlight

    4 février 2015, par Daniel Moran
    xcbgrab : Use the correct geometry for the region highlight
    

    The feature is implemented using a transparent window and drawing
    inside it a rectangle filling the whole window to highlight it.

    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DH] libavdevice/xcbgrab.c
  • VB.Net Stream Bitmap/Image TO FFMpeg is not working :(

    6 février 2015, par Zakir_SZH

    I m trying to port images to FFMpeg using StandardInput. It’s not working somehow ? :(

    it’s throwing me bellow error :(

    enter image description here

    Here is the code i tried :

       Dim objBitmap As System.Drawing.Bitmap
       Dim objFProcess As System.Diagnostics.Process
       Dim objStream As System.IO.BinaryWriter
       Dim strFiles() As String
       Dim strEachFile As String
       Dim intFile As Integer
       Dim intFrame As Integer
       Dim intFLoop As Integer
       objFProcess = New System.Diagnostics.Process
       objFProcess.StartInfo.FileName = "c:\ffmpeg.exe"
       objFProcess.StartInfo.Arguments = "-r 1 -f image2pipe -i pipe:.bmp -pix_fmt yuv420p -crf 35.0 -vcodec libx264 -an -coder 1 -rc_lookahead 50 -threads 0 D:\test.mp4"
       objFProcess.StartInfo.UseShellExecute = False
       objFProcess.StartInfo.RedirectStandardInput = True
       objFProcess.StartInfo.RedirectStandardOutput = True
       objFProcess.StartInfo.RedirectStandardError = True
       rem objFProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
       rem objFProcess.StartInfo.CreateNoWindow = True
       objFProcess.Start()
       objStream = New System.IO.BinaryWriter(objFProcess.StandardInput.BaseStream)
       strFiles = My.Computer.Clipboard.GetText().Split({System.Environment.NewLine}, StringSplitOptions.None)
       intFrame = 0
       intFile = 0
       For Each strEachFile In strFiles
           rem MessageBox.Show(strEachFile)
           intFile = intFile + 1
           objBitmap = New System.Drawing.Bitmap(strEachFile)
           For intFLoop = 0 To 24
               intFrame = intFrame + 1
               cmd1.Text = intFile.ToString &amp; "-" &amp; intFrame.ToString
               My.Application.DoEvents()
               objBitmap.Save(objStream.BaseStream, System.Drawing.Imaging.ImageFormat.Bmp) Rem this line give me above (attached) error :(
           Next
           objBitmap.Dispose()
       Next
       System.Threading.Thread.Sleep(3000)
       objStream.Close()
       MessageBox.Show("Done!")
       rem objFProcess.Kill()

    any help would be highly appreciated

    thanks in advance...

    Edit-1 :
    As asked by some one :) here is :

    View Detail Result : (Sorry, the image is very large in width/height)

    enter image description here

    And here is the Copy Details Result :

    System.Runtime.InteropServices.ExternalException was unhandled
    ErrorCode=-2147467259
    Message=A generic error occurred in GDI+.
    Source=System.Drawing
    StackTrace:
      at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
      at System.Drawing.Image.Save(Stream stream, ImageFormat format)
      at FFMpeg_Stream.Form1.cmd1_Click(Object sender, EventArgs e) in g:\My Documents\FFMpeg Stream\FFMpeg Stream\Form1.vb:line 40
      at System.Windows.Forms.Control.OnClick(EventArgs e)
      at System.Windows.Forms.Button.OnClick(EventArgs e)
      at System.Windows.Forms.Button.WndProc(Message&amp; m)
      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)
      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)
      at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
      at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
      at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
      at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message&amp; m)
      at System.Windows.Forms.Control.WmCommand(Message&amp; m)
      at System.Windows.Forms.Control.WndProc(Message&amp; m)
      at System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m)
      at System.Windows.Forms.Form.WndProc(Message&amp; m)
      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)
      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)
      at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
      at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
      at System.Windows.Forms.NativeWindow.DefWndProc(Message&amp; m)
      at System.Windows.Forms.Control.DefWndProc(Message&amp; m)
      at System.Windows.Forms.Control.WmMouseUp(Message&amp; m, MouseButtons button, Int32 clicks)
      at System.Windows.Forms.Control.WndProc(Message&amp; m)
      at System.Windows.Forms.ButtonBase.WndProc(Message&amp; m)
      at System.Windows.Forms.Button.WndProc(Message&amp; m)
      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)
      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)
      at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
      at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp; msg)
      at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
      at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
      at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
      at System.Windows.Forms.Application.Run(ApplicationContext context)
      at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
      at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
      at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
      at FFMpeg_Stream.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
      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.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()
    InnerException:

    that’s all i can give as information :(