HLS remote playback

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

HLS remote playback

lealpa
Hello everyone!

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://
230.8.0.13: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?

Thanks!

LP
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: HLS remote playback

kumowoon1025
Hi,

> 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.

For the client yes FFmpeg can just take an http scheme url as input, i.e. ffmpeg -i http://hostname/path/to/playlist.m3u8 ...

Regards,
Ted Park

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".