Jump to content

#Bug #Help Fix/research faulty transcoding video info (e.g. resolution)


ldexterldesign
Go to solution Solved by Happy2Play,

Recommended Posts

ldexterldesign
Device: Apple MacBook Pro
Platform: OS X 10.13.6 (17G65)
Browser: Vivaldi 1.15.1147.55 (Stable channel) (64-bit)

Hi,
 
Hope you're well
 
Thanks for software
 
What's the reason my Emby playback is inferior to my video file playback here?
 
 
NB Depending on your browser's codec support you may have to download the file because it's a MOV
 
I didn't experience this issue until upgrading to latest Emby Server 3.5 yesterday
 
Tested with a range of videos and browsers - same issue
 
If you're reading this and agree please up-vote and/or reply +1
 
Let me know if you have any issues - happy to help
 
Hope this is clear/useful and to hear back
 
Yours faithfully
Edited by ldexterldesign
Link to comment
Share on other sites

  • Solution
Happy2Play

Transcoding is required, as no browser supports HEVC, logs would be required also to see exactly what Emby is doing.

  • Like 1
Link to comment
Share on other sites

Sorry what do you think is faulty? the fact that it's transcoding or the stats that are displayed in the player?

Link to comment
Share on other sites

ldexterldesign

Transcoding is required, as no browser supports HEVC, logs would be required also to see exactly what Emby is doing.

 

Logs

 

Sorry for brevity - I have a broken hand!

 

Thanks (in advance)

 

https://drive.google.com/drive/folders/1bocz2HuGXaWphRv83_w8rMxB3RGrhdu9

Edited by ldexterldesign
Link to comment
Share on other sites

ldexterldesign

Sorry what do you think is faulty? the fact that it's transcoding or the stats that are displayed in the player?

 

Emby "video resolution" is completely wrong

 

Sorry for brevity - I have a broken hand!

 

Cheers

Link to comment
Share on other sites

ldexterldesign

That's the resolution it's being transcoded to, not the source resolution.

 

Yep, if you watch to the end of the video I'm using "Auto" so it should be transcoding at/to max streaming bitrate[e] (i.e original quality) but it's not; why not?

 

Cheers

 

PS I've played about and reset to default all server settings - pretty sure it's not that

 

[e] https://github.com/MediaBrowser/Wiki/wiki/Transcoding#app-settings

Edited by ldexterldesign
Link to comment
Share on other sites

ldexterldesign

Logs

 

Sorry for brevity - I have a broken hand!

 

Thanks (in advance)

 

https://drive.google.com/drive/folders/1bocz2HuGXaWphRv83_w8rMxB3RGrhdu9

 

Didn't realise the log would be so big, I think the pertinent section of embyserver.txt.txt starts here:

