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.
youtube HLS video: execv() arg 2 must contain only strings #2609
Comments
|
What output do you get with Mmm, on Linux, this works fine for me. What system is this? How can I get one? HLS is HTTP Live Streaming. Since youtube-dl doesn't support that protocol by itself, it calls out to ffmpeg and lets ffmpeg download the video. It looks like something goes wrong while passing in the arguments. Most likely, the url is not in the correct format. |
|
I suspected something like this. As you can see in the verbose output, the OS is IRIX, and I'm certain that the ffmpeg version is too old, incomplete, broken or any combination thereof. A nice error message to that effect would be all I'm asking for. |
|
This is almost certainly not a problem of ffmpeg, but youtube-dl and/or Python, since the error is a Python one. |
|
Turns out the error is completely unrelated to IRIX, but is due to your system charset. This has been fixed in youtube-dl 2014.03.24.4. Type |
|
And indeed, with 2014.03.24.4, ffmpeg is launched, the the resulting error code reported properly. Thanks for the quick fix. |
The youtube video with ID iplAD3J33yk has only format with the note "HLS" available:
[info] Available formats for iplAD3J33yk:
format code extension resolution note
151 mp4 72p HLS (worst)
132 mp4 240p HLS
92 mp4 240p HLS
93 mp4 360p HLS
94 mp4 480p HLS (best)
This results in a error message that is not very informative:
youtube-dl --verbose -f 132 iplAD3J33yk
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-f', '132', 'iplAD3J33yk']
[debug] Encodings: locale 'ISO8859-1', fs 'ISO8859-1', out 'ISO8859-1', pref: 'ISO8859-1'
[debug] youtube-dl version 2014.03.23
[debug] Python version 2.7.6 - IRIX64-6.5-IP35-mips-n32bit-ELF
[debug] Proxy map: {}
[youtube] Setting language
[youtube] iplAD3J33yk: Downloading webpage
[youtube] iplAD3J33yk: Downloading video info webpage
[youtube] iplAD3J33yk: Extracting video information
[youtube] iplAD3J33yk: Downloading formats manifest
[download] Destination: 5 - _ _ 5 channel LIVE-iplAD3J33yk.mp4
Traceback (most recent call last):
File "/usr/nekoware/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/nekoware/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/nekoware/bin/youtube-dl/main.py", line 18, in
File "/usr/nekoware/bin/youtube-dl/youtube_dl/init.py", line 814, in main
File "/usr/nekoware/bin/youtube-dl/youtube_dl/init.py", line 804, in _real_main
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1020, in download
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 517, in extract_info
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 554, in process_ie_result
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 801, in process_video_result
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 991, in process_info
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 967, in dl
File "/usr/nekoware/bin/youtube-dl/youtube_dl/downloader/common.py", line 290, in download
File "/usr/nekoware/bin/youtube-dl/youtube_dl/downloader/hls.py", line 29, in real_download
File "/usr/nekoware/lib/python2.7/subprocess.py", line 522, in call
return Popen(_popenargs, *_kwargs).wait()
File "/usr/nekoware/lib/python2.7/subprocess.py", line 709, in init
errread, errwrite)
File "/usr/nekoware/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
TypeError: execv() arg 2 must contain only strings