It is currently Fri Dec 13, 2024 6:49 pm


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: What kind of streaming protocol is the following technique o
PostPosted: Fri Apr 29, 2022 12:12 pm 
Newbie
Newbie

Joined: Thu Apr 14, 2022 12:53 pm
Posts: 8
Hi

Many people were looking for live streaming solution on a web page. I want to share the following knowledge after doing so many researches and having spent so many time.

Run the following command line.

ffmpeg -y -rtsp_transport udp -i "my_rtsp_url" -vcodec libx264 -listen 1 -movflags isml+frag_keyframe -f mp4 http://ip_address:port_nr/test.mp4
Add the following HTML video tag to your web page.

<video controls autoplay>
<source src="http://ip_address:port_nr/test.mp4" type ="video/mp4">
</video>
Now you can start live-streaming on your web page.

My question:

In general for a video playback, the browser loads the whole video file test.mp4 first and then just starts playing the video.

With the above technique, how can FFMPEG keep pushing video frames to the video source of the HTML without having a complete video file first?

Or

Video source of the HTML keeps pulling frames from the FFMPEG server?

Does anyone know how it omegle works? I am not looking for a streaming solution. I want to understand how these two work echatspin together?


Last edited by Billy3 on Wed May 18, 2022 5:37 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: What kind of streaming protocol is the following techniq
PostPosted: Fri Apr 29, 2022 4:34 pm 
Newbie
Newbie

Joined: Sun Oct 31, 2021 5:54 am
Posts: 10
Hello,

Please note that this is a forum for our hosting and in general we do not offer web developing services or have the knowledge to answer most of the questions on this matter. You might find more information in web developers' forums instead. Thank you for your understanding.

Best Regards,
Irene Sutton
ModeratorsTeam
Freehostia.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011