Comments (6)
Please try again, I pushed 64b86df to master which might fix the problem.
from hlsdl.
Hi, Thank you for the quick response and reply. But now, getting following error:
$ make
cc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iincludes -DPREFIX='"/usr/local"' -c src/main.c -o src/main.o
cc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iincludes -DPREFIX='"/usr/local"' -c src/aes_openssl.c -o src/aes_openssl.o
cc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iincludes -DPREFIX='"/usr/local"' -c src/curl.c -o src/curl.o
src/curl.c: In function ‘get_data_from_localfile’:
src/curl.c:179:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (fread(out, 1, readsize, fp) != readsize) {
^~
cc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iincludes -DPREFIX='"/usr/local"' -c src/hls.c -o src/hls.o
src/hls.c:106:5: warning: no previous prototype for ‘is_playlist_FPS’ [-Wmissing-prototypes]
int is_playlist_FPS(char source)
^~~~~~~~~~~~~~~
src/hls.c: In function ‘is_playlist_FPS’:
src/hls.c:108:12: warning: return makes integer from pointer without a cast [-Wint-conversion]
return strstr(source, "KEYFORMAT="com.apple.streamingkeydelivery"");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/hls.c: In function ‘last_strstr’:
src/hls.c:150:16: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
return (char*)haystack;
^
src/hls.c: In function ‘sample_aes_decrypt_audio_data’:
src/hls.c:893:27: warning: to be safe all intermediate pointers in cast from ‘uint8_t ** {aka unsigned char **}’ to ‘const uint8_t ** {aka const unsigned char **}’ must be ‘const’ qualified [-Wcast-qual]
while (get_next_frame((const uint8_t **)&audio_frame, end_ptr, &frame_length)) {
^
src/hls.c: In function ‘hls_playlist_update_thread’:
src/hls.c:1161:5: warning: implicit declaration of function ‘prctl’ [-Wimplicit-function-declaration]
prctl(PR_SET_NAME, (unsigned long)&threadname);
^~~~~
src/hls.c:1161:11: error: ‘PR_SET_NAME’ undeclared (first use in this function)
prctl(PR_SET_NAME, (unsigned long)&threadname);
^~~~~~~~~~~
src/hls.c:1161:11: note: each undeclared identifier is reported only once for each function it appears in
make: *** [makefile:47: src/hls.o] Error 1
Kindly help. Thank you and regards.
from hlsdl.
Please try again with latest master. Might still need a few more fixes.
from hlsdl.
I'm able to compile and able to download. But,
In linux, i'm can do "./hlsdl -v "https://www.taikr.com/hls/13929/playlist/sZY6cmGCdLAzhYZny1TLxsoCGWGIaHvF.m3u8" -o "1.ts"
In windows, only able to download with:
"hlsdl -v "https://www.taikr.com/hls/13929/playlist/PBQdcUl5ymlXRojht9nhKZkQJJ7qNcEj.m3u8"" with downloaded filename as "000_hls_output.ts"
I tried with "-o" but can't. What could be the issue?
Thank you for your time. Regards.
from hlsdl.
Hi, It's seems can do the following in Windows and it works,
hlsdl -v -o "1.ts" "https://www.taikr.com/hls/13929/playlist/gTzvH2ifRcha6LE8qS5AIDDg6yezGKQV.m3u8"
Meaning windows strictly following your preset usage rules:
Usage: hlsdl [options] url
I would say this issue is settled. Thank you for your time. Appreciate it. Regards.
from hlsdl.
Good to hear.
from hlsdl.
Related Issues (20)
- How to get "skd://***" key? HOT 1
- NAL size after decryption is grater than before HOT 1
- Can't Choose 0 as option for audio HOT 3
- -bash: ./hlsdl: is a directory
- HLS stream is DRM protected HOT 1
- A more detailed step by step instulation giude HOT 1
- [Feature] Mirror mode
- Failed to Decrypt HOT 1
- failed http_code[400] HOT 3
- File output options HOT 1
- Problem recording the Audi of a live stream
- How to change output file name so I can download multiple videos at the same time? example please HOT 1
- missing DLL errors at the very last command in hlsdl/msvc/BUID_WINDOWS.txt guide HOT 2
- Error compile HOT 1
- Warning: Unknown segment type! AAC file HOT 3
- Getting Pieces But Downloading Everything*Pieces
- Add an option to read url from file
- Exit on "Fail to update playlist"
- help HOT 1
- Help with static build for Linux
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hlsdl.