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] rtmpdump 'ascii' codec can't decode byte 0xe9 #1799

Closed
canamcy opened this issue Nov 20, 2013 · 2 comments
Closed

[youtube] rtmpdump 'ascii' codec can't decode byte 0xe9 #1799

canamcy opened this issue Nov 20, 2013 · 2 comments
Labels

Comments

@canamcy
Copy link

@canamcy canamcy commented Nov 20, 2013

Python version is 3.2.2.
Also tried \test\ directory with same result.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '5', '-i', '--verbose', '-o', '..\yo0\M\fil
ms fran\xe7ais\1-5bzCOLMb8.flv', '--', '1-5bzCOLMb8']
[debug] youtube-dl version 2013.11.20
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
ERROR: RTMP download detected but "rtmpdump" could not be run
ERROR: 'ascii' codec can't decode byte 0xe9 in position 292: ordinal not in rang
e(128)
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 423, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 504, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 448, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 537, in process_video_result
File "youtube_dl\YoutubeDL.pyo", line 750, in process_info
File "youtube_dl\FileDownloader.pyo", line 424, in _do_download
File "youtube_dl\FileDownloader.pyo", line 281, in _download_with_rtmpdump
File "youtube_dl\FileDownloader.pyo", line 161, in report_error
File "youtube_dl\YoutubeDL.pyo", line 295, in report_error
File "youtube_dl\YoutubeDL.pyo", line 260, in trouble
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 292: ordina
l not in range(128)

@canamcy
Copy link
Author

@canamcy canamcy commented Aug 24, 2014

I've installed rtmpdump and successfully downloaded other videos, but this one is still a problem.
I'm now getting a rtmpdump ascii error. With this video in a playlist, youtube-dl stops downloading the playlist.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['youtube-dl.exe', '-f', 'worst', '-i', '--verbose',
'-o', '..\yo0\M\yo2b\ACER.yt%(id)s.%(ext)s', '--', 'http://www.youtube.com
/playlist?list=PLAGvOYt0XoUhn7mAYnJeHFovErKO7igPr']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.08.24.6
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
ERROR: u'youtube-dl.exe' is not a valid URL. Set --default-search "ytsearch" (or
run youtube-dl "ytsearch:youtube-dl.exe" ) to search YouTube
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 520, in extract_info
File "youtube_dl\extractor\common.pyo", line 176, in extract
File "youtube_dl\extractor\generic.pyo", line 445, in _real_extract
ExtractorError: u'youtube-dl.exe' is not a valid URL. Set --default-search "ytse
arch" (or run youtube-dl "ytsearch:youtube-dl.exe" ) to search YouTube

[youtube:playlist] PLAGvOYt0XoUhn7mAYnJeHFovErKO7igPr: Downloading webpage
[download] Downloading playlist: ACER.yt
[youtube:playlist] playlist ACER.yt: Collected 3 video ids (downloading 3 of the
m)
[download] Downloading video #1 of 3
[youtube] Setting language
[youtube] Confirming age
[youtube] 1-5bzCOLMb8: Downloading webpage
[youtube] 1-5bzCOLMb8: Downloading video info webpage
[youtube] 1-5bzCOLMb8: Extracting video information
[youtube] RTMP download detected
[debug] Invoking downloader on u'rtmpe://v20.nonxt6.c.youtube.com/videoplayback'

[download] Destination: ..\yo0\M\yo2b\ACER.yt\1-5bzCOLMb8.unknown_video
[debug] rtmpdump command line: rtmpdump --verbose -r rtmpe://v20.nonxt6.c.youtub
e.com/videoplayback -o '..\yo0\M\yo2b\ACER.yt\1-5bzCOLMb8.unknown_video.part' --
resume --skip 1
[rtmpdump] RTMPDump v2.4
rtmpdump 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license
: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 2
[rtmpdump] DEBUG: Parsed host : v20.nonxt6.c.youtube.com
[rtmpdump] DEBUG: Parsed app : videoplayback
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] ERROR: You must specify a playpath (--playpath) or url (-r "rtmp://ho
st[:port]/playpath") containing a playpath
ERROR: 'ascii' codec can't decode byte 0xe9 in position 23: ordinal not in range
(128)
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 531, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 654, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 580, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 541, in extract_info
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 23: ordinal
not in range(128)

@canamcy canamcy closed this Aug 24, 2014
@canamcy canamcy reopened this Aug 24, 2014
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 30, 2014

Duplicate of #1797.

@jaimeMF jaimeMF closed this Sep 30, 2014
@dstftw dstftw added the duplicate label Apr 1, 2017
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
3 participants
You can’t perform that action at this time.