Closed marc1uk closed 1 year ago
Have the same issue.
mpsyt version : 0.2.8
notes : released 17 February 2018
pafy version : 0.5.5 (youtube-dl backend)
youtube-dl version : 2020.12.22
Python version : 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)]
Processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
Machine type : AMD64
Architecture : 64bit, WindowsPE
Platform : Windows-10-10.0.17763-SP0
sys.stdout.enc : utf-8
default enc : utf-8
Config dir : C:\Users\Admin\AppData\Roaming\mps-youtube
env:TERM : cygwin
env:LANG : en_US.UTF-8
c:\python39\lib\subprocess.py:942: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stderr = io.open(errread, 'rb', bufsize)
Playing: https://manifest.googlevideo.com/api/manifest/dash/expire/1608623584/ei/gFHhX-XCMKiI2LYPxtGTuAE/ip/24.188.149.66/id/f583b9aeebc54825/source/youtube/requiressl/yes/playback_host/r8---sn-j5caxoxu-pn2z.googlevideo.com/mh/Gw/mm/31%2C26/mn/sn-j5caxoxu-pn2z%2Csn-p5qlsnd6/ms/au%2Conr/mv/m/mvi/8/pcm2cms/yes/pl/21/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/1580000/vprv/1/mt/1608601476/fvip/5/keepalive/yes/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRgIhAOl5x3bYewYv4G0NWvAFuLrkZUOW1rsu3N3zjHkVmokqAiEA_o_Vr1iHDRrm1DzxMpjNyMSvOwgNAe6mTBzYP9AbGs4%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRQIhALlYAV-tnVxTO8kAgAN_n_gSKaNmwLAihrRUjhQ__NWKAiAgR9V49fIl-auDoyxlUPPJER5fmoS1qs_s2QwY3fc-hQ%3D%3D Failed to recognize file format.
Exiting... (Errors when loading file)
Playing: https://manifest.googlevideo.com/api/manifest/dash/expire/1608623584/ei/gFHhX-XCMKiI2LYPxtGTuAE/ip/24.188.149.66/id/f583b9aeebc54825/source/youtube/requiressl/yes/playback_host/r8---sn-j5caxoxu-pn2z.googlevideo.com/mh/Gw/mm/31%2C26/mn/sn-j5caxoxu-pn2z%2Csn-p5qlsnd6/ms/au%2Conr/mv/m/mvi/8/pcm2cms/yes/pl/21/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/1580000/vprv/1/mt/1608601476/fvip/5/keepalive/yes/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRgIhAOl5x3bYewYv4G0NWvAFuLrkZUOW1rsu3N3zjHkVmokqAiEA_o_Vr1iHDRrm1DzxMpjNyMSvOwgNAe6mTBzYP9AbGs4%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRQIhALlYAV-tnVxTO8kAgAN_n_gSKaNmwLAihrRUjhQ__NWKAiAgR9V49fIl-auDoyxlUPPJER5fmoS1qs_s2QwY3fc-hQ%3D%3D Failed to recognize file format.
Exiting... (Errors when loading file)
Playing: https://manifest.googlevideo.com/api/manifest/dash/expire/1608623584/ei/gFHhX-XCMKiI2LYPxtGTuAE/ip/24.188.149.66/id/f583b9aeebc54825/source/youtube/requiressl/yes/playback_host/r8---sn-j5caxoxu-pn2z.googlevideo.com/mh/Gw/mm/31%2C26/mn/sn-j5caxoxu-pn2z%2Csn-p5qlsnd6/ms/au%2Conr/mv/m/mvi/8/pcm2cms/yes/pl/21/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/1580000/vprv/1/mt/1608601476/fvip/5/keepalive/yes/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRgIhAOl5x3bYewYv4G0NWvAFuLrkZUOW1rsu3N3zjHkVmokqAiEA_o_Vr1iHDRrm1DzxMpjNyMSvOwgNAe6mTBzYP9AbGs4%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRQIhALlYAV-tnVxTO8kAgAN_n_gSKaNmwLAihrRUjhQ__NWKAiAgR9V49fIl-auDoyxlUPPJER5fmoS1qs_s2QwY3fc-hQ%3D%3D Failed to recognize file format.
Exiting... (Errors when loading file)
Playing: https://manifest.googlevideo.com/api/manifest/dash/expire/1608623584/ei/gFHhX-XCMKiI2LYPxtGTuAE/ip/24.188.149.66/id/f583b9aeebc54825/source/youtube/requiressl/yes/playback_host/r8---sn-j5caxoxu-pn2z.googlevideo.com/mh/Gw/mm/31%2C26/mn/sn-j5caxoxu-pn2z%2Csn-p5qlsnd6/ms/au%2Conr/mv/m/mvi/8/pcm2cms/yes/pl/21/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/1580000/vprv/1/mt/1608601476/fvip/5/keepalive/yes/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRgIhAOl5x3bYewYv4G0NWvAFuLrkZUOW1rsu3N3zjHkVmokqAiEA_o_Vr1iHDRrm1DzxMpjNyMSvOwgNAe6mTBzYP9AbGs4%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRQIhALlYAV-tnVxTO8kAgAN_n_gSKaNmwLAihrRUjhQ__NWKAiAgR9V49fIl-auDoyxlUPPJER5fmoS1qs_s2QwY3fc-hQ%3D%3D Failed to recognize file format.
Exiting... (Errors when loading file)
But switching setting the show_video value to 1 lets the video play.
working fine with yewtube version : 2.9.0
mpsyt fails to play some videos, unless show_video is enabled.
Issue / Suggestion
when run with
mpsyt -d
,playurl https://www.youtube.com/watch?v=HbjWZIezTVs
returns:whereas after calling
set show_video 1
the result changes to:and the video begins to play as expected.
Your Environment