Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (58)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

Sur d’autres sites (11937)

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