Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can the stream be converted to hls ? #50

Open
mu6m opened this issue Jan 8, 2023 · 2 comments
Open

can the stream be converted to hls ? #50

mu6m opened this issue Jan 8, 2023 · 2 comments

Comments

@mu6m
Copy link

mu6m commented Jan 8, 2023

the stream keeps increasing the flv file size other than that hls is capable for transferring media on lots of platforms

should we convert the flv stream to hls or is there a way to implement it in the code

@yutopp
Copy link
Owner

yutopp commented Jan 8, 2023

The file size will increase whether rtmp or hls when archiving, what is your thinking?

If you want to transfer media with generic format without archiving, you can use HLS instead. However, go-rtmp has only features that encoding/decoding RTMP and FLV container format. Thus I thint that we need to re-pack or transcode such as AVC/AAC codec data in the containers to MPEG-2 TS by combining with other software.

@mu6m
Copy link
Author

mu6m commented Jan 9, 2023

the main point of me using hls instead of flv it to turn the stream into parts so i can delete the old parts of the stream

can go-rtmp be implemented in the example you gave in the repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants