Playing a youtube video
Hi there,
great product you have there with PiSignage - we're looking into it to deploy some informative screens in our community.
I've tried playing youtube videos copy and pasting the link but it doesn't play....
Any hints ?
Thanks
Michael
-
Thanks Michael
Normally player logs (use tail -200 /home/pi/forever_out.log from piShell or ssh to view) indicate the reason. We also do not cache the URL and it is loaded everytime.
Also you could issue the following command to update the program to latest
sudo -H pip install --upgrade youtube-dl
-
I have suddenly started having the same problem. I was able to play Youtube videos a week or so ago and now they aren't playing. I have updated to the latest software. Here are my logs..
stdout: 7 Jan 15:28:15 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:15 - info: livestreamer/ydl error ERROR: mn5Br71XXtY: YouTube said: Unable to extract video data 7 Jan 15:28:16 - info: executing shell command: tail -200 /home/pi/forever_out.log 7 Jan 15:28:27 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:28:31 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:31 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:31 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:31 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:31 - info: livestreamer/ydl error ERROR: 7Hx2PKN40c8: YouTube said: Unable to extract video data 7 Jan 15:28:33 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:28:37 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:37 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:37 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:37 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:37 - info: livestreamer/ydl error ERROR: ZbKDvMaMjHA: YouTube said: Unable to extract video data 7 Jan 15:28:39 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:28:43 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:43 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:43 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:43 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:43 - info: livestreamer/ydl error ERROR: mn5Br71XXtY: YouTube said: Unable to extract video data 7 Jan 15:28:55 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:28:59 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:59 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:59 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:59 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:28:59 - info: livestreamer/ydl error ERROR: 7Hx2PKN40c8: YouTube said: Unable to extract video data 7 Jan 15:29:01 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:29:05 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:05 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:05 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:06 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:06 - info: livestreamer/ydl error ERROR: ZbKDvMaMjHA: YouTube said: Unable to extract video data 7 Jan 15:29:07 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:29:11 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:11 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:11 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:11 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:11 - info: livestreamer/ydl error ERROR: mn5Br71XXtY: YouTube said: Unable to extract video data 7 Jan 15:29:23 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:29:27 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:27 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:27 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:28 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:28 - info: livestreamer/ydl error ERROR: 7Hx2PKN40c8: YouTube said: Unable to extract video data 7 Jan 15:29:29 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:29:33 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:33 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:33 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:34 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:34 - info: livestreamer/ydl error ERROR: ZbKDvMaMjHA: YouTube said: Unable to extract video data 7 Jan 15:29:35 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:29:39 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:39 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:39 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:40 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:40 - info: livestreamer/ydl error ERROR: mn5Br71XXtY: YouTube said: Unable to extract video data 7 Jan 15:29:51 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:29:55 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:55 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:55 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:56 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:29:56 - info: livestreamer/ydl error ERROR: 7Hx2PKN40c8: YouTube said: Unable to extract video data 7 Jan 15:29:57 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:30:01 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:01 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:01 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:02 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:02 - info: livestreamer/ydl error ERROR: ZbKDvMaMjHA: YouTube said: Unable to extract video data 7 Jan 15:30:03 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:30:07 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:07 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:07 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:08 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:08 - info: livestreamer/ydl error ERROR: mn5Br71XXtY: YouTube said: Unable to extract video data 7 Jan 15:30:19 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:30:23 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:23 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:23 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:24 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:24 - info: livestreamer/ydl error ERROR: 7Hx2PKN40c8: YouTube said: Unable to extract video data 7 Jan 15:30:25 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:30:29 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:29 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:29 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:30 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:30 - info: livestreamer/ydl error ERROR: ZbKDvMaMjHA: YouTube said: Unable to extract video data 7 Jan 15:30:31 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:30:35 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:35 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:35 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:36 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:36 - info: livestreamer/ydl error ERROR: mn5Br71XXtY: YouTube said: Unable to extract video data 7 Jan 15:30:47 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:30:51 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:51 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:52 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:52 - info: livestreamer/ydl error WARNING: unable to download video info webpage: HTTP Error 429: Too Many Requests 7 Jan 15:30:52 - info: livestreamer/ydl error ERROR: 7Hx2PKN40c8: YouTube said: Unable to extract video data 7 Jan 15:30:53 - info: livestreamer/ydl error WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. 7 Jan 15:30:56 - info: executing shell command: tail -200 /home/pi/forever_out.log
Please sign in to leave a comment.
Comments
5 comments