Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (99)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    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 (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7148)

  • C# Recording 3D object ffmpeg

    1er décembre 2015, par Skyx

    I want to make a screen recording on my application in C# which has a 3D model in it. I found out that i can do the recording with ffmpeg. I implemented the CopyFromScreen function which records the whole screen.

    CopyFromScreen.graphics.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size);

    I want to record only my 3D model viewport without recording the whole screen. Does anyone know or experience working with ffmpeg recording just the specifiek object or a 3D viewport ?

    private readonly HelixViewport3D _viewport = new HelixViewport3D(); // my 3D model viewport
  • ffserver "dimensions not set" when loading stream

    29 mai 2013, par GreenGiant

    I am live streaming a webcam from my raspberry pi using avconv (ffmpeg "replacement")

    avconv -f video4linux2 -v debug -r 5 -s 176x144 -i /dev/video0 -vcodec mjpeg http://192.168.0.3:8090/feed1.ffm

    to my local network OSX machine (for testing) running ffserver

    Port 8090
    BindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 10000
    CustomLog -
    NoDaemon

    <feed>
      File feed1.ffm
      FileMaxSize 20M
      ACL allow 192.168.0.10
    </feed>

    <stream>
      Feed feed1.ffm
      Format mjpeg
      NoAudio
      VideoQMin 1
      VideoQMax 10
      VideoSize 176x144
      VideoFrameRate 5
    </stream>

    When I start avconv it appears to be streaming to ffserver fine :

    Output #0, ffm, to &#39;http://192.168.0.3:8090/feed1.ffm&#39;:
     Metadata:
       encoder         : Lavf55.0.1
       Stream #0.0, 0, 1/1000000: Video: mjpeg, yuvj420p, 320x240, 1/5, q=2-31, 200 kb/s, 1000k tbn, 5 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> mjpeg)
    Press ctrl-c to stop encoding
    frame=  108 fps= 18 q=21.7 size=     688kB time=21.60 bitrate= 260.9kbits/s

    And the ffserver status page shows the stream

    ffserver status

    However when I load http://localhost:8090/test.mjpeg in VLC it doesn't play and ffserver spits out :

    Sat May 25 17:25:34 2013 dimensions not set
    Sat May 25 17:25:34 2013 Error writing output header
    Sat May 25 17:25:34 2013 127.0.0.1 - - [GET] "/test.mjpeg HTTP/1.1" 200 66

    I've tried so many different configurations and settings, I'm at a loss to what is causing that error !

    Thank you

  • ffmpeg to opengl texture with glTexImage2D

    12 juin 2013, par 2kPi

    I'm trying to make a player in OpenGL. I use ffmpeg to decode the video.

    I searched several tutorial (StackOverflow, ....) how to convert my pFrameRGB-> data [0] texture in OpenGL, but it still shows me a white square. I converted my video to 512x256 to comply with 2 ^ n.

    I know my pFrameRGB is correct because I can create frameX.ppm with "SaveFrame (...)" function.

    I used the following source ( https://github.com/arashafiei/dranger-ffmpeg-tuto/blob/master/tutorial02.c ) code as a model by adapting for my player.

    And this is my source code :

    http://www.sourcepod.com/uagkel22-19078

    Does one of you have a solution to my problem ?

    Edit 1 :

    I delete :

    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_NEAREST);
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);

    glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, 1 ? GL_REPEAT : GL_CLAMP );
    glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, 1 ? GL_REPEAT : GL_CLAMP );

    And replaced :

    glTexImage2D( GL_TEXTURE_2D, 0, GL_RGB, pCodecCtx->width, pCodecCtx->height, 0, GL_RGB, GL_UNSIGNED_BYTE, pFrameRGB->data[0]);

    by :

    if(firstRendering){
    glBindTexture(GL_TEXTURE_2D, texture);
    glTexImage2D( GL_TEXTURE_2D, 0, GL_RGB, pCodecCtx->width, pCodecCtx->height, 0, GL_RGB, GL_UNSIGNED_BYTE, pFrameRGB->data[0]);

    firstRendering = 0;

    }else{

    glActiveTexture(texture);
    glBindTexture(GL_TEXTURE_2D, texture);
    glTexSubImage2D( GL_TEXTURE_2D, 0, 0, 0, pCodecCtx->width, pCodecCtx->height, GL_RGB, GL_UNSIGNED_BYTE, pFrameRGB->data[0]);
    }

    And i try to run but stiil nothing...