Skip to content

Curler - to Curl a bunch of Adaptive Bitrate Streaming URLs and see if they are up or not.

Notifications You must be signed in to change notification settings

shahzadlone/ABR_Curler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABR (Adaptive Bitrate Streaming) Curler

Curls and Checks any MPEG-DASH(Dynamic Adaptive Streaming over HTTP) and HLS(HTTP Live Streaming) URLs to see if they are up or not.


Builds:

gcc Curler.c -Llibs/ -Ithird_party -lxml2 -lcurl -o curler -Wl,-rpath=libs/ && echo $?

Usage:

Takes one argument: [Path-To-File-With-The-URLS]
WHERE:
      [Path-To-File-With-The-URLS]: path to the file that contains all the URLs to the MPDs and M3Us on seperate lines.

Examples:

[ ./curler URLs ]
[ ./curler URLs 2>/dev/null ] (Try this for a cleaner output)

Note: If curling takes more than 3 seconds for any URL, program shows it's down. (Easily Configurable)

Sample Output


Extra:

  • Add 2>/dev/null to omit the std error output and get a cleaner output.
  • Use sort URLs | uniq --count to find if there are duplicates.
  • If a line in the input file is not a URL then it is printed in yellow (as a comment).

FAQ:

Q1) If Compilation Gives Some RTMP Linker Errors (shouldn't happen anymore). Try sudo ln -s /usr/lib/x86_64-linux-gnu/librtmp.so.1 /usr/lib/x86_64-linux-gnu/librtmp.so.0

About

Curler - to Curl a bunch of Adaptive Bitrate Streaming URLs and see if they are up or not.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages