Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I need to let my app's client paste youtube (or any other website but that later) URL and download just music (mp3) from the specified video.
I was looking for the solution on stackoverflow and google and found that it is in spite of their law. We just cant dowload anything from youtube. In case of doing it, youtube will block our service.
However, I know that there are still available sites, on which we can convert the video to mp3 easily, for example: http://2conv.com And these sites exist in web for really long time.
So how did they avoid youtube-law? How can I download videos from youtube using Java? (I dont ask for code, but just the way how to do this, what to type in google to find the answer)
Thanks for reading! I really need the answer, because downloading from youtube has to be the core-feature of my app
TO BE CLEAR AND NOT DOWN-VOTED:
I am not going to violate youtube terms of service, just asking if there is any way to reconcile my needs with youtube terms?
It's possible, just use Pafy script (Python), this API based on youtube-dl.
You can see more youtube-dl support sites at:
https://rg3.github.io/youtube-dl/supportedsites.html
Unfortunately not possible. Video files are integrated with their audio files. so if you want to extract audio from any video file you should download the whole thing and then extract its audio to mp3 yourself. Every service that does so first fetches the video and then does as mentioned. Make sure not to violate any terms of service.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
FfhggtffgtfgtgftI want develop application that whenever it recognizes a keyword it does something. it needs to be in listening mode all the time, in backgeound too.
I was exposed to this and this. I treid run it but it is not work when I am speaking.
actually I read it still doesn't support my native language. is that the reason?
I want to know how it works? does it is doing speach to text and saved it in assets files? does it is run in background? does it is used AI models? how it behaves when two apps need mic resource in parallel? noises? does it is work with Neural Networks API? how can I start developing such a thing?
thanks!
It is great you tried Vosk offline speech recognition on Android, here are some answers to your questions:
actually I read it still doesn't support my native language.
If you are about Hebrew, we might support it in the future, and you can build it yourself.
is that the reason?
You didn't provide enough information to answer this, please explain a bit more what is "it is not work"
I want to know how it works?
Extensive documentation on speech recognition is available on lectures, courses and books. You can find some introduction here for example: https://www.youtube.com/watch?v=q67z7PTGRi8
does it is doing speech to text and saved it in assets files?
It does speech to text, but it doesn't save results into assets, it just displays them. You can not modify assets, they are static.
does it is run in background?
Yes
does it is used AI models?
Sure
how it behaves when two apps need mic resource in parallel?
In android it is not possible to record audio from two apps in parallel, second one will be blocked.
noises?
It is robust to noises.
does it is work with Neural Networks API?
No, it is portable
how can I start developing such a thing?
Get some basic understanding and start writing the code. If you have further questions you can ask them in the Telegram chat
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm making a thesis about Speech Recognition for generating subtitle out of the video itself. The concept is I'm planning to make a video player and integrate the Speech Recognition on that. So if I run the system and play the video until it ends, the system will generate another copy of that video file, but this time subtitle is already included or integrated on that. Is this concept possible? If so, can you please advise me on how can I do it, or tell me whats the best SR API or some sort out there? I'm familiar in java btw.
I also had a similar sort of Idea in my mind in my university years.
I think your approach should be work. Play the Movie first time and then generate the subtitle and export it to a ".srt" file. Because you cant do it in Real-time Processing due to the several reasons like
Sentences meanings can be change from words to word
Processing or analysing time
etc.
Disadvantage of your approach is
People won't like to play the whole movie to generate the subtitle file.
So I think it would be better to extract the Sound track (audio file), analyzing the sound track and generate the Subtitle file without Playing the Movie
In here you wont able to do the SPEECH-TO-TEXT conversion.
You have to find the way to analyse the sound waves styles and extract the data.
Good Luck
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I just started to make my own app for the first time.
I want to make a news app which take data from my wordpress blog. I designed the app similar to CNN, BBC app for example. I'd like to make it by my own, not using plugins like apppresser or worona. I use android studio to make the app and just make a listview & row item to list news, but don't know how to take data from wordpress blog.
Could anyone help me? It would be help to introduce me a site about the problem I had. Thanks.
Maybe what you could do is download the raw HTML page you want to get the information from and process it to get what you want to display. Then if you want to keep the app updated with the info, make it repeat the process with a lapse of time (like every 3 minutes for example).
This will work with any kind of page, not just wordpress.
Maybe it will take you a little more time to do this than find an API that does it for you, but since you are new it will be good for you to practice a bit, and, you'll be able to reuse this code incase you stop using wordpress and move to another "plataform".
I am working on same project and i use this json api plugin. I gives me json and then i handle it in my project.
You can use volley libaray to handle requests for server. Here is link for volley tutorial
Good Luck!
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am creating an App that stores tasks. What would be a good way to store each task data on a cloud? I was thinking of using the free space google drive provides. Is that possible?
Anything besides hosting my own server will be best. Any ideas?
You could use the Google Cloud Storage free quota. I recently migrated some apps to the cloud and the results are awesome. If your app grows really big, the pricing is still low and you can always get to consume the free quota they provide. Besides that, the api is well documented and there are plenty of tutorials.
Hope it helps.
you should use Google Drive to store data at Google Clouds . please check and started with below link for cloud storage .
https://developers.google.com/drive/android/get-started
You can follow this link. This is about storing image to Google drive but you can store any type of file by using MIME type */*
Have a look into the Dropbox Sync API. The Sync API takes care of syncing all your data with Dropbox through a familiar, file system-like interface. It's like giving your app its own, private Dropbox client.
Reference :https://www.dropbox.com/developers/sync/start/android
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I saw many programms in Android Market which allow to download video from Youtube. Now I must create programm for download video from Youtube, but I don't know how to do it. Can you help me? Thank you for, anyway.
Well first of all. Stackoverflow is mostly used for question. No one here will write a complete app for you, well the majority will probably not do that.
Second, you might want to look at YouTubes ToS:
5L:
you agree not to access Content or any reason other than your personal, non-commercial use solely as intended through and permitted by the normal functionality of the Service, and solely for Streaming. "Streaming" means a contemporaneous digital transmission of the material by YouTube via the Internet to a user operated Internet enabled device in such a manner that the data is intended for real-time viewing and not intended to be downloaded (either permanently or temporarily), copied, stored, or redistributed by the user.
5M:
You shall not copy, reproduce, distribute, transmit, broadcast,
display, sell, license, or otherwise exploit any Content for any other
purposes without the prior written consent of YouTube or the
respective licensors of the Content.
So please come back with questions that we can answer.
You should probably check out http://sourceforge.net/projects/ytd2/ and http://www.google.com/support/forum/p/youtube/thread?tid=28e5b81a75f31def&hl=en