Jump to content

720p Transcoding Incorrect Scale


Recommended Posts

errolholm
Posted (edited)

My emby server runs on a PC with Windows 10 Pro 64bit. When ever someone uses either 720p 1.5mbps or 720p 2mbps quality profiles, the videos aren't being transcoded to 1280x720 (720p) but to 720x404 (below 480p). I don't know if the 720p 3mbps profile is doing the same as all my files are HEVC less than 3mbps, the scaling is ignored.

 

To me scaling on the selected profile only seems to apply if the source file has a higher bitrate, and the 720p profiles seem to be applying the 720 limit to the width instead of the height. Can this either be fixed or is there a way that I can customise the profiles myself? Also is there a way of having an option to enforce the max resolution scaling if transcoding is required even if the source bitrate is lower than the selected profile.

 

From the embyserver log

2020-04-01 00:06:23.797 Info DynamicHlsService: ProcessRun 'StreamTranscode 3411b2' Execute: C:\Users\Admin\AppData\Roaming\Emby-Server\system\ffmpeg.exe -loglevel +timing -y -print_graphs_file "C:\Users\Admin\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-3411b255-4b44-4d40-b785-832ca87e796d_1graph.txt" -copyts -start_at_zero -f mov,mp4,m4a,3gp,3g2,mj2 -c:v:0 hevc -i "S:\Media\Shows\Grimm\Season 4\Grimm - S04E17 - Hibernaculum Bluray-1080p.mp4" -filter_complex "[0:0]scale@f1=w=720:h=404[f1_out0]" -map [f1_out0] -map 0:1 -sn -c:v:0 libx264 -g:v:0 72 -maxrate:v:0 1308000 -bufsize:v:0 2616000 -sc_threshold:v:0 0 -keyint_min:v:0 72 -pix_fmt:v:0 yuv420p -preset:v:0 veryfast -profile:v:0 main -level:v:0 3.0 -x264opts:v:0 "subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none" -crf:v:0 20 -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 "E:\Emby\transcoding-temp\4BF0AA.m3u8" -segment_list_type m3u8 -segment_time 3 -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "E:\Emby\transcoding-temp\4BF0AA_%d.ts"

 

I have a few users who require transcoding because they are either using a web browser that doesn't support HEVC, or using a mobile device which don't require anything above 720p and trying to save data usage by limiting the device to either 1.5mbps or 2mbps, All other devices that support HEVC and have fast enough connection stream without transcoding perfectly fine.

Edited by errolholm
Posted

Hi there, can you please attach a complete log file example? Thanks.

errolholm
Posted

And this is the full log file from the day I first posted. It did not have debug turned on.

embyserver.txt

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