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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -