Jump to content

setting the stream quality to 40mbps in the android app does nothing


eeeeeesy
Go to solution Solved by eeeeeesy,

Recommended Posts

eeeeeesy

why does setting the stream quality to 40mbps in the android app do nothing? i just added all 4k content into live tv chanels i created on etv  and in the emby app on android i changed the streaming quality 40mbps which should allow to play 4k content as long as i have a 4k file but when i look at the stream in the server  it shows im still running 10mbps 1080p. i also have a 300mbps up and down connection from my isp. also my home connection in the server is set to auto and all of the encoders are enabled in the server. i also have direct pplay enabled in the emby for android tv app.

 

image.png.918443d20c9d01b798e7b9a4366ff6e3.png

Edited by eeeeeesy
Link to comment
Share on other sites

eeeeeesy

General
Unique ID                                : 12026035345683579793773280980344112578 (0x90C21521072E7CC0CDA02D85C9E05C2)
Complete name                            : N:\24_7_Channels\ChristmasFavouritesOnlyMovies\4K\Movies\National Lampoon's Christmas Vacation (1989) Bluray-2160p.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 55.8 GiB
Duration                                 : 1 h 37 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 82.3 Mb/s
Movie name                               : National.Lampoons.Christmas.Vacation.1989.2160p.BluRay.x264.8bit.SDR.DTS-HD.MA.5.1-SWTYBLZ
Encoded date                             : UTC 2022-11-03 08:47:01
Writing application                      : mkvmerge v71.1.0 ('Fortitude') 64-bit
Writing library                          : libebml v1.4.4 + libmatroska v1.7.1

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings                          : CABAC / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1 h 37 min
Bit rate                                 : 78.7 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 076 pixels
Display aspect ratio                     : 1.85:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.412
Stream size                              : 53.4 GiB (96%)
Writing library                          : x264 core 157 r2935 545de2f
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=48 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=48 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default                                  : Yes
Forced                                   : No

