Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
embedded youtube-dl not working properly with opera/vivaldi-shipped libffmpeg.so #13260
Comments
|
|
|
ffmpeg_location doesn't change anything.
|
|
It's not a youtube-dl bug.
This is perfectly legal ffmpeg command that works everywhere apart from your ffmpeg setup.
This is the output from your ffmpeg. |
|
if i execute the given command line in terminal, it works. My /usr/bin/ffmpeg works as expected. If the python-script is executed in terminal, it works as well. Why can a external ffmpeg (/opt/vivaldi/lib/libffmpeg.so, /usr/lib/opera/libffmpeg.so, ...) manipulate youtube-dl if there is ffmpeg_location in ydl_opts{}? |
What else to say. Go and blame it.
I've no idea what are you trying to do and what's your code. Needless to say so far you did not even bother to provide complete log with all debug output, ffmpeg version as exposed by your env and seen by youtube-dl, etc. I neither feel like I should fortune tell it nor debug some 3rdparty software. |
As discussed in vivaldi-forum:
https://forum.vivaldi.net/topic/17134/python-nativemessaginghost-youtube-dl-something-strange
And closed issue: #13127
i use youtube-dl embedded in a python script, acting as NativeMessagingHost for extension to download videos and convert it to mp3 (check out on github).
The Issue:
On Arch Linux, there is this additional package (vivaldi-ffmpeg-codecs) to support better media playback in browser.
If this package is installed, youtube-dl gets some struggle in the FFmpegExtractAudio postprocessor.
Two times "file:"?
if i execute the ffmpeg line in terminal, everything works.
if it's been executed as NativeMessagingHost without vivaldi-ffmpeg-codecs packageinstalled, everything works.
Seems that /opt/vivaldi/lib/libffmpeg.so is the reason.
As long as i know, this is custom ffmepg built-in for chromium-related browsers, as opera, where same behaviour can be seen.
is there some workarround for saying youtube-dl to IGNORE this libffmpeg.so?
Is this a bug?