Stream HLS but with HEVC CODEC? How Do I Set It Up?

Mark Weiss

Member
I just updated to OBS 30 and now my settings menu won't open.

1701032661257.png


I waited several minutes and the Settings menu finally opened.\

It is interesting that the Intel iGPU is available for streaming but not for the recording option.
I was able to set recording to HLS using nvenc, but I don't like that option because when I'm doing heavy 3D work or running AI diffusion models and the program runs out of VRAM, OBS crashes. When I run OBS on he iGPU, OBS doesn't crash when my other programs run out of VRAM.

1701033320064.png



On streaming, there is an HLS option, but only for Youtube, local server HLS folder:

1701033539049.png


Maybe in version 31?
 
Last edited:

rockbottom

Active Member
I have no info on your PC, need a OBS log or try

 

Mark Weiss

Member
I have no issues with v30, if you have plug-ins make sure they are compatible before you upgrade. If not, remove them prior.

Nope, never said I streamed in H265 only that it is possible with MistServer. You will need to confirm that it works as I'm not making any system changes to test further.
I'm going to have to take some time and digest the MistServer documentation and start playing with it. Took me four years to get nginx working properly! Hopefully this one's is a bit easier to set up.

I feel that OBS is soooo close to being able to do this soon. If it could run on the iGPU for this FFmpeg custom record out to HLS, I'd be pretty happy as it is. I'm getting decent quality at 512kbps 1080p/24.


1701034774083.png
 
Last edited:

rockbottom

Active Member
Cool, Gen 6 & older are no longer supported with v30 but I now realize you were talking about QSV not being available in the Custom Output only & not the Standard/Simple Modes.

I read that it wasn't possible but maybe that was due to the older iGPU's still being supported but now that they are out of the way.... AV1 got added to it so there may be hope.
 

Mark Weiss

Member
Mainly, the problem is shared resources (why I prefer to run OBS on the iGPU). When I'm running Stable Diffusion and run out of VRAM, not only SD crashes, but it takes down OBS with it. Since I've been using the iGPU to encode streams on OBS, it no longer crashes when SD runs out of VRAM on the RTX card.
My guess is the lack of iGPU support in the custom settings is due to FFmpeg not supporting is. Am I correct on this assumption?

BTW, I found a disadvantage of using the Record function to stream HLS: my Linksys router randomly reboots (no one has ever found a solution--I even replaced it with a new one) and OBS stopped streaming with an "out of disc space" error. I had to manually intervene.
Normally when OBS is streaming RTMP, it doesn't even notice when the router reboots.
I really do wish OBS would add HLS to the Stream menu, so I don't have to use this hack around.
 

Mark Weiss

Member
BTW, when I use an HEVC CODEC to stream HLS in OBS, the file size of each chunk drops to 40k. If I play one of the chunks in VLC, it's audio only. So for some reason, OBS isn't encoding the video when the HEVC CODEC is selected. I wonder why? I thought it was my browser, but there is in fact, no video in the stream fragments.


This post describes my problem by someone else:


So possibly a bug in FFmpeg is not writing the video to the fragment files.
 
Last edited:

rockbottom

Active Member
Yep, your system is being put to the fire, not enough of anything to do what you're trying to do. I personally wouldn't run the AI while using OBS. I'd run it on my NAS.

That's what I read, not compatible with FFMPEG but that was about a year ago.

Not enough testing on my end to know for sure, my testing with streaming H265/HLS is limited to the testing I did earlier. It's not something I would do anyway as I use the Custom Out to record.
 

Mark Weiss

Member
I wanted to build a new system this year, but don't have the $$$ to do it.

I'm playing with MistServer now and looking at the supported protocols. I don't see h.265/HEVC
1701047220155.png
 

rockbottom

Active Member
I guess if you choose to take the scenic route. I'm not calling shotgun.

There is a manual that makes life much easier & if you dig around on the MS site a step by step guide to set it up for OBS.
 

Mark Weiss

Member
The 80 page manual is very technical and assumes some level of knowledge. It's going to take me a while to trial and error figure things out.

Their UI is on port 4242, and I just took a guess that I needed localhost:4242 and I got in. But I thought RTMP was normally on a different port. Not sure if that's separately configurable.
 
Last edited:

Mark Weiss

Member
There is insufficient documentation.

Missing is:

How to tell MistServer where the HLS folder is.

Why there has to be a push source.

It's up and running, but OBS can't stream to it:
1701127866910.png

1701128600677.png


I've gone this far, but it's not working.
1701127972336.png


With the nginx RTMP server, I didn't specify the IP address of the originating OBS streamer. But I did specify the HLS folder location.
I can't find an equivalent setting in MistServer. It's either hidden, or it lacks it.

Too bad their documentation on setting up an OBS stream is so incomplete. It seems to focus on streaming from FILES on a local folder, and not a network location.


1701128168125.png

Says the RTMP protocol is unavailable.

1701128239731.png



If there were a user group where I could get support, I might be able to get this working, but that website has little in the way of in-depth setup.
 

rockbottom

Active Member
Mark, take the time & read the manual dude. It's not that hard to figure it out. Section 3.

Anyway, put your pointer on the Source window & look on the right of the page. File, Push & Pull input information will appear. You'll need to figure out how to stream HLS as I have no use for it.
 
Last edited:

Mark Weiss

Member
Tech support responded:
1701188281681.png


So that settles that. No support for what I am trying to do.

The manual doesn't show any screen shots of where to enter information, it just shows various strings, but I have no clue where that stuff gets entered.
 

rockbottom

Active Member
Honestly I have no idea what you are trying to do. As noted above & as I thought you knew (thread title) H265 won't stream over RTMP, you need to use HLS. So you should get back to them, let them know you're on Windows & using v2.18.1.
 
Top