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

Pyinstaller, youtube_dl and ffmpeg!! #4681

Closed
Elite opened this issue Jan 11, 2015 · 3 comments
Closed

Pyinstaller, youtube_dl and ffmpeg!! #4681

Elite opened this issue Jan 11, 2015 · 3 comments

Comments

@Elite
Copy link

@Elite Elite commented Jan 11, 2015

I created an GUI for ytdl and it works fine when executed from python file, however if I pack it using pyinstaller with one file option it downloads the video but fails to convert it using ffmpeg (one copy of which is in the application folder and another on OS path).

I noticed if I allow pyinstaller to open a console window http://pythonhosted.org/PyInstaller/#id23 it works fine and executes ffmpeg.

@phihag
Copy link
Contributor

@phihag phihag commented Jan 11, 2015

As mentioned in our bug reporting guidelines, please post the output you get when you add the --verbose option (or set {'verbose': True} in the params for the YoutubeDL object). Without that, we cannot see what is going on here.

That being said, this is almost certainly a pyinstaller issue. How does the directory layout actually look when it's unpacked?

@Elite
Copy link
Author

@Elite Elite commented Jan 11, 2015

Got this while researching the issue - https://groups.google.com/d/msg/pyinstaller/-4Fdy7suh0U/0o9Yqa78zCEJ, it seems the problem lies in the fact how subprocess calls are handled when using pyinstaller one-file option.

@phihag
Copy link
Contributor

@phihag phihag commented Jan 15, 2015

Closing; the problem seems to be in pyinstaller. Even if it's not, without the requested additional information we could not hope to solve it.

@phihag phihag closed this Jan 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.