Jump to content

Reducing bitrate due to quality setting


Recommended Posts

PatrickStar
Posted

Hi there,

I'm experiencing an issue with my Emby server. Despite disabling video transcoding and removing all limits in the settings, my video stream is still being transcoded. This problem now affects all devices, making my Emby server unusable. My objective is to enable direct play for video and only transcode audio.

Upon checking the logs, I found the following line of interest:

&TranscodeReasons=ContainerBitrateExceedsLimit
Spoiler
http://emby.example.com/emby/videos/20117/main.m3u8?DeviceId=c0fde2b2-be07-4ff1-be3a-683892aafdc9
&MediaSourceId=627da08f1d2360be860e8541d3587ae0
&StartTimeTicks=12443484320
&PlaySessionId=8947895e3ece4d3aa993d4e46004d0ea
&api_key=78464dfef5df4562a420fa391d02c8e4
&VideoCodec=h264,h265,hevc
&AudioCodec=mp3,aac
&VideoBitrate=6616000
&AudioBitrate=384000
&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
&TranscodeReasons=ContainerBitrateExceedsLimit

 



Settings / Screenshots:

Spoiler

Network Settings:
image.png.60779755ef3ff4c9f5dfb805ac29005e.png

User Settings:

image.png.66aaf59dbeb333bc38a0b25e50dc72c4.png

image.png.c37b7949fffc2bb86bab052103766353.png

Stream (Chrome):
image.png.8113ca9d0126099bc909804c17f31f4f.png

image.png.be218f01b49044885036b6138495e1bc.png

 

I have a VPS with a shared CPU, and unfortunately, video transcoding doesn't work well in this setup. Is there any way to completely disable video transcoding in Emby to avoid this issue altogether?

I am happy for any help on this issue :)

Best Regards

ffmpeg-remux-be97629b-c0f1-4c6a-b253-8ebf05696ac3_1.txt

Posted

Hi, looks like you’ve done it. There’s no video transcoding occurring in this example.

SamES
Posted
6 hours ago, PatrickStar said:

Despite disabling video transcoding and removing all limits in the settings, my video stream is still being transcoded.

What you have done is disable the ability of the server to ever transcode video, which was your objective, but to address your comment above there is still a 10Mbit limit set somewhere in your config (either a global, remote connection, user or client setting) which is why it was still trying to transcode.

 

http::// emby.example.com/emby/videos/20117/main.m3u8?DeviceId=c0fde2b2-be07-4ff1-be3a-683892aafdc9&MediaSourceId=627da08f1d2360be860e8541d3587ae0&StartTimeTicks=12443484320&PlaySessionId=8947895e3ece4d3aa993d4e46004d0ea&api_key=78464dfef5df4562a420fa391d02c8e4&VideoCodec=h264,h265,hevc&AudioCodec=mp3,aac&VideoBitrate=6616000&AudioBitrate=384000&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&TranscodeReasons=ContainerBitrateExceedsLimit

  • 3 weeks later...
PatrickStar
Posted

Hey,

i just wanted to let you know that i have solved the issue with the suggestions on the offical Discord server. The transcoding was taking place due to me and my users having the bandwidth settings in the "Video" section on the "Playback" page configured incorrectly. After setting this to the biggest possible option the issue disappeared immediately.

However, i could not find out if there is any way to configure this setting programmatically i.e. throught a (text) file so i can include it in my gold image.
For now i am using Puppeteer to log in to every account and configure them after installation & creation - as you might imagine that is quite some additional code to maintain for such an easy task, i would of course highly prefer to just use sed and be done with it. But so far, i could not find any file or sqlite that does contain the information i do want to modify.

Maybe you can give me a hint into the right direction on configuring this programmatically :)

Best Regards

GrimReaper
Posted
4 hours ago, PatrickStar said:

offical Discord server

There is no official Discord server, whichever server that was it is strictly user/fan driven and has no involvement from any Emby or Forum staff. 

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...