Files
mp-qvyun/backend
2024-12-08 01:21:04 +08:00
..
2024-12-08 01:21:04 +08:00
2024-12-07 18:48:05 +08:00
2024-11-28 23:18:11 +08:00
2024-12-06 15:06:15 +08:00
2024-12-08 01:21:04 +08:00
2024-12-05 11:32:00 +08:00
2024-12-08 01:21:04 +08:00
2024-12-08 01:21:04 +08:00
2024-11-29 17:05:05 +08:00
2024-11-28 23:18:11 +08:00
2024-12-07 23:20:30 +08:00
2024-12-08 01:21:04 +08:00
2024-12-05 18:57:49 +08:00
2024-12-05 18:57:49 +08:00
2024-11-29 20:28:37 +08:00
2024-12-07 18:48:05 +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