On Tue, 06 Jul 2021 09:00:47 +0200, Bo Berglund <bo.bergl...@gmail.com> wrote:

>Can this be done using youtube-dl or straight ffmpeg?

Self-answer:

It seems like this will do what I need:

eval "youtube-dl -F $VIDEOURL"
if [ $? -eq 0 ]
then
  exit 0
else
  exit 1
fi


-- 
Bo Berglund
Developer in Sweden

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to