Recherche avancée

Médias (91)

Autres articles (74)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (11880)

  • VideoCapture always returns False in Python OPENCV [Linux]

    7 avril 2017, par Daniyal Shahrokhian

    Every time that I use VideoCapture trying to access the frames from a video file, the return value (ret) is false. See the sample code below :

    cap = cv2.VideoCapture('asd.mkv')
       vid = []
       while True:
           ret, img = cap.read()
           if not ret: # Always happens
               break
           vid.append(cv2.resize(img, (171, 128)))

    I have already tried absolutely everything I could find today by googling, including the OpenCV guide and this long issue on Github. Also, I read some solutions involving moving ffmpeg dll files, but that only was in the case of Windows.

    Any ideas ? Because I defenitely ran out of them.

  • VideoCapture always returns False in Python OPENCV [Linux]

    26 octobre 2017, par Daniyal Shahrokhian

    Every time that I use VideoCapture trying to access the frames from a video file, the return value (ret) is false. See the sample code below :

    cap = cv2.VideoCapture('asd.mkv')
       vid = []
       while True:
           ret, img = cap.read()
           if not ret: # Always happens
               break
           vid.append(cv2.resize(img, (171, 128)))

    I have already tried absolutely everything I could find today by googling, including the OpenCV guide and this long issue on Github. Also, I read some solutions involving moving ffmpeg dll files, but that only was in the case of Windows.

    Any ideas ? Because I defenitely ran out of them.

  • FFmpeg av_read_frame returns a size but no data ?

    11 décembre 2013, par tommed

    I have written some C code to access ffmpeg and wrapped it in a C++/CLI (.NET managed) class. The program fetches a live video stream and extracts frames and converts them to PNG files.

    Unfortunately the images that are saved to disk are always black (opening them in Notepad++ shows that they are full of nulls).

    I am using the assemblies aformat/codec-55.dll and the development headers and libs for compilation from ffmpeg-20131120-git-e502783-win64-dev. The whole project is compiled using Managed C++ (Cpp/cli) .NET 4.0 for 64-bit.

    After some investigation the problem appears to be that av_read_frame fills the AVPacket->size value correctly, but the AVPAcket->data is always null. When the frame is finished (got==1) then the data for the AVFrame is just a matrix of nulls. :(

    Here is the code :
    Example code (sorry, but it didnt paste well into SO)

    I think the problem is at line 34 when the packet is returned like so :
    size is set but data is empty

    Please, how can I get this to work ? What have I done wrong ?