YouTube Feed Is Failing :-(
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
YouTube Feed Is Failing :-(
Based on my troubleshooting, this is the root-cause
DEBUG 2020-04-10 17:54:19.625 [ffmpeg-26-2] https://www.youtube.com/watch?v=ytKCcYxUU04: Invalid data found when processing input
Very easy to reproduce, as I'm using https://hub.docker.com/r/universalmediaserver/ums
The following command fails if run inside container
$ docker exec -it ums sh
/usr/src/ums # /usr/bin/ffmpeg -y -loglevel warning -i https://www.youtube.com/watch?v=CXppgJdoM0g -c:v libx264 -profile:v high -level:v 3.1 -c:a libmp3lame -ac 2 -pix_fmt yuv420p -preset ultrafast -f matroska /tmp/ffmpegwebvideo_166_1586538419455
https://www.youtube.com/watch?v=CXppgJdoM0g: Invalid data found when processing input
Possibly YouTube changed something recently.
Is it possible to use youtube-dl in place of ffmpeg, which seems to be more stable for this purpose?
Cheers,
SR
DEBUG 2020-04-10 17:54:19.625 [ffmpeg-26-2] https://www.youtube.com/watch?v=ytKCcYxUU04: Invalid data found when processing input
Very easy to reproduce, as I'm using https://hub.docker.com/r/universalmediaserver/ums
The following command fails if run inside container
$ docker exec -it ums sh
/usr/src/ums # /usr/bin/ffmpeg -y -loglevel warning -i https://www.youtube.com/watch?v=CXppgJdoM0g -c:v libx264 -profile:v high -level:v 3.1 -c:a libmp3lame -ac 2 -pix_fmt yuv420p -preset ultrafast -f matroska /tmp/ffmpegwebvideo_166_1586538419455
https://www.youtube.com/watch?v=CXppgJdoM0g: Invalid data found when processing input
Possibly YouTube changed something recently.
Is it possible to use youtube-dl in place of ffmpeg, which seems to be more stable for this purpose?
Cheers,
SR
Last edited by sr007 on Fri Apr 17, 2020 1:23 am, edited 1 time in total.
Re: YouTube Feed Is Failing :-(
Yes we definitely want to start using youtube-dl, and we would welcome a Pull Request for that if you want to try 
