Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (32)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

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

  • where to put opencv2 ffmpeg.dll in path in conda environment ?

    28 juillet 2020, par smaillis

    Im trying to load a saved mp4 video with opencv with th following code found somewhere on SO, and cap.isOpened() returns false. I looked around and some says its to do with the ffmpeg.dll not on PATH, but I found it in my conda env directory env\Lib\site-packages\cv2\opencv_videoio_ffmpeg430_64.dll

    


    How do I fix this ?

    


    Also VideoCapture(0) works fine (camera stream works).

    


    import cv2
import numpy as np

cap = cv2.VideoCapture('../sandbox/vid.mp4')  
if (cap.isOpened()== False):
    print("Error opening video stream or file")

while(cap.isOpened()):
    ret, frame = cap.read()
    if ret == True:
        cv2.imshow('Frame',frame)
    if cv2.waitKey(25) & 0xFF == ord('q'):
        break     

cap.release()
cv2.destroyAllWindows()


    


    Platform Windows 10

    


    >>>cv.__version__
'4.3.0'


    


  • Android.mk file shows error in path in android

    13 juin 2015, par Harry

    I am working on part of a project for compressing the video,
    I followed the below example,

    https://bitbucket.org/YLKwan/videocompressor/
    while Importing the project in eclipse it shows error in Android.mk file under below path :

    "VideoCompressor / VideoCompressor / jni / Android.mk"

    currently, I have my NDK installed path below :

    "/home/Harryxxx/android/android-ndk-r10e/sources/ffmpeg-2.6.3/android/armv7-a"

    so, should I need to replace this path somewhere in this above file.
    Please help me out, Thanks in advance

  • Cannot get file path when user pick from intent - Android content uri [duplicate]

    29 juin 2021, par tom55

    Base scenario :
I want to allow user to pick a file (video) and trim it and save to other location (source / destination locations are local only).

    


    Way I am trying this :
I use Intent allowing user to pick a video file. Then I use FFmpeg on Android, some wrapper library to be precise.

    


    Problem :
FFmpeg needs an absolute path to file, whereas OPEN_DOCUMENT or ACTION_PICK kind of intents provide with Uri (content scheme to be precise)

    


    How to get an absolute path to file having such an Uri ? I have read there is a lot of hassle with it. Or how can I get file schemed Uri from a picker Intent ? In overall : how to achieve my base scenario without having to write my own file browser, maybe not use FFmpeg ?