Recherche avancée

Médias (91)

Autres articles (104)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP 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" (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (10916)

  • How to distinguish a physical D3D adapter from a virtual adapter used by the Remote Desktop Protocol ?

    31 octobre 2023, par rustak

    I'm currently developing a desktop application(c#/wpf) that decodes video using FFmpeg. I would like to give the user the option to select an adapter for video decoding. I'm using Direct3D method EnumAdapters to list available adapters on current device which works fine. The list of available adapters looks something like this :

    


    Adapter 0
  Description: Intel(R) HD Graphics 630
  Vendor ID:   0x8086
  Device ID:   0x5912
  SubSys ID:   0x86941043
  Revision:    4
  Luid:    46459
  Flags:    None
  Dedicated Video Memory:    128 MB
  Dedicated System Memory:  0 MB
  Shared System Memory:     8092 MB
Adapter 2
  Description: Microsoft Basic Render Driver
  Vendor ID:   0x1414
  Device ID:   0x8C
  SubSys ID:   0x0
  Revision:    0
  Luid:    50158
  Flags:    Software
  Dedicated Video Memory:    0 MB
  Dedicated System Memory:  0 MB
  Shared System Memory:     8092 MB


    


    I have noticed that an additional adapter appears in the list of available adapters when RDP is used. The additional adapter has the same properties as the physical one ; the only difference is in the LUID. The output looks something like this :

    


    Adapter 0
  Description: Intel(R) HD Graphics 630
  Vendor ID:   0x8086
  Device ID:   0x5912
  SubSys ID:   0x86941043
  Revision:    4
  Luid:    46459
  Flags:    None
  Dedicated Video Memory:    128 MB
  Dedicated System Memory:  0 MB
  Shared System Memory:     8092 MB
Adapter 1 // <- additional addapter
  Description: Intel(R) HD Graphics 630 
  Vendor ID:   0x8086
  Device ID:   0x5912
  SubSys ID:   0x86941043
  Revision:    4
  Luid:    1322913970
  Flags:    None
  Dedicated Video Memory:    128 MB
  Dedicated System Memory:  0 MB
  Shared System Memory:     8092 MB
Adapter 2
  Description: Microsoft Basic Render Driver
  Vendor ID:   0x1414
  Device ID:   0x8C
  SubSys ID:   0x0
  Revision:    0
  Luid:    50158
  Flags:    Software
  Dedicated Video Memory:    0 MB
  Dedicated System Memory:  0 MB
  Shared System Memory:     8092 MB


    


    I'm aware that the additional adapter is some kind of virtual adapter used by RDP. I have tried both of them, and it seems that both are suitable for video decoding using FFmpeg.

    


    However, from a UX perspective, it doesn't look or feel right that the combo box contains two adapters with the same name. So my question is : how can I distinguish a physical adapter from a virtual adapter used by the Remote Desktop Protocol ?

    


  • How can I read process getInputstream ?

    25 août 2015, par NeverJr

    I use process builder and process ( with the ffmpeg), and I have to redirect the ffmpeg output to the java input. I wrote this short code, but the inputstream is empty anyways...

    public class Ffmpegtest {
    public static void main(String[] args) {
       String[] cmd = {"ffmpeg ","-i ","output2.mp4 ","-f ","mp4 ", "-"};
       InputStream stream;
       try {
           stream = new ProcessBuilder(Arrays.asList(cmd)).start().getInputStream();
           System.out.println(stream.available()); // still 0
           byte[] kilo = new byte[1024];
           int i = stream.read(kilo,0,1024);
           while(i != -1){
               System.out.println("read "+1024);
               i = stream.read(kilo,0,1024);
           }

       } catch (IOException ex) {
           System.out.println(ex.getMessage());
       }
    }
  • Cygwin demands passphrase after entering say command not allowed

    17 avril 2014, par PKTomar

    Actually I have to run sudo "chomd +x build_android.sh" command it run properly but after executing it. It demands "Passphrase". As I know this is my system password. And I have not system password that's why I have only press enter (no password provide). But It say "Command Not Allowed". I also try this by creating my system password. But no works.

    Actually I want to use ffmpeg library and for that I follow this tutorial.

    http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/comment-page-2/

    Please help me or provide a latest tutorial specially for window.

    Edit : I add image if I can skip this step to use library then please give me link or des.

    enter image description here