Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (101)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

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

Sur d’autres sites (13332)

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

    


  • Linphone Android Import and Build

    29 novembre 2013, par AppleDroid

    I am working on Linphone Library and using GITHUB repo and downloaded the zip file with Download Zip button.

    enter image description here

    Now when i go through the README file i saw that i need to run ./prepare_sources.sh script then i ran it on terminal but it asks for file to patch as enter image description here

    Now when i opened the folder inside submodules/externals/ffmpeg — It's completely empty
    and other folders are also empty.
    But on GitHub also i saw it with some kind of black folder which i can't select.
    I am stuck here ? should i do how can i get all these files into my directory so that i can make the build.

    One more thing Should i import this downloaded Zip into my eclipse it shows me these projects which one should i import (Should i import it after i download the Zip from Github or should i import it after running all the scripts to make the build on terminal and then import it in eclipse) ?

    Need Help .
    enter image description here

    enter image description here

  • ffmpeg live webcam colorkey subtraction and dispaly feed on desktop (with subtracted color transparent/desktop see through visible))

    26 mai 2018, par Vij

    Purpose : I want to create instructional video lectures using laptop webcam and presentation slides. Here I should be visible in bottom right corner of desktop in small screen or full screen explaining slides. (like TV weather report).

    What I seek : Is there any way to apply colorkey to live webcam video to subtract background (greenscreen) so that desktop is visible through the top webcam borderless video window.(Then record everything on desktop)

    What I have done : I have been successful in overlaying colorkeyed live webcam video and X11grab :0.0 and saving the output in a video file.

       ffmpeg -f x11grab -thread_queue_size 64 -video_size 1024X600 -framerate 30 -i :0.0 -f  v4l2 -thread_queue_size 64 -video_size 320X180 -framerate 30 -i /dev/video0 -filter_complex '[1:v]colorkey=0x000000:0.1:0[ckout];[0:v][ckout] overlay=main_w-overlay_w:main_h-overlay_h:format=yuv444' -vcodec libx264 -preset ultrafast -qp 0 -pix_fmt yuv444p video.mp4

    But this is not I want. Because this way I cannot see what actually is happening on desktop and where should I point on the slide (lack of instructional control).

    I also successfully piped this composite output through ffplay - but it creates a mirror in mirror effect so thus useless.

    What I expect : I just want to apply ffmpge colorkey to the webcam feed /dev/video0 and display color subtracted output on desktop so that the subtracted region in the video player (ffplay/mplayer) should appear transparent and desktop should be visible (video player should preserve alpha channel and appear transparent in colorkeyed region). (weatherman effect).

    Roughly I am looking for
    ffmpeg -i /dev/video0 colorkry[ckout] -| ffplay -i - or - | mplayer -

    Note : I know openbroadcaster can do this job, I tried to install it but it does not execute citing "Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated." I have a old laptop 2GB RAM and Atom processor running Xubuntu 16.04. probably openbroadcaster cant support.

    As I have successfully oberlayed colorkeyed webcam feed with X11grab (with maximum 50% cpu usage) I think it is easily possible to do live webcam colerkey subtraction with available resources.

    Please give suggestions.