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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -