-
Notifications
You must be signed in to change notification settings - Fork 136
Pls provide compiled & working FFMPEG+Lame JNI Libs #16
Comments
+1 |
1 similar comment
+1 |
Ya this would be really nice. I do not understand why you would provide the source code for a app but not include any libraries it uses? Thats like giving you a brand new car with no engine, and then saying good luck with installing the engine. |
+1 |
After a lot of effort I got it to work correctly streaming video to youtube ok, but I could not get any audio through youtube. I then had to stop trying & go on with other work. (It is confusing having reference to both AAC & MP3 audio in the library build.) This functionality should be included in the Android OS so we can just call with a few lines of code to get the project working. |
@garyjamessilva can you please share your jni folder? |
I've published the partly working my version of the project here - https://www.dropbox.com/s/yshwhmlhg02zaqf/MainActivity.zip?dl=0 (It was too large to publish in github > 100MB)
I built the project in Eclipse (adt-bundle-linux-x86_64-20140702, android-ndk-r10c & Android API V4.4W2) under Ubuntu V14.04. (I'm not using Android Studio as yet). I built the FFMPEG (Version 2.3 !!!) & related library components as per these instructions - http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu - but I crossed compiled for Android/ARM (not x86) You will need to edit MainActivity.java & insert your own account key - The project has a external dependency on google-play-services_lib, build that as per - You will also need to Export an unsigned APK and sign it manually as per - Other than that you need to complete the Google Developers Console configuration details for this project as per - https://github.com/youtube/yt-watchme Finally I advise you to read ALL opened & closed issues for this project, they contain details about overcoming some errors. If anybody works out how to get audio to live stream as well as video please let me know. |
Thank you for sharing your folder! If someone succeeds to solve the audio problem too, it will be great, because I am not good enough to figure out how to solve it. Thanks anyway! |
Thanks you made my day. Plz if you succed to make the audio function don't forget us ;) |
does anybody make audio function works ? |
@garyjamessilva did you find a way to fix that audio function? |
Unfortunately no
|
+1 |
Hey Guys.. so, I've re-built garyjamesilva's build in android studio after jumping through some hoops, and i'm running into the following error: Error:Execution failed for task ':app:compileDebugNdk'.
the last warning is interesting -- why is avcodec.h using avcodec_encode_audio when it's deprecated? Has anyone else seen this? |
Hi, #8 has mention of these For your error, I'd also suggest changing APP_ABI=all to something less so Regards On Tue, Feb 17, 2015 at 10:56 AM, danman81 notifications@github.com wrote:
|
hey garyjamesilva, thanks for your help! I've tried both of of your suggestions, but still same error message! |
so it looks like my error was caused by the way my libraries were setup in Android.mk. Now, I'm getting the following error: Error:Execution failed for task ':app:compileDebugNdk'.
well, avcodec.h even says that avcodec_encode_audio2 should be used instead, and i wonder if that has anything to do with your audio problem? granted, i have some other errors so i'm fixing those first, but wanted to let you know about this, garyjamessilva! |
Hi danman81, Thanks for that, let us all know if you get any further using Looking quickly the call parms are different so some additional work is int attribute_deprecated avcodec_encode_audio(AVCodecContext *avctx, int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, Regards garyjamessilva On Wed, Feb 18, 2015 at 12:40 PM, danman81 notifications@github.com wrote:
|
oh yes, there is definitely some work to do here, but the real question is who is going to man up and do it btw, got it to compile finally (thanks ckarthikv!) |
Hi, Guys |
here's a new thread that was started for the audio problem. |
hey @AlifKuan -- why don't you try downloading @garyjamessilva 's precompiled libraries above? they do work, but we are still stuck on this audio problem... |
Hi, Danman81 |
Hi, No not on github on dropbox see my comments earlier in Also this was originally done in Eclipse not Android Studio, you'll needs Regards
|
( I have deleted https://github.com/garyjamessilva/FFmpeg it was just an unused clone, for FFMPEG see https://github.com/FFmpeg/FFmpeg instead ) |
Hey everybody, is someone able to solve the audio problem? If it is complicated or takes too much time, we will pay for your service! Thanks in advance for your message! |
Hi, I'm still too busy for the next month or so to go back & fix the audio https://play.google.com/store/apps/details?id=com.rotw.android.bigve&hl=en https://www.youtube.com/watch?v=pcSYf9pmpcU Let us know if you make any progress. Regards On Sat, Apr 4, 2015 at 10:59 PM, Oliver B. notifications@github.com wrote:
|
Hey @danman81, I have the same compilation problem on task ':app:compileDebugNdk'. Thanks. |
I used @garyjamessilva 's MainActivity solution but tweaked it to compile for gradle. Already included it in my own private project so I don't want to share that source, but I will share my gradle build as well as my gitignore. Gitignore is important to limit the 600mb version after building everything to the smallest amount of source/library files that will compile into the rest of it, which is about 100mb. My process cannot generate the mp3lame_a in libs or the libffmpeg.so and liblame.a in obj. But it still works the same as MainActivity without them! Still no audio but it works with gradle and AndroidStudio! The important parts are here: Gitignore
build.gradle
|
@garyjamessilva : |
Thank you so much @GavinCaptain & well done to all for persevering with My boss will be very happy as well, it was the audio that was very Regards On Wed, Apr 22, 2015 at 5:10 PM, GavinCaptain notifications@github.com
|
Hello , I am getting the following error while trying to start live streaming using YouTube live streaming API form my android application. Please help me to resolve the issue. Cannot open connection tcp://a.rtmp.youtube.com:1935 06-15 20:11:54.863 2109-2109/com.happytv.mobapp I/ffmpeg-jni﹕ ERROR: Could not open file rtmp://a.rtmp.youtube.com/live2/............ Ffmpeg.init() returned false I am using the precompiled ffmpeg library provided with the watchme application. If there is any issue with the ffmpeg library please provide me a working version of the same which I can use in my application. Thanks in advance |
Hi @GavinCaptain |
@paulvaskar |
Hi @paulvaskar +1 , have you solved this issue : I am too getting the following error: " com.google.android.apps.watchme I/ffmpeg-jni: Cannot open connection tcp://a.rtmp.youtube.com:1935 com.google.android.apps.watchme I/ffmpeg-jni: ERROR: Could not open file rtmp://a.rtmp.youtube.com/live2/xxxxx.4X-xxxxx.xxxx Any one here please can you suggest any help to resolve this issue. @iulukaya : Thanks for giving the Library. The video is not streaming to youtube. |
i did not fix the audio function. i just can give you a project that can only provide video function. |
@pangguoming , Is the video stream live or it is having a lag(Is it being shown on the youtube lately?) . As in the demo given by @iulukaya at developers site, the video itself took almost 1 minute to show up on the youtube, after that too they have not shown anything live there. If it is live stream you are having, Please share your thoughts or if possible Please share the code. Thank You. |
Hi everyone , the speed of the video is very fast by default. , i am facing a issue when i try to play the recorded Live stream in my yt-channel , please anyone guide me how to set the video speed to normal ? |
@sai-cool the video stream is live , you can download the source code here :https://github.com/pangguoming/Android-Youtube-LiveStream |
error.txt |
… On Tue, Sep 5, 2017 at 12:48 AM, Murtaza S Vhora ***@***.***> wrote:
error.txt <https://github.com/youtube/yt-watchme/files/1274976/error.txt>
@garyjamessilva <https://github.com/garyjamessilva> Thanks for sharing
your code. I am trying to build your code, but I am getting linking error.
I am attaching error log. I think libavformat.a has some error. Please
anyone guide me how to solve this error.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJBIXHVFfGFog339Z11HKL-1IabYuTQmks5sfA2igaJpZM4DAQKX>
.
|
I've got the app to start, create live events, but in my Live Control Room on Youtube Live (on web), I'm not receiving any stream. It shows as "streaming" on the app, but no stream received on Youtube Live.
I built ffmpeg as per https://github.com/cine-io/android-ffmpeg-with-rtmp, used the NDK to build it, included the streaming libraries, but it just doesn't show the streams on Youtube Live.
Would really appreciate some help here.
The text was updated successfully, but these errors were encountered: