x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Live Stream in UE4

I know that I can Media stream in UE4 and i am doing exact that.

But is there any way to play a Live Stream video in UE4 Media Stream. ?

Product Version: UE 4.15
Tags:
more ▼

asked May 04 '17 at 08:14 PM in Blueprint Scripting

avatar image

AnkitPassi
24 6 7 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Stream from VLC as the following:

set your path to be /folder/play.asf "http"

your stream output settings should be: ASF/WMV , set video output to MJEPG with your desired bitrate, disable audio- optional. and then load in media player "http://localip:8080/folder/play.asf/"

localip should be 192.16*.. .. etc..

more ▼

answered May 06 '17 at 12:31 PM

avatar image

Ryderizm
16 1 3

avatar image AnkitPassi May 06 '17 at 02:15 PM

i want to set up a Live stream for AndroidMedia , according to documentation , only .mp4 , ..3gpp , .aac , .m3u8 is supported for android media player.

Upon changing streaming settings to : path : /folder/play.mp4 encapsulation : H.264 +Mp3 (Mp4) (Epic is recommending to use this standard) video codec : H-264

it is not playing !

any changes you want to suggest ?

thanks

avatar image Ryderizm May 07 '17 at 02:59 PM

Sadly, the stream did not work with MP4 with me... but i'm pretty sure VLC has problems with codecs.. I believe you have to download VLC codecs just before streaming.. Because i tried to stream to http and let a different VLC window read the stream but it fails.. so UE4 will also fail.. basically try to stream to yourself. if it did not work that means missing codecs or there's no way to livestream in MP4 format... WMV stream only worked with me. sorry i tried.. and if you managed to stream to in .mp4 please tell me because i'm having the same problem.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

HOLY CRAP!!!!!

I SOLVED IT!!! I used Twitch, I assume YouTube will work similarly but I will teach with Twitch!!

So use OBS or other streamer of choice to stream to Twitch.

So hear me out!! You have to use also install the VLC Media Framework plugin for Unreal Engine 4. This is the 4.18 port. https://github.com/ue4plugins/VlcMedia

Grab your desired profile URL while streaming and enter it here to get the .m3u8 stream: https://pwn.sh/tools/getstream.html

Right click 1080p60 (or whichever of your choice and press Copy Link Address.

You should get a massive URL like:

https://video-weaver.fra02.hls.ttvnw.net/v1/playlist/CsAC1qzOdMs8Y5g6iuLKHQ2AaRGBMI22Cot1BlO4bgaymW7RzZSrvilF-NNypjV_nPgeMohePUmoOeuNCTYav0K044YfJUzMgXmNIKiKc72E5C6Y6-43C3iT4ypYJzJXymU7m3wTD0kZVScHsBDkIIKoe4VkBWI9vmFYTqQTYf1-gaE9lVDwMkXXLKf7N-mR85WmoWTC-aLDyvSdxoiXmSUkewnQKzcY7Tn2gdWgLBpNEf7kS5TqVwdlsGG8tIPyt_C9i3wGb_YSXaizBG_SVaNG-cy2WbrBQQLYpZUM2H2E-gPtJNnAVXD3FfN1oHY4HJDiOy-HBrDReYUlVOAxwrha1CNBrxDRA1RLoZ1oM07xfeSWYoH9zoqanfdWs-8iX2HGMCgRC1eqxOBYL4Kz1tRIphFWNnPpB_UKBirOykZtcQ0SEOqHDad5kSmzuw57O1RJjRsaDB307BXLfhNUVwpZ6Q.mp4

Rename this to have .mp4

https://video-weaver.fra02.hls.ttvnw.net/v1/playlist/CsAC1qzOdMs8Y5g6iuLKHQ2AaRGBMI22Cot1BlO4bgaymW7RzZSrvilF-NNypjV_nPgeMohePUmoOeuNCTYav0K044YfJUzMgXmNIKiKc72E5C6Y6-43C3iT4ypYJzJXymU7m3wTD0kZVScHsBDkIIKoe4VkBWI9vmFYTqQTYf1-gaE9lVDwMkXXLKf7N-mR85WmoWTC-aLDyvSdxoiXmSUkewnQKzcY7Tn2gdWgLBpNEf7kS5TqVwdlsGG8tIPyt_C9i3wGb_YSXaizBG_SVaNG-cy2WbrBQQLYpZUM2H2E-gPtJNnAVXD3FfN1oHY4HJDiOy-HBrDReYUlVOAxwrha1CNBrxDRA1RLoZ1oM07xfeSWYoH9zoqanfdWs-8iX2HGMCgRC1eqxOBYL4Kz1tRIphFWNnPpB_UKBirOykZtcQ0SEOqHDad5kSmzuw57O1RJjRsaDB307BXLfhNUVwpZ6Q.mp4

Enter this URL to the StreamMediaSource URL. Under Platforms, switch Windows from Windows Media Foundation (WmfMedia) to VideoLANPlayer (VLCMedia), and voila!!!

:D I am so happy right now!

more ▼

answered Dec 23 '17 at 06:56 AM

avatar image

RealAero
21 3 5 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

You need to use a StreamMediaSource for this. Set the URL field to the address of the stream.

Not all platforms support the same streaming protocols and video codecs. Check first two tables on the Media Framework Technical Reference for supported combinations.

VlcMedia is not included on that page as it is not an officially supported plug-in. However, It probably has the best support of all the plug-ins and should be able to consume pretty much anything. Anything that will work in VLC Player should also work in the VlcMedia plug-in. The only exception that I know of is YouTube, because VLC Player implements some custom YouTube container parsing code in Lua that is not part of the LibVLC core libraries, and I haven't had time to port it to UE4 yet.

more ▼

answered May 10 '17 at 07:01 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question