Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (100)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (13153)

  • OpenCV 4.5.2 VideoWriter produces “can't find starting number” error

    28 avril 2021, par Peter Kronenberg

    There are several issues with similar names, but none of them seem to have a definitive answer. Using the last version of OpenCV 4.5.2 with Java on Windows 10. Below is a short reproducible test case which results in

    


    [ERROR:0] global C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\videoio\src\cap.cpp (589) cv::VideoWriter::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.5.2) C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): C:/testfiles/output.avi in function 'cv::icvExtractPattern'


    


    Here is the code :

    


    public class OpenCVError {

    public static void main(String[] args) {
        System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

        final int fourcc = VideoWriter.fourcc('m', 'j', 'p', 'g');
        final double fps = 30.00;
        Size frameSize = new Size(1080, 1920);
        VideoWriter videoWriter = new VideoWriter("C:/testfiles/output.avi", fourcc, fps, frameSize, true);
    }
}


    


    Update

    


    Found out from https://forum.opencv.org/t/error-in-java-cant-find-starting-number-in-the-name-of-file/3014 that I seem to be missing opencv_videoio_ffmpeg452_64.dll
I am using the Maven distribution at

    


      <dependency>&#xA;            <groupid>org.openpnp</groupid>&#xA;            <artifactid>opencv</artifactid>&#xA;            <version>4.5.1-2</version>&#xA;  </dependency>&#xA;

    &#xA;

    which doesn't appear to have this file. I tried adding the file to my classpath (using IntelliJ), but it still doesn't seem to work.

    &#xA;

    Anyone have any ideas ? Why isn't this file part of the openpnp distribution ?

    &#xA;

  • Looking function in wrong DLL

    23 avril 2021, par Samuel

    I link avcodec.lib, .... avxxx.lib (ffmpeg library) to my vs2008 project, but show the error message box "procedure entry point could not be located in the dynamic link library" while double click it.

    &#xA;

    I check my program with DLL dependencies tool, it shows the program try to find DXVA2CreateDirect3DDeviceManager9 in avcodec.dll. It is impossible to find that function definitely.

    &#xA;

    I also saw someone has the same problem with me.&#xA;The procedure entry point could not be located in the dynamic link library - looking in wrong DLL

    &#xA;

    This post solve me problem, but why ?

    &#xA;

  • Issue with running ffmpeg command using python in AWS Lambda function

    24 juillet 2021, par Puneet Pandey

    My use case is to concatenate the files using ffmpeg. I do it by specifying the S3 URLs (in a text file /tmp/files.txt) of the files to be concatenated.

    &#xA;

    Below is the command and and the way I run it using Python :

    &#xA;

    ffmpeg_cmd = "ffmpeg -f concat -safe 0 -protocol_whitelist file,http,https,tcp,tls -i /tmp/files.txt -c copy /tmp/output.mp4"&#xA;subprocess.run(ffmpeg_cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)&#xA;

    &#xA;

    The same Python file works perfectly fine when I run it on my Windows machine. But when it is run on AWS Lambda function, it fails. Please find below the error I get :

    &#xA;

    &#xA;

    "errorMessage" : "[Errno 2] No such file or directory : 'ffmpeg -f&#xA;concat -safe 0 -protocol_whitelist file,http,https,tcp,tls -i&#xA;/tmp/files.txt -c copy /tmp/output.mp4'", "errorType" :&#xA;"FileNotFoundError"

    &#xA;

    &#xA;

    Am I doing it the right way ? I suppose yes, as it works just fine on my Windows PC.

    &#xA;

    If someone faced this issue and fixed it, please help me with this issue.

    &#xA;