linux - How to pass http headers using ffmpeg to play streaming? -


i need take screenshot streaming with:

ffmpeg -y -ss 00:00:05 -i "http://xxxxx/live/767.ts" -vframes 1 -q:v 2 "/var/www/iptv/screenshots/file.jpg" 

most cases received message saying:

"server returned 401 unauthorized (authorization failed)".

but, when running using vlc or kodi, url playing ok!

this restriction on streaming webserver blocking access request without header.

i have checked ffmpeg documentation , found no information streaming headers.


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -