Sorry for the some basic question but I'm a newbie to FFMPEG. Need to
transcode UDP to HLS. used this command:
ffmpeg -vsync 0 -hwaccel cuda -c:v h264_cuvid -resize 1280x720 -i 'udp://
22.214.171.124:10008?pkt_size=1316&localaddr=10.10.71.55' -ignore_unknown -c:a
copy -c:v hevc_nvenc -b:v 3M -map 0 -map -0:4 -hls_time 10 -hls_list_size 1
-f hls /live/bd.m3u8
The bd.m3u8 file was created, so a bunch of .ts files. all in my remote
server running Ubuntu 18.04 Server that I access by ssh. Now, how can I
open that file and watch the stream on my laptop with the VLC? Do I need
some NGNIX or Apache server or FFMPEG can do the job?
> Now, how can I open that file and watch the stream on my laptop with the VLC?
> Do I need some NGNIX or Apache server or FFMPEG can do the job?
Yes, HLS stands for http live streaming, you will need to serve the files over http somehow. Doesn't have to be apache or nginx, I think there's a rudimentary webserver in the python examples for instance.