Audio #1
ID                                       : 2
ID in the original source medium         : 4352 (0x1100)
Format                                   : DTS XLL
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : A_DTS
Duration                                 : 1 h 37 min
Bit rate mode                            : Variable
Bit rate                                 : 2 879 kb/s
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 24 bits
Compression mode                         : Lossless
Stream size                              : 1.95 GiB (3%)
Title                                    : DTS-HD MA 5.1
Language                                 : English
Default                                  : Yes
Forced                                   : No
Original source medium                   : Blu-ray

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1 h 37 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 444 MiB (1%)
Title                                    : DD 5.1
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Text #1
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 1 h 36 min
Bit rate                                 : 60 b/s
Frame rate                               : 0.179 FPS
Count of elements                        : 1039
Stream size                              : 43.2 KiB (0%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text #2
ID                                       : 5
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 1 h 36 min
Bit rate                                 : 65 b/s
Frame rate                               : 0.200 FPS
Count of elements                        : 1164
Stream size                              : 46.7 KiB (0%)
Title                                    : SDH
Language                                 : English
Default                                  : No
Forced                                   : No

Text #3
ID                                       : 6
ID in the original source medium         : 4768 (0x12A0)
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 h 36 min
Bit rate                                 : 36.8 kb/s
Frame rate                               : 0.410 FPS
Count of elements                        : 2380
Stream size                              : 25.5 MiB (0%)
Language                                 : English
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Text #4
ID                                       : 7
ID in the original source medium         : 4769 (0x12A1)
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 h 36 min
Bit rate                                 : 26.8 kb/s
Frame rate                               : 0.297 FPS
Count of elements                        : 1722
Stream size                              : 18.5 MiB (0%)
Language                                 : French
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Text #5
ID                                       : 8
ID in the original source medium         : 4770 (0x12A2)
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 h 30 min
Bit rate                                 : 24.0 kb/s
Frame rate                               : 0.261 FPS
Count of elements                        : 1418
Stream size                              : 15.6 MiB (0%)
Language                                 : Dutch
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Text #6
ID                                       : 9
ID in the original source medium         : 4771 (0x12A3)
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 h 33 min
Bit rate                                 : 22.7 kb/s
Frame rate                               : 0.322 FPS
Count of elements                        : 1800
Stream size                              : 15.1 MiB (0%)
Language                                 : Spanish
Default                                  : No
Forced                                   : No
Original source medium                   : Blu-ray

Menu
00:00:00.000                             : en:Chapter 01
00:02:39.242                             : en:Chapter 02
00:07:00.670                             : en:Chapter 03
00:10:50.441                             : en:Chapter 04
00:12:41.302                             : en:Chapter 05
00:14:54.852                             : en:Chapter 06
00:17:31.341                             : en:Chapter 07
00:19:31.545                             : en:Chapter 08
00:29:44.783                             : en:Chapter 09
00:35:42.598                             : en:Chapter 10
00:41:36.702                             : en:Chapter 11
00:44:40.928                             : en:Chapter 12
00:47:23.340                             : en:Chapter 13
00:48:36.038                             : en:Chapter 14
00:51:27.959                             : en:Chapter 15
00:57:28.611                             : en:Chapter 16
00:59:43.204                             : en:Chapter 17
01:01:41.698                             : en:Chapter 18
01:04:16.143                             : en:Chapter 19
01:07:07.898                             : en:Chapter 20
01:10:22.301                             : en:Chapter 21
01:11:58.605                             : en:Chapter 22
01:16:28.542                             : en:Chapter 23
01:18:38.296                             : en:Chapter 24
01:22:31.488                             : en:Chapter 25
01:25:11.189                             : en:Chapter 26
01:28:37.854                             : en:Chapter 27
01:31:19.474                             : en:Chapter 28
01:33:50.333                             : en:Chapter 29


 

Link to comment
Share on other sites

pünktchen

You have to adjust your ffmpeg profile in ErsatzTV, because that is where the stream is coming from. It's not the original library file that is played back here.

Link to comment
Share on other sites

eeeeeesy
37 minutes ago, pünktchen said:

You have to adjust your ffmpeg profile in ErsatzTV, because that is where the stream is coming from. It's not the original library file that is played back here.

ohh that was it. awesome. thanks so much.

Link to comment
Share on other sites

Also, the original file is 78mb/s so a max setting of 40 still wouldn't direct play it.

However, as noted, that isn't the file that is being played, obviously, because Emby is direct playing a 10Mb version of it.

Link to comment
Share on other sites

eeeeeesy
3 minutes ago, ebr said:

Also, the original file is 78mb/s so a max setting of 40 still wouldn't direct play it.

However, as noted, that isn't the file that is being played, obviously, because Emby is direct playing a 10Mb version of it.

but now that i changed the resolution for the ffmpeg profile in etv to 4k, i see now in emby its playing at 4k 20mbps even though i have the client app set to 40mbps. but at least its not 1080p 10mbps anymore.

Link to comment
Share on other sites

3 minutes ago, eeeeeesy said:

emby its playing at 4k 20mbps even though i have the client app set to 40mbps

Is it transcoding or direct playing again?

Link to comment
Share on other sites

4 minutes ago, eeeeeesy said:

direct playing

Okay, then Emby is doing exactly what it was asked to do.  Again, the source being fed to it is a lower bitrate than your max set in the app.

Link to comment
Share on other sites

eeeeeesy

oh i guess its because i set my ffmpeg profile to a low bitrate in etv

image.thumb.png.d35517433303be2c8cf42ea62fcd7e5d.png

 

 

what bitrate should i set it to for 4k?

Edited by eeeeeesy
Link to comment
Share on other sites

eeeeeesy
13 minutes ago, Luke said:

Can you just have it pass the original stream without using ffmpeg?

i dont think it has that option

 

edited; no i dont see that option

Edited by eeeeeesy
Link to comment
Share on other sites

  • Solution
eeeeeesy
58 minutes ago, Luke said:

Can you just have it pass the original stream without using ffmpeg?

i talked to JD the etv dev about this just now. i asked if he could add an option to disable the etv ffmpeg. he said this

jasondove — Today at 1:14 PM
The hls direct streaming mode is the only way to get full quality video, but the client needs to support range requests since it's delivered as a single segment.

You could try that in emby, but again, it removes all normalization, which they said was a requirement in the other thread.

 

 

he was referring to the 8bit 10bit normalization that hes adding right now about the post from a few days ago i made on here.

and he said this too that i said i would pass on to you guys.

 

jasondove — Today at 1:16 PM
The normalization shouldn't be required since discontinuity tags are used between each item, but most clients don't handle those tags properly
NEW
[1:17 PM]
EXT-X-DISCONTINUITY: Indicates an encoding discontinuity between the media file that follows it and the one that preceded it.

 

Link to comment
Share on other sites

eeeeeesy
23 minutes ago, Luke said:

Ok well another option might be to have them add an option to at least retain original bitrate.

theres already sort of an option for that. we can already specify any bitrate we want in the etv ffmpeg profiles.

image.thumb.png.844062decf7fd83ff988522916fcf50d.png

 

JD helped me realize that i tried only 6000kb and 12000 kb bitrates which are only 6mbps and 12 mbps. so as you can see now i changed it to 40000kb whch should be now 40mbps. but in the emby dashboard its still shows 4k 20mbps. i have also now changed the max quality in the emby app from auto to 40mbps but its still only doing 20mbps displayed in the emby dashboard.

 

image.png.81022035090595c535bf777a444dff58.png

Link to comment
Share on other sites

eeeeeesy

i have new info. i switched etv from mpegts to hls segmenter like JD recommended and now im getting the full bitrate as he suspected but as he said hls segmenter removes his normalizaton. so the scrambled video issue might come back on my sony tv i think is what hes saying.

 

image.png.5f1f8d275bc0e376c1282777929fc84d.png

 

 image.png.683e3788e930e1c4fa6f0073f679b04a.png

 

 

 

Link to comment
Share on other sites

eeeeeesy

the other problem with HLS segmenter i just remembered why i dont use it. it does not transition to the next movie at all. i think thats what JD was talking about when he said the client has to support HLS segmenter too. and its about the xdiscontinuity ffmpeg error.

Edited by eeeeeesy
Link to comment
Share on other sites

eeeeeesy

so what needs to happen is emby clients need to support HLS segmenter and HLS direct in the future. these are supported by tivimate on android so why not emby?

Link to comment
Share on other sites

justinrh

Just curious, @eeeeeesy, what problem does ErsatzTV solve for you in Emby?  It sounds like it is doing what Emby already does.  I guess I'm missing the purpose of it for Emby.

Link to comment
Share on other sites

eeeeeesy
3 minutes ago, justinrh said:

Just curious, @eeeeeesy, what problem does ErsatzTV solve for you in Emby?  It sounds like it is doing what Emby already does.  I guess I'm missing the purpose of it for Emby.

the purpose of emby is to have everything in one app vod and live tv

Link to comment
Share on other sites

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