Can't Use Ome with HLS (or LLHLS) stream #1662
Replies: 3 comments 6 replies
-
Afaik ome doesn't support his ingest, especially not like you're trying to
do. Use rtmp and make sure your ports are forwarded properly
…On Tue, Jul 16, 2024 at 05:04 antonymarion ***@***.***> wrote:
*Describe the bug*
I start Ome Engine with Docker then I stream an hls stream using ffmpeg
then I can't load it with OvenMediaPlayer
*To Reproduce*
Steps to reproduce the behavior:
1. docker run -d \ -p 1935:1935 \ -p 3333:3333 \ -p 3334:3334 \ -p
3478:3478 \ -p 9000:9000 \ -p 9999:9999/udp \ -p 4000:4000/udp \ --name
ovenmediaengine \ airensoft/ovenmediaengine:latest
2. ffmpeg -v verbose -stream_loop -1 -re -i ./filename.m3u8 -c:v copy
-c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a
aac_adtstoasc -bufsize 3000k -f hls
https://ome.your_domain_or_localhost.net:1935/app/llhls.m3u8
3. Launch OvenMediaplayer over https://ome.your_domain_or_localhost.net
with url hls
*Expected behavior*
It should show the hls stream
*Logs*
On Portainer I can see the following logs over OvenMediaEngine, but
nothing else
image.png (view on web)
<https://github.com/user-attachments/assets/160c14b9-1e13-4334-ace3-967522f1ebcc>
On ffmpeg in verbose mode, I do not see the frames sent to ovenMediaEngine
whereas on a test server (
https://ffmpeg-hls-test.datastream.tebi.io/test.m3u8) with the same
ffmpeg command I can see them
image.png (view on web)
<https://github.com/user-attachments/assets/5dff4609-df37-4c07-9359-75f9e049bc06>
*Server (please complete the following information):*
- OS: Windows
- OvenMediaEngine Version: latest
- Branch: main
*Player (please complete the following information):*
- Device: PC
- OS: Windows
- Browser Chrome
*Additional context*
Add any other context about the problem here.
—
Reply to this email directly, view it on GitHub
<#1661>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABV4BWLCLBQOYAEGKQLE3XLZMQTNNAVCNFSM6AAAAABK5GUEYWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYDSNJSGU4DANQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Maybe it can, but I'm not familiar with how it works if it does
Try rtmp
…On Tue, Jul 16, 2024 at 14:18 antonymarion ***@***.***> wrote:
Not sure to understand, you mean that OME cannot take an HLS stream as an
input?
—
Reply to this email directly, view it on GitHub
<#1662 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABV4BWLV6IKT5ZBFHPKQHBTZMSUJVAVCNFSM6AAAAABK5Z4FTGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBVHAYDCNI>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
3 replies
-
You have a typo in your ffmpeg command. You might get better feedback for
testing using a gui program like obs, it would immediately tell you if you
can connect or not. I'm not sure ffmpeg does the same
Aside from the typo, your playback url is incorrect. Check the documentation
https://airensoft.gitbook.io/ovenmediaengine/streaming/low-latency-hls#:~:text=if%20you%20use%20the%20default%20configuration%2C%20you%20can%20start%20streaming%20with%20the%20following%20url%3A
You are maybe confusing yourself naming your stream as llhls. I might
recommend changing it to something like "test123" or something. You'll also
get more useful information from the logs
…On Tue, Jul 16, 2024 at 14:58 antonymarion ***@***.***> wrote:
OK so that is my issue then.
Let's say I am working locally on localhost using Docker.
Here is my command for streaming, it works well:
ffmpeg -d -stream_loop -1 -re -i myVideo.mp4 -c copy -f flv -y
rtmp://localhostt:1935/app/llhls
Then what is the expected playback url in ovenplayer?
image.png (view on web)
<https://github.com/user-attachments/assets/cfe9a125-f3e1-4471-96e8-612fee330293>
Because the one above does not work for me
—
Reply to this email directly, view it on GitHub
<#1662 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABV4BWL7DLSGP5MX42NYTGLZMSZAVAVCNFSM6AAAAABK5Z4FTGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBVHAZDMMQ>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I start Ome with Docker then I stream an hls stream using ffmpeg then I can't load it with OvenMediaPlayer
To Reproduce
Steps to reproduce the behavior:
docker run -d \ -p 1935:1935 \ -p 3333:3333 \ -p 3334:3334 \ -p 3478:3478 \ -p 9000:9000 \ -p 9999:9999/udp \ -p 4000:4000/udp \ --name ovenmediaengine \ airensoft/ovenmediaengine:latest
ffmpeg -v verbose -stream_loop -1 -re -i ./filename.m3u8 -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 3000k -f hls https://your_domain_or_localhost.net:1935/app/llhls.m3u8
Expected behavior
It should show the hls stream
Logs
On Portainer I can see the following logs over OvenMediaEngine, but nothing else
On ffmpeg in verbose mode, I do not see the frames sent to ovenMediaEngine whereas on a test server (https://ffmpeg-hls-test.datastream.tebi.io/test.m3u8) with the same ffmpeg command I can see them
Server (please complete the following information):
Player (please complete the following information):
Additional context
Using the same ome server (deployed with docker or locally with docker) with rtmp and webRTC everything works fine
Beta Was this translation helpful? Give feedback.
All reactions