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

UnicodeDecodeError: 'ascii' codec can't decode byte xxxx #4375

Closed
sdsucks opened this issue Dec 4, 2014 · 1 comment
Closed

UnicodeDecodeError: 'ascii' codec can't decode byte xxxx #4375

sdsucks opened this issue Dec 4, 2014 · 1 comment

Comments

@sdsucks
Copy link

@sdsucks sdsucks commented Dec 4, 2014

passing command lines including double-byte characters to ffmpeg doesn't seem to work

E:>youtube-dll -v -w -c -i -f 266+141 -o "%(title)s by %(uploader)s.%(ext)s" https://www.youtube.co
m/watch?v=MBxC3smM6Wg
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-w', '-c', '-i', '-f', '266+141', '-o', '%(title)s by %(uploader)
s.%(ext)s', 'https://www.youtube.com/watch?v=MBxC3smM6Wg']
[debug] Encodings: locale cp949, fs mbcs, out cp949, pref cp949
[debug] youtube-dl version 2014.12.04
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-68199-
[debug] Proxy map: {}
[youtube] MBxC3smM6Wg: Downloading webpage
[youtube] MBxC3smM6Wg: Extracting video information
[youtube] MBxC3smM6Wg: Downloading DASH manifest
[debug] Invoking downloader on 'https://r6---sn-3u-bh2r.googlevideo.com/videoplayback?id=301c42dec98
ce968&itag=266&source=youtube&requiressl=yes&mv=m&ms=au&mm=31&ratebypass=yes&mime=video/mp4&gir=yes&
clen=261736964&lmt=1417662699957285&dur=205.271&key=dg_yt0&upn=up0HnpdMs1k&signature=5313AA97B7C318F
7BEF6ED053385536341126ECD.40A2823A4919329A204F7C2CE17C49EAD6FF50BC&fexp=907259,927622,932404,943917,
947209,948124,948703,952302,952605,952901,953912,957103,957105,957201&sver=3&mt=1417685149&ip=118.41
.56.241&ipbits=0&expire=1417706796&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,mm,rateb
ypass,mime,gir,clen,lmt,dur'
[download] 141123 헬로비너스 팬사인회 '나라' 직캠 By.nomfan앙칼 #제2롯데월드 잠실 by Pinknomfan(앙칼
).f266.mp4 has already been downloaded
[debug] Invoking downloader on 'https://r6---sn-3u-bh2r.googlevideo.com/videoplayback?id=301c42dec98
ce968&itag=141&source=youtube&requiressl=yes&mv=m&ms=au&mm=31&ratebypass=yes&mime=audio/mp4&gir=yes&
clen=6547136&lmt=1417662503737718&dur=205.334&key=dg_yt0&upn=up0HnpdMs1k&signature=85ED9564E92161EEF
72DD6871E9607FF61FF1553.06AE1E051EA76423FC95E39163A940AEEB96F099&fexp=907259,927622,932404,943917,94
7209,948124,948703,952302,952605,952901,953912,957103,957105,957201&sver=3&mt=1417685149&ip=118.41.5
6.241&ipbits=0&expire=1417706796&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,mm,ratebyp
ass,mime,gir,clen,lmt,dur'
[download] 141123 헬로비너스 팬사인회 '나라' 직캠 By.nomfan앙칼 #제2롯데월드 잠실 by Pinknomfan(앙칼
).f141.m4a has already been downloaded
[ffmpeg] Merging formats into "141123 헬로비너스 팬사인회 '나라' 직캠 By.nomfan앙칼 #제2롯데월드 잠
실 by Pinknomfan(앙칼).mp4"
[debug] ffmpeg command line: ffmpeg -y -i '141123 헬로비너스 팬사인회 '"'"'나라'"'"' 직캠 By.nomfan
앙칼 #제2롯데월드 잠실 by Pinknomfan(앙칼).f266.mp4' -i '141123 헬로비너스 팬사인회 '"'"'나라'"'"'
직캠 By.nomfan앙칼 #제2롯데월드 잠실 by Pinknomfan(앙칼).f141.m4a' -c copy -map 0✌️0 -map 1🅰️0 -sh
ortest '141123 헬로비너스 팬사인회 '"'"'나라'"'"' 직캠 By.nomfan앙칼 #제2롯데월드 잠실 by Pinknomfan
(앙칼).mp4'
ERROR: 'ascii' codec can't decode byte 0xc7 in position 0: ordinal not in range(128)
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 564, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 610, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 897, in process_video_result
File "youtube_dl\YoutubeDL.pyo", line 1103, in process_info
File "youtube_dl\YoutubeDL.pyo", line 1158, in post_process
File "youtube_dl\postprocessor\ffmpeg.pyo", line 525, in run
File "youtube_dl\postprocessor\ffmpeg.pyo", line 90, in run_ffmpeg_multiple_files
File "subprocess.pyo", line 710, in init
File "subprocess.pyo", line 913, in _execute_child
File "subprocess.pyo", line 644, in list2cmdline
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc7 in position 0: ordinal not in range(128)

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 4, 2014

Duplicate of #4337

@jaimeMF jaimeMF closed this Dec 4, 2014
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.