mps-youtube / yewtube

yewtube, forked from mps-youtube , is a Terminal based YouTube player and downloader. No Youtube API key required.
GNU General Public License v3.0
7.98k stars 643 forks source link

Some music videos are not playing at all #1231

Closed muttleyxd closed 1 year ago

muttleyxd commented 1 year ago

Issue / Suggestion

As title states, most of music videos play fine, but I found several videos, which don't start playback at all. Few cases that reproduce for me:

yt playurl "https://www.youtube.com/watch?v=xtLxz01O9YI"
yt playurl "https://www.youtube.com/watch?v=3-Das2Z0xhk"
yt playurl "https://www.youtube.com/watch?v=isOA_NarKbY"

I noticed that these problematic videos are on not so popular channels.

Your Environment

My OS is Arch Linux.

Here's yt version info:

$ yt --version
yewtube version    : 2.10.2
yt_dlp version     : 2023.03.04
Python version     : 3.10.10 (main, Mar  5 2023, 22:26:53) [GCC 12.2.1 20230201]
Processor          : 
Machine type       : x86_64
Architecture       : 64bit, ELF
Platform           : Linux-6.2.9-273-tkg-pds-x86_64-with-glibc2.37
sys.stdout.enc     : utf-8
default enc        : utf-8
Config dir         : /home/muttley/.config/mps-youtube
dbus               : 1.2.18
glib               : True
env:TERM           : xterm-256color
env:SHELL          : /usr/bin/fish
env:LANG           : en_US.utf8

and here's yt config:

 Key                 Value                                                                                                   
  order             : relevance                   
  user_order        :                             
  max_res           : 2160p                       
  player            : mpv                         
  playerargs        : --video=no                  
  encoder           : 0 [None]                    
  notifier          :                             
  checkupdate       : True                        
  show_player_keys  : True                        
  fullscreen        : False                       
  show_status       : True                        
  always_repeat     : False                       
  columns           :                             
  ddir              : /home/muttley/Downloads/mps 
  overwrite         : True                        
  show_video        : False                       
  search_music      : True                        
  window_pos        :                             
  window_size       :                             
  download_command  :                             
  lookup_metadata   : True                        
  lastfm_username   :                             
  lastfm_password   :                             
  lastfm_api_key    :                             
  lastfm_api_secret :                             
  audio_format      : auto                        
  video_format      : auto                        
  pages             : 3                           
  autoplay          : False                       
  set_title         : True                        
  mpris             : True                        
  show_qrcode       : False                       
  history           : True                        
  input_history     : True                        
  vlc_dummy_interface : False                       
  show_subtitles    : True                        
iamtalhaasghar commented 1 year ago

Probably because our systems are missing some multimedia codecs which these old videos need. Closing, as this issue is not due to a bug in yewtube.

P.S: i cant even play these in browser, can you?

muttleyxd commented 1 year ago

i cant even play these in browser, can you?

I can, works fine both in newest Firefox and Chrome

iamtalhaasghar commented 1 year ago

I can, works fine both in newest Firefox and Chrome

can you play these in vlc?