Closed MatteoBuffo closed 1 year ago
Hello, I am trying to do the same thing. Did you manage to solve how to transcode a livestream? If so can you please tell me how?
Hi @ozdoganoguzhan. After several tries, I eventually switched to a Java implementation via ffmpeg-cli-wrapper.
Thank you for the fast response! I guess I'll look at other implementations aswell.
Hi. My goal is to run the equivalent of this command:
ffmpeg -i "https://bitmovin-a.akamaihd.net/content/dataset/multi-codec/hevc/stream_fmp4.m3u8" -c:a copy -c:v libx264 -f hls -hls_flags append_list ./out/master_playlist.m3u8
that is:
How may I achieve it?
Launching the
ffmpeg -protocols
produces:so I guess I should add the HTTP(S) protocols. I tried it by adding
--enable-openssl
/--enable-gnutls
/--enable-libtls
(one of them per time) in the FFMPEG_COMMON_ARGS inMakefile
, then launched the Docker command, thencp -a /mnt/{.git,build,Makefile} . && source /root/emsdk/emsdk_env.sh && make && cp ffmpeg*.js /mnt
. At a certain point of themake
, it stops with:What to do now? I also tried to do
apt-get install libssl-dev
(for openssl)apt-get install libgnutls28-dev
(for gnutls)but it fails (the mirrors are probably broken). Tried both on Ubuntu 18.04 and Windows 10 (with the Docker container being Ubuntu 19.10). Any suggestion would be appreciated.