Jump to content

Transcode only above 1080p


Recommended Posts

shpitz461
Posted

Hi,

I have a 1080p setup, is it possible to direct-play everything 1080p and lower but automatically transcode everything that is above 1080p?

 

Also my NUC (i5-4250U) can't hardware decode h265, is it possible to have everything that is HEVC/h265 to automatically transcode to h264?

 

If I play via direct-play anything recorded with my phone playback is choppy:

General
Complete name                  : X:\Clips\Video\2018\06\VID_20180610_143324.mp4
Format                         : MPEG-4
Format profile                 : Base Media / Version 2
Codec ID                       : mp42 (isom/mp42)
File size                      : 1.24 GiB
Duration                       : 4 min 13 s
Overall bit rate               : 42.1 Mb/s
Encoded date                   : UTC 2018-06-10 21:37:40
Tagged date                    : UTC 2018-06-10 21:37:40
com.android.version            : 7.1.1

Video
ID                             : 1
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Main@L4.1@Main
Codec ID                       : hvc1
Codec ID/Info                  : High Efficiency Video Coding
Duration                       : 4 min 13 s
Source duration                : 4 min 13 s
Bit rate                       : 42.0 Mb/s
Width                          : 3 840 pixels
Height                         : 2 160 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Variable
Frame rate                     : 29.933 FPS
Minimum frame rate             : 14.950 FPS
Maximum frame rate             : 31.077 FPS
Standard                       : NTSC
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Bits/(Pixel*Frame)             : 0.169
Stream size                    : 1.24 GiB (100%)
Source stream size             : 1.24 GiB (100%)
Title                          : VideoHandle
Language                       : English
Encoded date                   : UTC 2018-06-10 21:37:40
Tagged date                    : UTC 2018-06-10 21:37:40
Color range                    : Full
Color primaries                : BT.601 NTSC
Transfer characteristics       : BT.601
Matrix coefficients            : BT.601
mdhd_Duration                  : 253686

Audio
ID                             : 2
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 4 min 13 s
Source duration                : 4 min 13 s
Bit rate mode                  : Constant
Bit rate                       : 96.0 kb/s
Channel(s)                     : 2 channels
Channel positions              : Front: L R
Sampling rate                  : 48.0 kHz
Frame rate                     : 46.875 FPS (1024 SPF)
Compression mode               : Lossy
Stream size                    : 2.91 MiB (0%)
Source stream size             : 2.91 MiB (0%)
Title                          : SoundHandle
Language                       : English
Encoded date                   : UTC 2018-06-10 21:37:40
Tagged date                    : UTC 2018-06-10 21:37:40
mdhd_Duration                  : 253884

Thanks!

mastrmind11
Posted (edited)

set the max bitrate on the client, and anything over that will transcode.  this also applies to h265 content.  so in your example above, set your bitrate to 30 or 40 Mbps and it'll transcode.  curious though why auto wouldn't work in this scenario since it should detect that your nuc can't handle h265 and transcode it by default.  either way, post a transcode log or 2.

Edited by mastrmind11
shpitz461
Posted

But if I set max bitrate it will transcode my bluray mkv remuxes which i like to direct-play.

mastrmind11
Posted (edited)

But if I set max bitrate it will transcode my bluray mkv remuxes which i like to direct-play.

so what client do you have capable of playing h265??  the bitrate setting is per client, not global, so if there's a weak link, it won't effect any of your other clients.

Edited by mastrmind11
shpitz461
Posted

i use the NUC as my player, i direct-play bluray mkv remuxes and my personal media from phones. It can't play h265.

Guest asrequested
Posted (edited)

Well, the thing is the NUC can play HEVC with Theater desktop. mpv won't know that you have no HWA support for HEVC, so it'll try to force it through the CPU. If you use the store app, HEVC will all be transcoded.

Edited by Doofus
shpitz461
Posted

I'm running Win7 with Theatre desktop app.

Happy2Play
Posted

But if I set max bitrate it will transcode my bluray mkv remuxes which i like to direct-play.

 

Are you saying there isn't a difference in bitrate between your 1080p and 4K?

shpitz461
Posted

Many of the bluray remuxes exceed 30mbps (h264), my 4k recordings from the phone are also around 30-40mbps (but h265).

 

Would be great if I could set transcoding threashold parameters of sorts (codec/res/bitrate etc...).

Guest asrequested
Posted

You'd have to tell mpv not to support HEVC, to achieve your goal. I was looking to see if that was possible. I haven't found a solution.

Posted

What phone are your recordings not playing well on?

shpitz461
Posted

The phone plays the videos fine, only my NUC struggles.

 

ZTE Axon 7.

mastrmind11
Posted

again, change the max bitrate setting on your nuc.

Guest asrequested
Posted

Or use the store for those files. It doesn't support HEVC, so they'll be transcoded.

shpitz461
Posted

again, change the max bitrate setting on your nuc.

 

Will give it a shot, thanks!

 

Or use the store for those files. It doesn't support HEVC, so they'll be transcoded.

 

Which store? I"m on Windows 7.

shpitz461
Posted

post-3920-0-07623700-1529333722_thumb.jpg

FrostByte
Posted

ystem Requirements

Minimum

Your device must meet all minimum requirements to open this product Requirement name Requirement detail OS Windows 10, Windows 10 Mobile

shpitz461
Posted

Yep, i already stated I'm on Win 7 :)

 

I'll try the bitrate hack.

FrostByte
Posted

Yep, i already stated I'm on Win 7 :)

 

I'll try the bitrate hack.

 

Ya, I know.  That wasn't for you ;)

  • Like 1
Guest asrequested
Posted

Ha! Sorry, I missed that :)

 

Adjusting the bitrate will be a juggling act. I have HEVC files that have a much lower bitrate than a lot of my h264. Maybe you can find an acceptable threshold. Find the limit of your CPU, but you'll likely be transcoding at least some of your h264 files.

Guest asrequested
Posted

Here's a thought. You should be able to put windows 10 on your NUC, right?

shpitz461
Posted

i did, for 2 seconds, Win10 makes me hurl... :P

Guest asrequested
Posted

Lol...well I guess you'll have to fiddle with the bitrate.

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