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.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 17: ordinal not in range(128) #4775
Comments
|
Post the full output you get when running with |
|
i edited |
|
Could you also post the output of |
|
path - /bin/ffmpeg FFMPEG it's working standalone: |
|
ffmpeg: |
|
If i add No error. youtube-dl --prefer-ffmpeg --ffmpeg-location "/usr/bin/ffmpeg" --extract-audio --audio-format "mp3" --audio-quality 0 "https://www.youtube.com/watch?v=7kHCOwakEIM" |
This is happend when i want to extract audio using this command:
youtube-dl -x --audio-format "mp3" --audio-quality 0 "https://www.youtube.com/watch?v=7kHCOwakEIM"
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', '--extract-audio', '--audio-format', 'mp3', '--audio-quality', '0', 'https://www.youtube.com/watch?v=7kHCOwakEIM']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.01.23.4
[debug] Python version 2.7.5 - Linux-3.17.6-200.fc20.x86_64-x86_64-with-fedora-20-Heisenbug
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/bin/youtube-dl/main.py", line 19, in
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 366, in main
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 335, in _real_main
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 300, in init
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1524, in print_debug_header
File "/usr/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 51, in get_versions
File "/usr/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 51, in
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 1322, in get_exe_version
File "/usr/lib64/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 17: ordinal not in range(128)
This not happend if i use:
youtube-dl "https://www.youtube.com/watch?v=7kHCOwakEIM"
Only audio extract is affected.