YouTube Feed Is Failing :-(

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
Posts: 1
Joined: Sat Apr 11, 2020 6:15 am

YouTube Feed Is Failing :-(

Post by sr007 »

Based on my troubleshooting, this is the root-cause

DEBUG 2020-04-10 17:54:19.625 [ffmpeg-26-2] Invalid data found when processing input

Very easy to reproduce, as I'm using

The following command fails if run inside container

$ docker exec -it ums sh
/usr/src/ums # /usr/bin/ffmpeg -y -loglevel warning -i -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 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?

Last edited by sr007 on Fri Apr 17, 2020 1:23 am, edited 1 time in total.
User avatar
Lead Developer
Posts: 3728
Joined: Sun May 27, 2012 4:12 pm

Re: YouTube Feed Is Failing :-(

Post by SubJunk »

Yes we definitely want to start using youtube-dl, and we would welcome a Pull Request for that if you want to try :)
Post Reply