gene0915 37 Posted April 8, 2020 Share Posted April 8, 2020 Just looking for help understanding something. A friend of mine is streaming a movie from my Emby server. Stats from Plex for the movie in question: Media Duration 1:23:25 Bitrate 4421 kbps Width 1280 Height 532 Aspect Ratio 2.35 Video Resolution 720p Container MKV Video Frame Rate 24p Video Profile main Part Duration 1:23:25 File Like a Boss (2020).mkv Size 2.58 GB Container MKV Video Profile main Codec H264 Bitrate 4037 kbps Language English Bit Depth 8 Chroma Location topleft Chroma Subsampling 4:2:0 Color Primaries bt709 Color Range tv Color Space bt709 Color Trc bt709 Frame Rate 23.976 fps Height 532 Level 3.1 Profile main Ref Frames 2 Scan Type progressive Width 1280 Display Title 720p (H.264) Codec AC3 Channels 6 Bitrate 384 kbps Language English Audio Channel Layout 5.1(side) Sampling Rate 48000 Hz Display Title English (AC3 5.1) Snippet from the transcoding log: 2020-04-08 15:06:17.874 Emby Server version: 4.4.1.0 Operating system: Unix 4.15.0.96 Command Line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb App: AndroidTv 1.7.92a Joseph's Fire TV Stick http://geneflix.asuscomm.com:8096/emby/videos/263849/hls1/main/0.ts?DeviceId=ad6ec94a930618a&MediaSourceId=ab7a1d7ef82cacc980f21fdcad8f308f&PlaySessionId=eaed82dfdd42491eaa96d2ea044be39c&api_key=021a558c0d7e4cdea578f7b4779f4c96&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac_latm,mp4a_latm,ac3,eac3,aac,mp3&VideoBitrate=274504&AudioBitrate=384000&MaxHeight=2160&AudioStreamIndex=0&SubtitleMethod=Encode&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=41&hevc-profile=Main&aac_latm-audiochannels=8&mp4a_latm-audiochannels=8&ac3-audiochannels=8&eac3-audiochannels=8&aac-audiochannels=8&mp3-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit {"Protocol":"File","Id":"ab7a1d7ef82cacc980f21fdcad8f308f","Path":"/mnt/md0/Movies/Like a Boss (2020)/Like a Boss (2020).mkv","Type":"Default","Container":"mkv","Size":2766930625,"Name":"Like a Boss","IsRemote":false,"RunTimeTicks":50050560000,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"English Dolby Digital 5.1 (Default)","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":384000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"},{"Codec":"h264","Language":"eng","ColorTransfer":"bt709","ColorPrimaries":"bt709","ColorSpace":"bt709","TimeBase":"1/1000","CodecTimeBase":"1001/48000","VideoRange":"SDR","DisplayTitle":"720p H264","DisplayLanguage":"English","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":4422616,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":532,"Width":1280,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"Main","Type":"Video","AspectRatio":"320:133","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":31,"IsAnamorphic":false}],"Formats":[],"Bitrate":4422616,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false} >>>>>> User policy for joe EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True >>>>>> Affected codecs Encoder VAAPI HD Graphics 630 - H.264 (AVC) Adapter #0: 'HD Graphics 630' Id:22802 (Driver: Intel iHD driver - 19.4.0, Vendor: Intel Corporation) Frame Sizes: 32x32...4096x4096 Color Formats: NV12, P010 Profiles: Main Profile (Level 6), High Profile (Level 6), Constrained Baseline Profile (Level 6) Decoder VAAPI HD Graphics 630 - H.264 (AVC) Adapter #0: 'HD Graphics 630' Id:22802 (Driver: Intel iHD driver - 19.4.0, Vendor: Intel Corporation) Frame Sizes: max 4096x4096 Color Formats: NV12 Profiles: Main Profile (Level 6), High Profile (Level 6), Constrained Baseline Profile (Level 6) >>>>>> FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: Automatic Info Checking: 'VAAPI HD Graphics 630 - H.264 (AVC)' Info Check successful - selecting 'VAAPI HD Graphics 630 - H.264 (AVC)' >>>>>> FindVideoDecoder - MediaType: h264, Mode: Automatic Info Checking: 'VAAPI HD Graphics 630 - H.264 (AVC)' Info Check successful - selecting 'VAAPI HD Graphics 630 - H.264 (AVC)' >>>>>> Processing Plan Info Name CanDoInHardware WillDoInHardware Reason Info VAAPI HD Graphics 630 - H.264 (AVC) >> True True Hardware Codec Info VideoInput >> True True Same adapter (/dev/dri/renderD128), s... Info Scaling >> True True Info VideoOutput >> True True Hardware encoder Info VAAPI HD Graphics 630 - H.264 (AVC) >> True True Hardware Codec >>>>>> Projected Processing Formats Info Previous HW-Context Format SW-Format Next Info h264 >> VAAPI vaapi_vld nv12 >> scale_vaapi Info scale_vaapi >> VAAPI vaapi_vld nv12 >> >>>>> Legacy Command /opt/emby-server/bin/ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -f matroska -i file:"/mnt/md0/Movies/Like a Boss (2020)/Like a Boss (2020).mkv" -threads 0 -map 0:1 -map 0:0 -sn -c:v:0 h264_vaapi -filter_complex "[0:1]scale_vaapi=w=426:h=176" -b:v:0 274504 -maxrate 274504 -bufsize 549008 -profile:v:0 high -level:v:0 4.1 -g:v:0 72 -keyint_min:v:0 72 -sc_threshold:v:0 0 -copyts -vsync -1 -codec:a:0 copy -metadata:s:a:0 language=eng -disposition:a:0 default -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_write_temp 1 -segment_list_type m3u8 -segment_start_number 0 -segment_list "/mnt/sparessd/emby/transcoding-temp/75AB34.m3u8" -y "/mnt/sparessd/emby/transcoding-temp/75AB34_%d.ts" >>>>> Actual Command /opt/emby-server/bin/ffmpeg -loglevel +timing -y -print_graphs_file /var/lib/emby/logs/ffmpeg-transcode-7376d230-f397-402a-b8c6-43f159502f28_1graph.txt -copyts -start_at_zero -f matroska,webm -c:v:0 h264 -hwaccel:v:0 vaapi -hwaccel_device:v:0 /dev/dri/renderD128 -hwaccel_output_format:v:0 vaapi -i "/mnt/md0/Movies/Like a Boss (2020)/Like a Boss (2020).mkv" -filter_complex "[0:1]scale_vaapi@f1=w=426:h=176[f1_out0]" -map [f1_out0] -map 0:0 -sn -c:v:0 h264_vaapi -b:v:0 274504 -g:v:0 72 -maxrate:v:0 274504 -bufsize:v:0 549008 -sc_threshold:v:0 0 -keyint_min:v:0 72 -profile:v:0 high -level:v:0 3 -c:a:0 copy -metadata:s:a:0 language=eng -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list /mnt/sparessd/emby/transcoding-temp/75AB34.m3u8 -segment_list_type m3u8 -segment_time 3 -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/mnt/sparessd/emby/transcoding-temp/75AB34_%d.ts" 15:06:17.903 ffmpeg version 4.3.0-emby_2020_02_24 Copyright (c) 2000-2019 the FFmpeg developers and softworkz for Emby LLC 15:06:17.903 built with gcc 8.3.0 (crosstool-NG 1.24.0) 15:06:17.903 Execution Date: 2020-04-08 15:06:17 15:06:17.963 Input #0, matroska,webm, from '/mnt/md0/Movies/Like a Boss (2020)/Like a Boss (2020).mkv': 15:06:17.963 Metadata: 15:06:17.963 title : Like a Boss (2020) 15:06:17.963 encoder : libebml v1.3.9 + libmatroska v1.5.2 15:06:17.963 creation_time : 2020-04-07T04:10:29.000000Z 15:06:17.963 Duration: 01:23:25.06, start: 0.000000, bitrate: 4422 kb/s 15:06:17.963 Stream #0:0(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) 15:06:17.963 Metadata: 15:06:17.963 BPS-eng : 384000 15:06:17.963 DURATION-eng : 01:23:25.056000000 15:06:17.963 NUMBER_OF_FRAMES-eng: 156408 15:06:17.963 NUMBER_OF_BYTES-eng: 240242688 15:06:17.963 Stream #0:1(eng): Video: h264 (Main), yuv420p(tv, bt709, progressive), 1280x532 [SAR 1:1 DAR 320:133], Level 31, 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc, Start-Time 0.042s (default) 15:06:17.963 Metadata: 15:06:17.963 BPS-eng : 4036814 15:06:17.963 DURATION-eng : 01:23:25.000000000 15:06:17.963 NUMBER_OF_FRAMES-eng: 120000 15:06:17.963 NUMBER_OF_BYTES-eng: 2525532240 15:06:17.986 Stream mapping: 15:06:17.986 Stream #0:1 (h264) -> scale_vaapi 15:06:17.986 scale_vaapi -> Stream #0:0 (h264_vaapi) 15:06:17.986 Stream #0:0 -> #0:1 (copy) 15:06:17.986 Press [q] to stop, [?] for help 15:06:18.054 Output #0, segment, to '/mnt/sparessd/emby/transcoding-temp/75AB34_%d.ts': 15:06:18.054 Metadata: 15:06:18.054 encoder : Lavf58.35.100 15:06:18.054 Stream #0:0: Video: h264 (h264_vaapi) (High), vaapi_vld, 426x176 [SAR 28160:28329 DAR 320:133], q=-1--1, 274 kb/s, Level 30, 23.98 fps, 90k tbn, 23.98 tbc (default) 15:06:18.054 Metadata: 15:06:18.054 encoder : Lavc58.62.100 h264_vaapi 15:06:18.054 Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) 15:06:18.177 [segment @ 0x2467a80] Opening '/mnt/sparessd/emby/transcoding-temp/75AB34.m3u8.tmp' for writing 15:06:18.177 SegmentComplete=video:0 Index=0 Start=0.000000 End=3.044711 Duration=3.044711 offset_pts=0 start_pts=0 Frames=72 filename=75AB34_0.ts 15:06:18.177 [segment @ 0x2467a80] Opening '/mnt/sparessd/emby/transcoding-temp/75AB34_1.ts.tmp' for writing 15:06:18.292 [segment @ 0x2467a80] Opening '/mnt/sparessd/emby/transcoding-temp/75AB34.m3u8.tmp' for writing 15:06:18.292 SegmentComplete=video:0 Index=1 Start=3.044711 End=6.047711 Duration=3.003000 offset_pts=0 start_pts=3044711 Frames=72 filename=75AB34_1.ts 15:06:18.292 [segment @ 0x2467a80] Opening '/mnt/sparessd/emby/transcoding-temp/75AB34_2.ts.tmp' for writing 15:06:18.421 [segment @ 0x2467a80] Opening '/mnt/sparessd/emby/transcoding-temp/75AB34.m3u8.tmp' for writing 15:06:18.421 SegmentComplete=video:0 Index=2 Start=6.047711 End=9.050711 Duration=3.003000 offset_pts=0 start_pts=6047711 Frames=72 filename=75AB34_2.ts Also attaching some screen shots. When I look at his playback on the dashboard, it reports 658kbps, is that right? I have him limited to 4Mbps (as I do for everyone). I always just assumed that Emby would stream up to the limit I set on my server for remote streams (4Mbps). Do I need to tell people to make sure they adjust their remote quality? (Like I always have to do with Plex?) Gonna go check my Emby video settings and see if there's even an option to do that (set streaming quality.... never even looked ) .... but just wanted to know that if Emby is reporting 658kbps, that's what they're playing back at (and it must look like shite at such a low bitrate) or am I reading something wrong?! Link to comment Share on other sites More sharing options...
ebr 14913 Posted April 8, 2020 Share Posted April 8, 2020 Actually, the video bitrate is being limited to 274kbps. The rest is audio. This is what the app is requesting which indicates that either the app is set to auto and that's all it could determine was available on the test or the end user has set the quality very low. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now