YouTube Feed Is Failing :-(
Posted: Sat Apr 11, 2020 6:24 am
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