Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFMPEG error #218

Closed
kartikeybharadwaj opened this issue Sep 6, 2020 · 13 comments
Closed

FFMPEG error #218

kartikeybharadwaj opened this issue Sep 6, 2020 · 13 comments
Labels
duplicate This issue or pull request already exists ffmpeg ffmpeg issue, check the version/ retry the download question Further information is requested

Comments

@kartikeybharadwaj
Copy link

Hi Guys,

So thing is my university has uploaded a bunch of videos on MS Streams. When I am trying to download any video lecture using destreamer, I am getting below error.

[FATAL ERROR] FFmpeg is missing!
Destreamer requires a fairly recent release of FFmpeg to download videos

PFA screenshot for refrence.

Regards

एनोटेशन 2020-09-06 183440

@lukaarma
Copy link
Collaborator

lukaarma commented Sep 6, 2020

You need to download ffmpeg and place it on your path or in the Destreamer folder
You can look at the README for more info

@kartikeybharadwaj
Copy link
Author

Took these steps :

  1. download the static file on ffmped
  2. upzip, rename the file name to ffmped, put it in the root file (destreamer/)
  3. run export PATH=./ffmepg/bin/:$PATH in terminal

Still getting below error :

[FATAL ERROR] FFmpeg is missing!
Destreamer requires a fairly recent release of FFmpeg to download videos

PFA screenshot.

Regards

एनोटेशन 2020-09-06 183440

@lukaarma
Copy link
Collaborator

lukaarma commented Sep 9, 2020

try with export PATH=$PATH:"./ffmepg/bin/" please

@lukaarma
Copy link
Collaborator

Was this solved @kartikeybharadwaj ?

@rohit404404
Copy link
Contributor

i am facing same issue. even after copying ffmpeg to root folder and adding path variable , i still see ffmpeg is missing.

no idea whats wrong.

also, above export command fails with invalid semicolon error

@kartikeybharadwaj
Copy link
Author

Was this solved @kartikeybharadwaj ?

Hey sorry for the late update. The issue is still not resolved.

Regards

@lukaarma
Copy link
Collaborator

lukaarma commented Sep 23, 2020

Are you running on windows using git bash right?
Could you try to follow this guide or this one to add ffmpeg to your path and then try using powershell?

EDIT: If you are using bash you MUST have ffmpeg on you path because of a bug we have (see #146) but if you use powershell it's ok to have ffmpeg only in Destreamer root folder and it will work

@rohit404404
Copy link
Contributor

rohit404404 commented Sep 23, 2020

I have finally got it working. I had taken BTBN copy of FFMpeg and seems that was issue. When I took it from GYAN. it worked.

However, PowerShell processed the 46 minutes file from stream and when it finally downloaded there was only 5MB file under videos and it did not play

image

@lukaarma
Copy link
Collaborator

@rohit404404 could you please try again and let me know if the issue comes up again

@lukaarma lukaarma added duplicate This issue or pull request already exists ffmpeg ffmpeg issue, check the version/ retry the download labels Sep 24, 2020
@rohit404404
Copy link
Contributor

@lukaarma Ok, I was stupid. Documentation says video will be saved under /videos by default. Which i assumed will be system media Videos folder. I happen to check under root folder, just to be sure. and found another videos folder where file was successfully downloaded and i could play it as well.

Thank you very much!!

@lukaarma
Copy link
Collaborator

I'll make the docs clearer!
Happy to help :D

@lukaarma
Copy link
Collaborator

lukaarma commented Sep 30, 2020

Are you running on windows using git bash right?
Could you try to follow this guide or this one to add ffmpeg to your path and then try using powershell?

EDIT: If you are using bash you MUST have ffmpeg on you path because of a bug we have (see #146) but if you use powershell it's ok to have ffmpeg only in Destreamer root folder and it will work

Did this help @kartikeybharadwaj?

Anyway this is duplicate of #146, so I'll close it. Move the discussion there if you need more help

@lukaarma lukaarma added the question Further information is requested label Sep 30, 2020
@amnotabot
Copy link

@lukaarma Hi I'm new here thanks for the help.

I get different error , tried all suggested actions above, still get the same error, regardless of how I install ffmpeg and of the terminal I use

[FATAL ERROR] The FFmpeg version currently installed is too old!
Destreamer requires a fairly recent release of FFmpeg to download videos

image

Any ideas please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists ffmpeg ffmpeg issue, check the version/ retry the download question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants