Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (43)

Sur d’autres sites (8531)

  • FFMPEG works too slowly

    11 avril 2015, par Niklas Tampier Holmgren

    i’m currently working on a visual studio c++ project, now i must receive an stream from a Raspberry pi, i’m actually using ffmpeg, the problem is it works to slow in computer side, here is the code i’m using in rapsberry pi :

    ffserver -f /etc/ffserver.conf & ffmpeg -v 2 -r 20 -s 640x480 -f v4l2 -i /dev/video0 http://localhost:8090/webcam.ffm

    and in computer side :

    void Display(){


    //open the video stream and make sure it's opened
    if (!cap.open(videoStreamAddress)) {
       std::cout << "Error opening video stream or file" << std::endl;

    }


    for (;;) {
       if (!cap.read(frame)) {
           std::cout << "No frame" << std::endl;
           cv::waitKey(1);
       }
       cv::imshow("Output Window", frame);
       if (cv::waitKey(1) >= 0) break;
    }

    }

    Any idea what could be happens ? i have a good Ethernet connection (i’m using it to stream)

  • create GIF image from images on android [duplicate]

    8 mars 2015, par Vahagn Vardanyan

    This question already has an answer here :

    I use android studio for work with video, images. Can add filter rotate and many many function ? But may be someone know how can I create GIF image from generated images ?

    I use javacv, ffmpeg lib

  • Can't use ffmpeg 3.2 in Android project

    21 novembre 2016, par world2ashish

    Tried almost everything, spent almost 4-5 days trying and still counting.

    The reason I want to compile recent version of ffmpeg is because https://github.com/WritingMinds/ffmpeg-android-java doesn’t work for video rotation. For this also I tried multiple answers, different versions of answer (transpose=1, transpose=dir=cclock, etc)

    Somewhere it was mentioned that rotate command wont work with previous versions of ffmpeg, so after a lot of trials, I started working on compilation of new ffmpeg. But all the tutorials for ffmpeg belong to earlier versions (of Android NDk, ffmpeg) which wont work with ffmpeg 3.2 and NDK r13b (I also tried with NDK downloaded by studio itself but no luck). In case it worked for you, please help.

    After a lot of frustrating experience I am writing this. Please help with a workflow or a clear direction. Thanks

    Wasnt able to tag ffmpeg3.2 because of reputation.