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

This Project can transfer ( HLS input to RTMP output ), and ( HLS input to HLS output )?? #2

Open
coolcjg opened this issue Jun 4, 2020 · 1 comment

Comments

@coolcjg
Copy link

coolcjg commented Jun 4, 2020

I'm not good at english...

I run SMS program.

It's good program for understanding rtmp, rtsp, hls process!!!

I use raspberry pi webcam for input stream.

input : rtmp (ex : ffmpeg -thread_queue_size 21 -i /dev/video0 -f lavfi -f alsa -i hw:1 -f flv -c:v libx264 -c:a libfdk_aac -vb 1500k -s 640x360 -ar 44100 -r 30 rtmp://192.168.0.41:1935/live/xxx)

output : rtmp (In VLC player, I can play Live streaming video.)

It works GOOD!!!

But!!

I tried HLS input and HLS output, it doesn't work....

(ex: ffmpeg -thread_queue_size 21 -i /dev/video0 -f lavfi -f alsa -i hw:1 -f hls -hls_time 4 -c:v libx264 -c:a libfdk_aac -vb 1500k -s 640x360 -ar 44100 -method POST -r 30 -hls_playlist_type event http://192.168.0.41:5080/live/aaa.flv/playlist.m3u8)

Input connection completed, and input data go to the SMS server.

When I play Live steaming video(http://192.168.0.41:5080/live/aaa.flv/playlist.m3u8) in VLC Player, SMS Server displays "File was null or did not exist".

Question.

  1. SMS project has function ? -> [hls input -> hls output]

  2. SMS project has function ? -> [RTMP input -> hls output]

Thanks!!!!!

@pengliren
Copy link
Owner

Does not support hls input

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