Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (112)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (12679)

  • OpenCV cv2 not working in Windows 7

    6 septembre 2014, par Subhendu Sinha Chaudhuri

    I have a Windows 7 SP1 64 Bit machine with open cv2.4.9 installed and python 2.7.6 installed.
    I use pre compiled version of opencv

    The following code works perfectly for me

    import cv2.cv as cv
    import time

    cv.NamedWindow("camera", 0)

    capture = cv.CaptureFromCAM(0)

    while True:
       img = cv.QueryFrame(capture)
       cv.ShowImage("camera", img)
       if cv.WaitKey(10) == 27:
           break
    cv.DestroyAllWindows()

    Now when I try to use this code

    import cv2
    import numpy as np
    cam = cv2.VideoCapture(0)
    s, img = cam.read()

    winName = "Movement Indicator"
    cv2.namedWindow(winName, cv2.CV_WINDOW_AUTOSIZE)

    while s:
     cv2.imshow( winName,img )

     s, img = cam.read()

     key = cv2.waitKey(10)
     if key == 27:
       cv2.destroyWindow(winName)
       break

    print "Goodbye"

    The window is opened , the camera is initialized (as camera lights are on) , but nothing is displayed and the window closes and the program exits.

    WHERE am I going wrong ??

    QUESTION 2
    Can any one also suggest me how to capture live video stream from my Linux machine 192.168.1.3 . The stream is being generated by ffmpeg.

    The video stream can be opened in web browser. But I want to capture it with opencv and python.

  • ffmpeg compilation issue on Windows phone 8.1

    24 février 2017, par Mirko Puliafito

    Taking a look at Build ffmpeg for windows phone 8
    I was able to compile ffmpeg on Windows phone 8using these steps :

    My configuration

    OS : Windows 8.1 VS : Ultimate 2013 Update 3 (If armasm fails, msvcdis110.dll missing download it from dllsearch ) Mingw (be sure that "link" and "cl" commands point to MS "link" and "cl") FFmpeg 2.1.5

    Follow prerequisites listed here : https://ffmpeg.org/platform.html#Microsoft-Visual-C_002b_002b-or-Intel-C_002b_002b-Compiler-for-Windows

    -) Download c99toc89 : https://github.com/libav/c99-to-c89/downloads/. Be sure all files from c99toc89 are in Mingw PATH (copy in /bin)

    -) FFMPEG requires stdint.h and inttypes.h headers standardized as a part of C99. Unfortunately, Visual Studio does not include these files. Fortunately, there is a project that fixes this issue. Download the latest version and unpack it to Visual Studio includes (C :\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include).

    -) Launch cmd and "c :\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat x86_arm" and then msys

    -) configure :

    ./configure --toolchain=msvc \
    --disable-programs \
    --disable-network \
    --disable-protocols \
    --extra-cflags="-D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE -D_M_ARM -D_WINAPI_FAMILY=WINAPIFAMILY_APP" \
    --enable-cross-compile \
    --target-os=win32 \
    --arch=arm \
    --as=armasm \
    --cpu=armv7 \
    --disable-yasm \
    --extra-ldflags="-MACHINE:ARM" \
    --disable-dxva2 \
    --disable-asm \
    --disable-doc

    I was able to get .a static libs but I wasn’t able to generate an app using it. I have problems while linking for kernel32.lib and libcmt.lib misses.

    Anyone ?

  • What is wrong with this code ? Not working on Windows 10 / Ubuntu 14

    3 avril 2017, par Somename

    Trying to convert a .gif to .mp4 :

    var express = require('express');
    var bodyParser = require('body-parser');
    var app = express();
    var ffmpeg = require('fluent-ffmpeg');  

    var proc = new ffmpeg({ source: 'myfile.gif' })
     .withAspect('4:3')
     .withSize('640x480')
     .applyAutopadding(true, 'white')
     .saveToFile('myfile.avi', function(stdout, stderr) {
       console.log('file has been converted succesfully');
     });

    app.listen(3000, function() {  
       console.log("Server Running on 3000");
    });

    Getting the same error on Windows 10 and Ubuntu 14 : Error: Cannot find ffmpeg.

    What is wrong with the code ? Please help.