Files
mp-qvyun/backend
2024-12-04 20:02:30 +08:00
..
2024-12-04 20:02:30 +08:00
2024-12-04 15:47:48 +08:00
2024-11-28 23:18:11 +08:00
2024-12-04 08:57:29 +08:00
2024-12-04 20:02:30 +08:00
2024-12-02 19:34:22 +08:00
2024-12-04 14:11:50 +08:00
2024-11-29 17:05:05 +08:00
2024-11-28 23:18:11 +08:00
2024-12-04 14:11:50 +08:00
2024-12-04 15:47:48 +08:00
2024-12-04 14:11:50 +08:00
2024-11-29 20:28:37 +08:00
2024-12-04 20:02:30 +08:00
2024-12-02 17:48:46 +08:00
2024-12-04 14:11:50 +08:00

https://github.com/etherlabsio/go-m3u8

https://github.com/FlashFeiFei/m3u8Transmit/blob/main/main.go

mp4 -> ts

ffmpeg -y -i video.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb video.ts

ts -> m3u8

ffmpeg -y -i video.ts -hls_time 10 -hls_segment_filename ./m3u8/s%d.ts ./m3u8/index.m3u8

mp4 to m3u8

ffmpeg -i input.mp4 -c:v libx264 -c:a aac -strict -2 -f hls output.m3u8