Page 1 of 1

YT-DLP PROBLEM

Posted: Wed Feb 23, 2022 5:13 pm
by migi1986
Hi,
I have a problem with the new version of FFAStrans with the new Youtube decoder (yt-dlp). When I try to download something I get this message:
init_sys_streams: can't initialize sys standard streams
Below I put the log:

[{"created":"2022-02-23T18:01:40.344+01:00","node":{"id":"20220113-0816-1810-2d9c-5c372f1119ec","type":"mon_folder"},"split_id":"1-0-0","event":"node start","type":"trace","context":"node startup","host":"WDPRE01WRO","data":null},
{"created":"2022-02-23T18:01:40.453+01:00","node":{"id":"20220113-0816-1810-2d9c-5c372f1119ec","type":"mon_folder"},"split_id":"1-0-0","event":"node end","type":"trace","context":"node execution","host":"WDPRE01WRO","data":null},
{"created":"2022-02-23T18:01:40.547+01:00","node":{"id":"20220113-0816-2457-9e2e-03d6932d8541","type":"dec_youtube"},"split_id":"1-0-0","event":"node start","type":"trace","context":"node startup","host":"WDPRE01WRO","data":null},
{"created":"2022-02-23T18:01:40.578+01:00","node":{"id":"20220113-0816-2457-9e2e-03d6932d8541","type":"dec_youtube"},"split_id":"1-0-0","event":"YouTubeDL()","type":"trace","context":"node execution","host":"WDPRE01WRO","data":"C:\\Windows\\system32\\cmd.exe \/u \/c \"\"C:\\FFAStrans1.2.2.1\\processors\\FFmpeg\\youtube-dl.exe\" --config-location \"C:\\FFAStrans1.2.2.1\\Processors\\ffmpeg\\youtube-dl.conf\" --no-playlist -s -j -a \"d:\\.ffastrans_work_root\\20220113-0816-1053-2e74-c5a0b71e992f\\20220223-1801-3915-9e59-07bd94a75ff2\\~20220223-1801-4057-833c-1a7c18e7e259.url.txt\" >> \"d:\\.ffastrans_work_root\\20220113-0816-1053-2e74-c5a0b71e992f\\20220223-1801-3915-9e59-07bd94a75ff2\\~20220223-1801-4057-8288-aa15d6c0cfb7.extract.txt\" 2>&1\""},
{"created":"2022-02-23T18:01:42.263+01:00","node":{"id":"20220113-0816-2457-9e2e-03d6932d8541","type":"dec_youtube"},"split_id":"1-0-0","event":"node end","type":"trace","context":"node execution","host":"WDPRE01WRO","data":{"status":"error","code":"","error":"init_sys_streams: can't initialize sys standard streams"}},
{"created":"2022-02-23T18:01:42.372+01:00","split_id":"1-0-0","event":"Create full log file and close job","type":"sys","context":"ending job","host":"WDPRE01WRO","data":{"path":"C:\\FFAStrans1.2.2.1\\processors\\db\\cache\\jobs\\20220223-1801-3915-9e59-07bd94a75ff2\\full_log.json","status":"Extracting media information...","code":"000000A9","error":"init_sys_streams: can't initialize sys standard streams"}}]

Re: YT-DLP PROBLEM

Posted: Wed Feb 23, 2022 6:24 pm
by admin
Hi migi1986,

One quick google seem to suggest it's related to character encoding. Can you check if you have the "UTF-8" support in Windows enabled?
https://9ishenzhen.com/qa/?qa=819881
https://i.stack.imgur.com/50MXn.png

-steinar

Re: YT-DLP PROBLEM

Posted: Wed Feb 23, 2022 6:35 pm
by migi1986
I using windows server 2008 and this option is unavailable.

Re: YT-DLP PROBLEM

Posted: Thu Feb 24, 2022 10:59 am
by admin
Hi,

You probably know that 2008 is no longer supported by MS and so you might have a hard time fixing is as long as you're on an outdated OS. You should try on a newer OS and see if it works. If it doesn't, the problem is within yt-dlp and should be reported there as this is not an error coming from FFAStrans per se. Do you have the option to share the link you tried to download?

-steinar

Re: YT-DLP PROBLEM

Posted: Thu Feb 24, 2022 12:04 pm
by migi1986
Generally doesn't works any link from YouTube. Ok probably i must change operating system for a newer. Thanks for the help.