Recherche avancée

Médias (91)

Autres articles (74)

  • 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 (...)

  • 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 (...)

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

Sur d’autres sites (13519)

  • Issue opening video file with OpenCV VideoCapture

    6 décembre 2017, par user1938805

    I’ve been reviewing the multitudes of similar questions for this issue, but I’m afraid I just cannot figure out why I cannot open a file in opencv

    I have a file "small.avi", which is a reencoding of "small.mp4" that I got from the internet. I reencoded it with ffmpeg -i small.mp4 small.avi, and I did this because I couldn’t open a mp4 file either and online it recommended trying an avi format first.

    Here is my code (mostly copied from a tutorial, with a few lines to show some relevant info) :

    import cv2
    import os

    for _, __, files in os.walk("."):
       for file in files:
           print file
    print ""

    cap = cv2.VideoCapture("small.mp4")
    print cap.isOpened()
    print cap.open("small.avi")
    i = 0
    while cap.isOpened() and i < 10:
       i += 1
       ret, frame = cap.read()
       print "read a frame"
       gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
       cv2.imshow('frame', gray)
       if cv2.waitKey(1) & 0xFF == ord('q'):
           break
    cap.release()
    cv2.destroyAllWindows()

    This produces the following output :

    "A:\Program Files\AnacondaPY\Anaconda\python.exe" A:/Documents/Final/VideoProcessor.py
    small.avi
    small.mp4
    VideoProcessor.py

    False
    False

    Process finished with exit code 0

    My program does not appear to properly open either file. Following the advice of

    Can not Read or Play a Video in OpenCV+Python using VideoCapture

    and

    Cannot open ".mp4" video files using OpenCV 2.4.3, Python 2.7 in Windows 7 machine,

    I found my cv2 version to be 3.0.0, went to

    A :\Downloads\opencv\build\x86\vc12\bin

    and copied the file opencv_ffmpeg300.dll to

    A :\Program Files\AnacondaPY\Anaconda

    Despite this, the code still does not successfully open the video file. I even tried the x64 versions, and tried naming the file opencv_ffmpeg.dll, opencv_ffmpeg300.dll, and opencv_ffmpeg300_64.dll (for the x64 version). Is there anything else I can try to fix this ?

    Thanks for any help

  • Issue opening video file with OpenCV VideoCapture

    1er mai 2017, par user1938805

    I’ve been reviewing the multitudes of similar questions for this issue, but I’m afraid I just cannot figure out why I cannot open a file in opencv

    I have a file "small.avi", which is a reencoding of "small.mp4" that I got from the internet. I reencoded it with ffmpeg -i small.mp4 small.avi, and I did this because I couldn’t open a mp4 file either and online it recommended trying an avi format first.

    Here is my code (mostly copied from a tutorial, with a few lines to show some relevant info) :

    import cv2
    import os

    for _, __, files in os.walk("."):
       for file in files:
           print file
    print ""

    cap = cv2.VideoCapture("small.mp4")
    print cap.isOpened()
    print cap.open("small.avi")
    i = 0
    while cap.isOpened() and i < 10:
       i += 1
       ret, frame = cap.read()
       print "read a frame"
       gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
       cv2.imshow('frame', gray)
       if cv2.waitKey(1) & 0xFF == ord('q'):
           break
    cap.release()
    cv2.destroyAllWindows()

    This produces the following output :

    "A:\Program Files\AnacondaPY\Anaconda\python.exe" A:/Documents/Final/VideoProcessor.py
    small.avi
    small.mp4
    VideoProcessor.py

    False
    False

    Process finished with exit code 0

    My program does not appear to properly open either file. Following the advice of

    Can not Read or Play a Video in OpenCV+Python using VideoCapture

    and

    Cannot open ".mp4" video files using OpenCV 2.4.3, Python 2.7 in Windows 7 machine,

    I found my cv2 version to be 3.0.0, went to

    A :\Downloads\opencv\build\x86\vc12\bin

    and copied the file opencv_ffmpeg300.dll to

    A :\Program Files\AnacondaPY\Anaconda

    Despite this, the code still does not successfully open the video file. I even tried the x64 versions, and tried naming the file opencv_ffmpeg.dll, opencv_ffmpeg300.dll, and opencv_ffmpeg300_64.dll (for the x64 version). Is there anything else I can try to fix this ?

    Thanks for any help

  • Does libx264 encoder support 12 bit pixel format such as yuv444p12le ?

    4 août 2020, par bazz01

    Libx264 show support for following input pixel formats :

    


    yuv420p yuvj420p yuv422p yuvj422p yuv444p yuvj444p nv12 nv16 nv21 yuv420p10le yuv422p10le yuv444p10le nv20le gray gray10le


    


      

    • For libx264 can support be added for 12 bit format like yuv444p12le ?

      


    • 


    • Any other open source encoder which supports 12 bit format ?

      


    •