Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (47)

Sur d’autres sites (8267)

  • Ffmpeg framework android

    2 juin 2017, par Yupi

    I have been working on one project in which ffmpeg collection of libraries has to be included. But I’m struggling to implement it in Android Studio. I can’t find clear explanation for that. Most of the explanations are for Linux or Mac OS but I’m using Windows. I have followed couple explanations which says that new directory has to be created in order : jniLibs/armeabi/ffmpeg.so I have done all of that. All things that like general. When I load library :

    static {
           System.loadLibrary("ffmpeg");
       }

    I can’t get acces to native mehods like public static native int encodeVideoFrame(byte[] yuv_image);

    Warning says : Cannot resolve corresponding JNI function

    So problem is with compiling ffmpeg for Android using Windows and including it in Android Studio. Any help would be very appreciated. Thanks.

  • ffmpeg how to record and preview at the same time

    28 octobre 2022, par mahdi gh

    I want to capture video+audio from directshow device like webcam and stream it to RTMP server. This part no problem. But the problem is that I want to be able to see the preview of it. After a lot of search someone said pipe the input using tee muxer to ffplay. but I couldn't make it work. Here is my code for streaming to rtmp server. how should I change it ?

    



    ffmpeg -rtbufsize 8196k -framerate 25 -f dshow -i video="Microsoft® LifeCam Studio(TM)":audio="Desktop Microphone (Microsoft® LifeCam Studio(TM))" -vcodec libx264 -acodec aac -strict -2 -b:v 1024k -b:a 128k -ar 48000 -s 720x576 -f flv "rtmp://ip-address-of-my-server/live/out"


    


  • mp4 with pixel format yuvj420p won't play in Chrome 17, but plays in Safari, IE etc

    21 août 2014, par marca

    File is from a Nikon D3s (mov) converted with ffmpeg to mp4.
    Working without problems with all other files (avi, flv, mp4 etc)

    Please see file : http://shootitlive.s3.amazonaws.com/output.mp4
    (Same non working result in Chrome when served from diffrent hosts, and always works in Safari and with flash in Firefox, Chromium)

    /usr/local/bin/ffmpeg -i nonworking.MOV -acodec libfaac -ab 128k -vcodec libx264 -preset slow -crf 30 -threads 0 -s 768x576 -aspect 1.33333333333 -ar 48000 output.mp4

    Cant find anything strange with (but dont really know what to look for) :

    ffmpeg -v 5 -i filename -f null - 2>error.log`

    Any ideas ?