Recherche avancée

Médias (91)

Autres articles (72)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (7640)

  • python module ffpyplayer showing or displaying video frames to screen

    19 octobre 2016, par user2305443

    Using python module ffpyplayer, How can I see the frames or get the img object to display or show the video image/frames to the screen ?, in the tutorial that I followed, it seems very simple, it reads the frames and plays oudio but (does not display) any video image or frame to the screen, only if I add the (print img, t) will print the frame info to the screen but not video image is displayed on the screen.

    I being following tutorials from : https://pypi.python.org/pypi/ffpyplayer, and here : http://matham.github.io/ffpyplayer/player.html, and searched google but the only relevant results point to the same info, I am somewhat new to programming and python, and so maybe I am missing something that seems to be very simple but I can’t figure it out myself.

    I am using : windows 7 64bit, python 2.7.11 32bit.

    Any Help will be appreciated thank you very much.

    from ffpyplayer.player import MediaPlayer

    vid = 'test_video.flv'
    player = MediaPlayer(vid)
    val = ''
    while val != 'eof':
       frame, val = player.get_frame()
       if val != 'eof' and frame is not None:
           img, t = frame
           print img, t     #This prints the image object
           # display img    #This does nothing!
  • opencv_ffmpeg module crash (IP Camera)

    25 novembre 2016, par Suraksha Ajith

    I’m using IP webcam android app(It converts mobile camera into IP web camera).
    I’m running below code in Visual Studio 2015 with OpenCV 3.1.

    VideoCapture cap; Mat img;
    cap.open("http://192.168.0.101:8080/video?x.mjpeg");
    while(waitKey(33)!=27)
    {
       try{
           cap>>img;  //code crashes here
           if(img.empty())
           {
            cout<<"camera Closed"<code>

    Getting below error.cIf the internet connection is slow or if the Wi-Fi is disconnected in my android device the program crashes
    Error :

    Exception thrown at 0x0BF2F6F0 (opencv_ffmpeg310.dll) in test.exe :
    0xC0000005 : Access violation reading location 0x00000020.

    If there is a handler for this exception, the program may be safely
    continued.

    even if the code is wrapped within try catch block, it crashes !

    Should I use try {} catch (...) block in source file, if yes, then where should I use this ?
    I referred this link but did not find the right answer.

  • nginx-rtmp module with ffmpeg

    1er janvier 2017, par sara

    I am new in video live streaming.I searched and found nginx-rtmp module to create a my media server,
    when i saw that ,
    i understood that we can run ffmpeg command in ngnix to transcode my video , or create a hls-variants , and this commands apply on videos on the fly . am i true ?

    if it is true , so with large video it takes a long time to tarnscode on the fly .so i wanna to execute my ffmpeg command when i sotre my video in my hls file path. so i create a hls files(.ts) first with running ffmpeg commands.and then i serve my files with ngnix-rtmp module.

    now my question is this 2 approaches(run async and sync(on the fly) ffmpeg command ) are true ?
    i saw a lot of example that implement first approach.and i interested in using second approach .second approach is not a common approach ?why ?is this approach has a problem and issue that i am not aware of that ?
    tnx