2018-07-21 04:51:31.362 Info TaskManager: Scan media library Completed after 0 minute(s) and 14 seconds
2018-07-21 04:51:31.370 Info TaskManager: ExecuteQueuedTasks
2018-07-21 04:51:31.420 Info LibraryMonitor: Watching directory /Users/ldexterldesign/Documents/video/web
2018-07-21 04:51:31.925 Info HttpServer: HTTP GET http://localhost:8096/emby/Users/48460102c99a4e4cbf9b6d11670307e8/Items/90d7103728be5240bf87b9c6f6337108. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.55
2018-07-21 04:51:31.931 Info HttpServer: HTTP Response 200 to ::1. Time: 7ms. http://localhost:8096/emby/Users/48460102c99a4e4cbf9b6d11670307e8/Items/90d7103728be5240bf87b9c6f6337108 
2018-07-21 04:51:31.938 Info HttpServer: HTTP GET http://localhost:8096/emby/Users/48460102c99a4e4cbf9b6d11670307e8/Items?ParentId=90d7103728be5240bf87b9c6f6337108&Filters=IsNotFolder&Recursive=true&SortBy=SortName&MediaTypes=Audio%2CVideo&Limit=300&Fields=Chapters&ExcludeLocationTypes=Virtual&EnableTotalRecordCount=false&CollapseBoxSetItems=false. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.55
2018-07-21 04:51:31.943 Info HttpServer: HTTP Response 200 to ::1. Time: 5ms. http://localhost:8096/emby/Users/48460102c99a4e4cbf9b6d11670307e8/Items?ParentId=90d7103728be5240bf87b9c6f6337108&Filters=IsNotFolder&Recursive=true&SortBy=SortName&MediaTypes=Audio%2CVideo&Limit=300&Fields=Chapters&ExcludeLocationTypes=Virtual&EnableTotalRecordCount=false&CollapseBoxSetItems=false 
2018-07-21 04:51:31.951 Info HttpServer: HTTP GET http://localhost:8096/emby/Users/48460102c99a4e4cbf9b6d11670307e8/Items/fb0a2865d731b9a6af3e6dd444adbf39/Intros. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.55
2018-07-21 04:51:31.952 Info HttpServer: HTTP Response 200 to ::1. Time: 1ms. http://localhost:8096/emby/Users/48460102c99a4e4cbf9b6d11670307e8/Items/fb0a2865d731b9a6af3e6dd444adbf39/Intros 
2018-07-21 04:51:31.962 Info HttpServer: HTTP POST http://localhost:8096/emby/Items/fb0a2865d731b9a6af3e6dd444adbf39/PlaybackInfo?UserId=48460102c99a4e4cbf9b6d11670307e8&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.55
2018-07-21 04:51:31.964 Info App: User policy for Lewis. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2018-07-21 04:51:31.964 Info App: Profile: Unknown Profile, Path: /Users/ldexterldesign/Documents/video/tv/It's Always Sunny in Philadelphia/Season 10/It's Always Sunny in Philadelphia - s10e01 - The Gang Beats Boggs - WEBDL-720p - x265 AAC [EN] - PSA.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-07-21 04:51:31.964 Info App: Profile: Unknown Profile, No direct play profiles found for Path: /Users/ldexterldesign/Documents/video/tv/It's Always Sunny in Philadelphia/Season 10/It's Always Sunny in Philadelphia - s10e01 - The Gang Beats Boggs - WEBDL-720p - x265 AAC [EN] - PSA.mkv
2018-07-21 04:51:31.965 Info App: Profile: Unknown Profile, Path: /Users/ldexterldesign/Documents/video/tv/It's Always Sunny in Philadelphia/Season 10/It's Always Sunny in Philadelphia - s10e01 - The Gang Beats Boggs - WEBDL-720p - x265 AAC [EN] - PSA.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-07-21 04:51:31.965 Info App: Profile: Unknown Profile, No direct play profiles found for Path: /Users/ldexterldesign/Documents/video/tv/It's Always Sunny in Philadelphia/Season 10/It's Always Sunny in Philadelphia - s10e01 - The Gang Beats Boggs - WEBDL-720p - x265 AAC [EN] - PSA.mkv
2018-07-21 04:51:31.965 Info App: Profile: Unknown Profile, Path: /Users/ldexterldesign/Documents/video/tv/It's Always Sunny in Philadelphia/Season 10/It's Always Sunny in Philadelphia - s10e01 - The Gang Beats Boggs - WEBDL-720p - x265 AAC [EN] - PSA.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-07-21 04:51:31.965 Info App: Profile: Unknown Profile, No direct play profiles found for Path: /Users/ldexterldesign/Documents/video/tv/It's Always Sunny in Philadelphia/Season 10/It's Always Sunny in Philadelphia - s10e01 - The Gang Beats Boggs - WEBDL-720p - x265 AAC [EN] - PSA.mkv
2018-07-21 04:51:31.965 Info HttpServer: HTTP Response 200 to ::1. Time: 3ms. http://localhost:8096/emby/Items/fb0a2865d731b9a6af3e6dd444adbf39/PlaybackInfo?UserId=48460102c99a4e4cbf9b6d11670307e8&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000 
2018-07-21 04:51:32.002 Info HttpServer: HTTP GET http://localhost:8096/emby/Items/90d7103728be5240bf87b9c6f6337108/Images/Backdrop?quality=100&tag=10d4c78b47bdf7fc105a5136d9389537. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.55
2018-07-21 04:51:32.004 Info HttpServer: HTTP Response 200 to ::1. Time: 1ms. http://localhost:8096/emby/Items/90d7103728be5240bf87b9c6f6337108/Images/Backdrop?quality=100&tag=10d4c78b47bdf7fc105a5136d9389537 
2018-07-21 04:51:32.422 Info HttpServer: HTTP GET http://localhost:8096/emby/videos/fb0a2865d731b9a6af3e6dd444adbf39/master.m3u8?DeviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzY1LjAuMzMyNS4xODMgU2FmYXJpLzUzNy4zNiBWaXZhbGRpLzEuOTYuMTE0Ny41NXwxNTMyMTI3MTQ0ODg0&MediaSourceId=fb0a2865d731b9a6af3e6dd444adbf39&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=faaf1c7702ce49a8a35d9af3e3ca856d&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=678fb19b0d8a1f172bad965eae544ce8&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51. Host=localhost:8096, Connection=keep-alive, User-Agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.55, Accept=*/*, DNT=1, Referer=http://localhost:8096/web/index.html, Accept-Encoding=gzip, deflate, br, Accept-Language=en-GB,en-US;q=0.9,en;q=0.8
2018-07-21 04:51:32.425 Info HttpServer: HTTP Response 200 to ::1. Time: 3ms. http://localhost:8096/emby/videos/fb0a2865d731b9a6af3e6dd444adbf39/master.m3u8?DeviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzY1LjAuMzMyNS4xODMgU2FmYXJpLzUzNy4zNiBWaXZhbGRpLzEuOTYuMTE0Ny41NXwxNTMyMTI3MTQ0ODg0&MediaSourceId=fb0a2865d731b9a6af3e6dd444adbf39&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=faaf1c7702ce49a8a35d9af3e3ca856d&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=678fb19b0d8a1f172bad965eae544ce8&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51 
2018-07-21 04:51:32.437 Info HttpServer: HTTP GET http://localhost:8096/emby/videos/fb0a2865d731b9a6af3e6dd444adbf39/main.m3u8?DeviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzY1LjAuMzMyNS4xODMgU2FmYXJpLzUzNy4zNiBWaXZhbGRpLzEuOTYuMTE0Ny41NXwxNTMyMTI3MTQ0ODg0&MediaSourceId=fb0a2865d731b9a6af3e6dd444adbf39&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=faaf1c7702ce49a8a35d9af3e3ca856d&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=678fb19b0d8a1f172bad965eae544ce8&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51. Host=localhost:8096, Connection=keep-alive, User-Agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.55, Accept=*/*, DNT=1, Referer=http://localhost:8096/web/index.html, Accept-Encoding=gzip, deflate, br, Accept-Language=en-GB,en-US;q=0.9,en;q=0.8
2018-07-21 04:51:32.441 Info HttpServer: HTTP Response 200 to ::1. Time: 4ms. http://localhost:8096/emby/videos/fb0a2865d731b9a6af3e6dd444adbf39/main.m3u8?DeviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzY1LjAuMzMyNS4xODMgU2FmYXJpLzUzNy4zNiBWaXZhbGRpLzEuOTYuMTE0Ny41NXwxNTMyMTI3MTQ0ODg0&MediaSourceId=fb0a2865d731b9a6af3e6dd444adbf39&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=faaf1c7702ce49a8a35d9af3e3ca856d&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=678fb19b0d8a1f172bad965eae544ce8&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51 
2018-07-21 04:51:32.457 Info HttpServer: HTTP GET http://localhost:8096/emby/videos/fb0a2865d731b9a6af3e6dd444adbf39/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzY1LjAuMzMyNS4xODMgU2FmYXJpLzUzNy4zNiBWaXZhbGRpLzEuOTYuMTE0Ny41NXwxNTMyMTI3MTQ0ODg0&MediaSourceId=fb0a2865d731b9a6af3e6dd444adbf39&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=faaf1c7702ce49a8a35d9af3e3ca856d&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=678fb19b0d8a1f172bad965eae544ce8&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51. Host=localhost:8096, Connection=keep-alive, User-Agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.55, Accept=*/*, DNT=1, Referer=http://localhost:8096/web/index.html, Accept-Encoding=gzip, deflate, br, Accept-Language=en-GB,en-US;q=0.9,en;q=0.8
2018-07-21 04:51:32.460 Info App: /Applications/EmbyServer.app/Contents/MacOS/ffmpeg -f matroska,webm -i file:"/Users/ldexterldesign/Documents/video/tv/It's Always Sunny in Philadelphia/Season 10/It's Always Sunny in Philadelphia - s10e01 - The Gang Beats Boggs - WEBDL-720p - x265 AAC [EN] - PSA.mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -vf "scale=trunc(min(max(iw\,ih*dar)\,720)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 1788600 -bufsize 3577200 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vsync -1 -codec:a:0 copy -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_list_type m3u8 -segment_start_number 0 -segment_list "/Users/ldexterldesign/.config/emby-server/transcoding-temp/716e5052bf57d18ded709f9942fc4357.m3u8" -y "/Users/ldexterldesign/.config/emby-server/transcoding-temp/716e5052bf57d18ded709f9942fc4357%d.ts"
...

Regards

Edited by ldexterldesign
Link to comment
Share on other sites

Happy2Play

Is the low bitrate HEVC ("BitRate":596200) causing the low quality h264 transcode?

Link to comment
Share on other sites

Yea it's the low bitrate. I'm looking at making some improvements to this on the beta channel. thanks.

Link to comment
Share on other sites

ldexterldesign
Thanks for diagnosis

 

Hoping for quick fix - let me know if you'd like me to create a GitHub issue?

 

Look forward to your reply

 

Keep up great work and good luck!

Edited by ldexterldesign
Link to comment
Share on other sites

You don't need to create a ticket. If you're really interested you can always jump on the beta channel. thanks.

Link to comment
Share on other sites

ldexterldesign

You don't need to create a ticket. If you're really interested you can always jump on the beta channel. thanks.

 

What/where is the beta channel - got a URL?

 

Cheers

Link to comment
Share on other sites

ldexterldesign

if we have betas for your platform, the instructions will be on the website:

https://emby.media/download

 

Thanks.

 

See my original post:

Device: Apple MacBook Pro
Platform: OS X 10.13.6 (17G65)
Browser: Vivaldi 1.15.1147.55 (Stable channel) (64-bit)
 
 
Unclear what "beta" has to do with it?
 
Cheers
Edited by ldexterldesign
Link to comment
Share on other sites

Ok we don't have beta releases for MacOS. We are working on improving this transcoding output though in this situation. Thanks.

Link to comment
Share on other sites

ldexterldesign

Ok we don't have beta releases for MacOS. We are working on improving this transcoding output though in this situation. Thanks.

 

Still suffering this issue - got a fix ETA?

 

I'm currently having to use an external player for HD video because Emby playback quality is so bad

 

Surprised to not see more complaints in the forum which makes me think it's just me and this is fixable?

 

Yours hopefully

Edited by ldexterldesign
Link to comment
Share on other sites

ldexterldesign

Can you provide a sample video for testing? thanks.

 

Apologies for delay
 
https://drive.google.com/open?id=1bocz2HuGXaWphRv83_w8rMxB3RGrhdu9 - you can find a file here[e]

 

Hope to hear back

 
Cheers

 

[e] It's Always Sunny in Philadelphia - s10e06 - The Gang Misses the Boat - 2015-02-18 - WEBDL - HDTV-720p24 - AAC H265 - PSA

Edited by ldexterldesign
Link to comment
Share on other sites

This looks OK to me with current changes in testing. Please try again with the next release of Emby Server. Thanks.

Link to comment
Share on other sites

ldexterldesign

This looks OK to me with current changes in testing. Please try again with the next release of Emby Server. Thanks.

 

Upgraded to 3.5.2.0 today but issue persists 

 

I've done some quick testing and the issue appears to affect all video files using H265 codecs

 

Are there any related Emby dependencies I should ensure are updated?

 

Please check again - I'd really love to know if this is my problem or an Emby problem?

 
Yours hopefully
Link to comment
Share on other sites

ldexterldesign

This looks OK to me with current changes in testing. Please try again with the next release of Emby Server. Thanks.

 

Upgraded to 3.5.2.0 today but issue persists 

 

I've done some quick testing and the issue appears to affect all video files using H265 codecs

 

Are there any related Emby dependencies I should ensure are updated?

 

Please check again - I'd really love to know if this is my problem or an Emby problem?

 
Yours hopefully
Link to comment
Share on other sites

  • 1 month later...
ldexterldesign

The next release, thanks.

 

Hope you're well
 
I just updated to v3.5.3.0 but issue persists
 
What's the status your side?
 
If you have any issues (e.g. questions/queries) happy to help
 
Hope this is clear/useful
 
Yours hopefully
Edited by ldexterldesign
Link to comment
Share on other sites

Happy2Play

 

Hope you're well
 
I just updated to v3.5.3.0 but issue persists
 
What's the status your side?
 
If you have any issues (e.g. questions/queries) happy to help
 
Hope this is clear/useful
 
Yours hopefully

 

 

3.5.3.0 was a hot fix to a issue introduced by Chrome 69.  So next release applies to the 3.6 series.

Edited by Happy2Play
  • Like 1
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...