Jump to content

How to stream from OBS to RTSP and watch on Emby without transcoding


Recommended Posts

YKEmbyMedia
Posted (edited)

Hi,

I use OBS studio to stream music video clips via mediamtx tool as RTSP server and want to watch it in Emby (Windows/Android) but I noticed the message about not supported container.

Can you help me make a proper stream setup that will not require this transcoding? Log is attached.

1) Setup for Streaming with OBS
image.png.1e3c506a683090cf51e53ede22343877.png

image.thumb.png.a0854d4b5109a5dde278591b7f68380c.png

image.png.c6adb3ff83aa7c35eb61193787e95045.png

On Emby added URL "rtsp://@192.168.0.10:8554/live" to IPTV plugin and see container conversion to HSL.

image.png.bebf47f42e0622623cc84047aaaca09a.png

 

2) Also tried using Recording 

image.thumb.png.00fa4bf27c6a16c58cbeadb635ab8904.png

 

The result is the same.

image.png.9e2f7cf1fa476b6d19111f30402c2bb9.png

 

Moreover, audio being played 192kbps instead of 256. I tested m3u file in SKPlayer and saw needed audio bitrate.
image.png.ca2848d3f1dee489185498d155a13f70.png

 

 

ffmpeg-directstream-9dacc8e5-db80-4b94-ab8f-3f68dc3afe9d_1.txt

Edited by YKEmbyMedia
Corrected title+fixed pictures
Posted

Hi, your example shows no transcoding. It is just being repackaged into a new container.

YKEmbyMedia
Posted

Not realy, the audio is transcoded to lower bitrate 192 instead of 256

http://192.168.0.5:8096/emby/videos/59613/live.m3u8?DeviceId=a70b6978-bfd4-4ff3-ba70-b3d7caa71bac&MediaSourceId=d4d1e6d4c37043b7b0a5835416574a18&PlaySessionId=b660fa2e1deb4eb1b712fbeabd8f51d5&api_key=52e1cdb531994eb18eda42c8389d7da6&VideoCodec=h264,h265,hevc,av1&AudioCodec=mp3,aac&VideoBitrate=159808000&AudioBitrate=192000&MaxWidth=3840&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=m4s,ts&MinSegments=1&BreakOnNonKeyFrames=True&SubtitleStreamIndexes=-1&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=62&hevc-codectag=hvc1,hev1,hevc,hdmv&TranscodeReasons=ContainerNotSupported

Also I tested streaming OPUS or LPCM audio and it is transcoded to AAC and MP3.

IPTV & M3U

image.png.ddcb293f76bf7738db1f9dae5b8b8a6c.pngimage.png.d6c61245494964ea3bf2fd57b961ccab.pngimage.png.1cb2359d1cda651a44e337b873a58e76.png

Posted

Opus we can probably get to direct stream, but the pcm one will need to be converted.

  • 1 year later...
futebol2025
Posted

emby ja era pra ter opcao de reproduzir youtube no proprio apk

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...