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

youtube HLS video: execv() arg 2 must contain only strings #2609

Closed
canavan opened this issue Mar 23, 2014 · 5 comments
Closed

youtube HLS video: execv() arg 2 must contain only strings #2609

canavan opened this issue Mar 23, 2014 · 5 comments

Comments

@canavan
Copy link

@canavan canavan commented Mar 23, 2014

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

@phihag
Copy link
Contributor

@phihag phihag commented Mar 24, 2014

What output do you get with youtube-dl -g -f 132 iplAD3J33yk?

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.

@phihag
Copy link
Contributor

@phihag phihag commented Mar 24, 2014

This is almost certainly not a problem of ffmpeg, but youtube-dl and/or Python, since the error is a Python one.

@phihag phihag closed this in 75f2e25 Mar 24, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Mar 24, 2014

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 sudo youtube-dl -U to update.

@canavan
Copy link
Author

@canavan canavan commented Mar 24, 2014

And indeed, with 2014.03.24.4, ffmpeg is launched, the the resulting error code reported properly. Thanks for the quick fix.

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.