raghavpatnecha / smartmirror

Giving AI to the Smart Mirror.
MIT License
23 stars 7 forks source link

Ffmpeg error #7

Open aak2003 opened 6 years ago

aak2003 commented 6 years ago

The dependency nasm isn't downloading

The site nasm.us is not reachable

So please help me by

  1. Go to .cache/Homebrew And search for nasm 2.13.03.tar.xz 2.please upload that file on Google drive and provide me the link to download it.

Thanking you Aakaash

akshaybahadur21 commented 6 years ago

Here you go aakaash nasm-2.13.03-win32.tar.gz Here's a link for gz file... will be uploading a link for xz file as well

akshaybahadur21 commented 6 years ago

nasm-2.13.03-win32.tar.zip xz file

aak2003 commented 6 years ago

I have done it on raspberry pi 3 Not on Windows So please help me

On Feb 11, 2018 7:40 PM, "Akshay Bahadur" notifications@github.com wrote:

nasm-2.13.03-win32.tar.zip https://github.com/raghavpatnecha/smartmirror/files/1714433/nasm-2.13.03-win32.tar.zip xz file

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/raghavpatnecha/smartmirror/issues/7#issuecomment-364754381, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae1M0TR-zG1MyCIzxXWrIl8VzSLThUzYks5tTvTsgaJpZM4SBWKj .

aak2003 commented 6 years ago

I am using raspberry pi 3b

aak2003 commented 6 years ago

In bot.py under the sandbox line It says token ' ' . Which token??

How do I get refresh token?? Is refresh token server token??

aak2003 commented 6 years ago

Also the nasm.us is still down

And yaa I found for the nasm.xz file that I need has sha256 number starting with 812

raghavpatnecha commented 6 years ago

You can use uber developer site to get the tokens. Use Postman to request from the rest api. All the instructions are given on uber's site.

raghavpatnecha commented 6 years ago

Also, I don't think it will work on raspberry pi

aak2003 commented 6 years ago

I actually have done the hacker house smart mirror on rpi Also this is almost the same so I am 100%sure that it will work on rpi

I had installed brew ffmpeg too But unfortunately I had added some extra files that caused an error So I was forced to format and do it again But unfortunately the nasm server is down.

On Feb 12, 2018 2:09 PM, "Raghav Patnecha" notifications@github.com wrote:

Also, I don't think it will work on raspberry pi

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/raghavpatnecha/smartmirror/issues/7#issuecomment-364857662, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae1M0XpaNNX6aVQne203p4UefWV-ieZ2ks5tT_irgaJpZM4SBWKj .

aak2003 commented 6 years ago

What token should I put below sandbox line in bot.py??

Is rest API refresh token??

On Feb 12, 2018 2:08 PM, "Raghav Patnecha" notifications@github.com wrote:

You can use uber developer site to get the tokens. Use Postman to request from the rest api. All the instructions are given on uber's site.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/raghavpatnecha/smartmirror/issues/7#issuecomment-364857535, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae1M0ZcfSOmhzS__vt4x3k8-IHas5KnAks5tT_iKgaJpZM4SBWKj .

akshaybahadur21 commented 6 years ago

If you are talking about line 514. Then go to https://developer.uber.com/docs/riders/guides/sandbox and basically, it isn't a token but product id. https://sandbox-api.uber.com/v1.2/sandbox/products/{product_id}

aak2003 commented 6 years ago

Is refresh token and rest API the same??

On Feb 12, 2018 8:27 PM, "Akshay Bahadur" notifications@github.com wrote:

If you are talking about line 514. Then go to https://developer.uber.com/ docs/riders/guides/sandbox and basically, it isn't a token but product id. https://sandbox-api.uber.com/v1.2/sandbox/products/{product_id}

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/raghavpatnecha/smartmirror/issues/7#issuecomment-364946819, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae1M0YIF3MH6gfcwUTMjQ3MwlQEQ1hI-ks5tUFFHgaJpZM4SBWKj .

aak2003 commented 6 years ago

BTW thanks a lot for ur help

On Feb 12, 2018 8:35 PM, aakaash200317@gmail.com wrote:

Is refresh token and rest API the same??

On Feb 12, 2018 8:27 PM, "Akshay Bahadur" notifications@github.com wrote:

If you are talking about line 514. Then go to https://developer.uber.com/docs/riders/guides/sandbox and basically, it isn't a token but product id. https://sandbox-api.uber.com/v1.2/sandbox/products/{product_id}

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/raghavpatnecha/smartmirror/issues/7#issuecomment-364946819, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae1M0YIF3MH6gfcwUTMjQ3MwlQEQ1hI-ks5tUFFHgaJpZM4SBWKj .

akshaybahadur21 commented 6 years ago

What Rest APi? is a very broad topic. And refresh token just a token which you receive in the process of making a request to the API

aak2003 commented 6 years ago

But in the bot.py in uber section it asks refresh token

On Feb 12, 2018 8:40 PM, "Akshay Bahadur" notifications@github.com wrote:

What Rest APi? is a very broad topic. And refresh token just a token which you receive in the process of making a request to the API

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/raghavpatnecha/smartmirror/issues/7#issuecomment-364951149, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae1M0T9aiSc7xz8UbOdLAL3mudA5B-RZks5tUFR0gaJpZM4SBWKj .

akshaybahadur21 commented 6 years ago

Once you have an access token a refresh token can be obtained. If you can wait for few days then I will write a step by step tutorial on how you can run an Uber API successfully

aak2003 commented 6 years ago

Ok thank you will wait for the tutorial

On Feb 12, 2018 8:44 PM, "Akshay Bahadur" notifications@github.com wrote:

Once you have an access token a refresh token can be obtained. If you can wait for few days then I will write a step by step tutorial on how you can run an Uber API successfully

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/raghavpatnecha/smartmirror/issues/7#issuecomment-364952367, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae1M0eCmzzRXl1BZnTgKVAaqActvYaHkks5tUFVmgaJpZM4SBWKj .

ghadisaurabh commented 6 years ago

@aak2003 Can you give me the steps for hacker house smart mirror on rpi project ?? I have done this on Mac but not sure about steps..on rpi ,Same as Mac or not?

aak2003 commented 6 years ago

It's the same just while installing npm Don't install using sudo npm install But use npm install And on rpi it is Linuxbrew not Homebrew And install opencv on rpi using brew