Recherche avancée

Médias (91)

Autres articles (44)

  • 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

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

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

Sur d’autres sites (4050)

  • VideoWriter can't generate .avi file in C [closed]

    7 décembre 2022, par JohnChin

    I encounter the problem as the title now. The purpose of my code is using lots of images to generate a video. Here is my code :

    


    Mat frame = imread(img_path[0], -1) ;

    


    int codec = VideoWriter::fourcc('M', 'J', 'P', 'G');
double fps = 30.0;
Size sizeFrame(frame.cols, frame.rows);

VideoWriter OutputVideo(output_video, codec, fps, sizeFrame, TRUE);

int i = 0;
while (i != flag_img) {
    frame = imread(img_path[i], -1);
    resize(frame, frame, Size(frame.cols, frame.rows));
    OutputVideo.write(frame);
    i++;
}
OutputVideo.release();
destroyAllWindows();


    


    PS : img_path is the directory of images (ex : ../database/RushPixar/random/001.png)

    


    After running, there's no .avi file in my folder. Then I see the terminal, it displays there are lots of .dll files I lost and some .dll files I unloaded.

    


    list of .dll files of loading failed :

    


      

    • opencv_videoio_ffmpeg460_64d.dll
    • 


    • opencv_videoio_gstreamer460_64d.dll
    • 


    • opencv_videoio_intel_mfx460_64d.dll
    • 


    • opencv_highgui_gtk460_64.dll
    • 


    • opencv_highgui_gtk3460_64.dll
    • 


    • opencv_highgui_gtk2460_64.dll
    • 


    


    list of .dll files of unloading :

    


      

    • opencv_videoio_msmf460_64d.dll
    • 


    • opencv_videoio_ffmpeg460_64.dll
    • 


    


    terminal after running code
Is there any solution for the problem I encoutering ?

    


    Finding the solution in internet, but no one had this problem before.

    


  • creating Homebrew symlink for beginners

    19 mars 2021, par Platypore

    I am having issues installing the Rust dependency while trying to install ffmpeg through Homebrew on macOS 10.3.6. Terminal just eventually hangs, as is well known in other posts about the topic for Sierra (and I guess High Sierra too). I have installed Rust subsequently using the following command from their website :

    


    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh


    


    It seems I need to now create a symlink between the Rust directory created by the above command and Homebrew so that Homebrew can recognize the dependency as being installed, but I am absolutely not versed in how to do this ; my terminal knowledge is limited to very simple basics and plugging in code from other answers has not worked. I don't have the knowledge to discern what is a generic path meant to be replaced by specific locations and what is meant to be left as is when it comes to terminology such as prefix and $PATH.

    


    I believe the following are the paths I need to symlink to continue on with my installation of ffmpeg, but I honestly have no idea.

    


    /Users/usr/.rustup/toolchains/stable-x86_64-apple-darwin/bin/rustc 
/Users/usr/.rustup/toolchains/stable-x86_64-apple-darwin/bin/cargo


    


    Could anyone please help and explain step-by-step how to go about doing this ?

    


  • Building Ffmpeg library for iOS6.0 ARMv7 Processor success but compile error

    5 avril 2013, par user1800270

    I'm trying to use the FFMPEG library in an XCode 4.5.1 project.
    And I'm trying to build it for ARMv7.

    I had already build library by use the method below (provide by Alex) :


    Here is my working Configure for cross-compiling FFmpeg on iOS 6 the arch is ARMv7

    NOTE : You must have to have gas-preprocessor.pl inside /usr/local/bin/ please do not continue until you have gas-preprocessor.pl on your bin directory

    Download FFmpeg 1.0 "Angel" from here

    Unzip it and place it somewhere i.e. your Desktop folder

    Open terminal and browse to unzipped FFmpeg folder

    Copy and paste the following command, (be patient will take a while)

    ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile --arch=arm --target-os=darwin --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk' --enable-pic --enable-decoder=rawvideo --disable-asm

    Now type the following command on terminal make (wait a little more)

    Once it has finished now type on terminal sudo make install (wait again)

    Go to /usr/local/lib to find your freshly baked armv7 libs

    Enjoy !

    Alex


    But when i put the library into iFrameExtractor then compile it, then i get an error

    /ffmpeg/libavcodec/4xm.d:1 : syntax error near "xm"

    my Compilation environment is

    xcode 4.5.1 and ffmpeg 1.0

    platform : Mac OS X 10.7.5

    can anyone help me ??