Jump to content

Transcode in H265


Snaaaake

Recommended Posts

As explained in the other thread Emby Server does no encoding while recording.  It's just saving the streams AS IS into a TS (transport stream) file.  In your situation you would want this on the fly h.265 encoding (this thread) for Live TV use as well as using the convert feature to do the post process conversion to h.265 for long term storage.

Your post above shows why Emby is taking it's time with this trying to get it correct.  There is a lot of moving parts in Emby that need to be taking into consideration.

Link to comment
Share on other sites

syadnom
7 hours ago, cayars said:

As explained in the other thread Emby Server does no encoding while recording.  It's just saving the streams AS IS into a TS (transport stream) file.  In your situation you would want this on the fly h.265 encoding (this thread) for Live TV use as well as using the convert feature to do the post process conversion to h.265 for long term storage.

Your post above shows why Emby is taking it's time with this trying to get it correct.  There is a lot of moving parts in Emby that need to be taking into consideration.

I know, that's why I asked for that in the feature request thread.  Anyone watching live tv is either getting the mpeg2 stream (probably not) or hitting the transcoder.  Basically wanting a transcoding shim between the incoming mpeg2 stream and disk.

Would be perfectly happy to simply store the TV show as an HLS stream ready for streaming.

Link to comment
Share on other sites

  • 4 months later...
EricGRIT09

Curious as to how this is progressing - this is personally my #1 potential enhancement since ISPs hate to give bumps to upload speeds.  Thanks!

Edited by EricGRIT09
  • Like 1
Link to comment
Share on other sites

syadnom

thanks for the update.  with newer GPUs and Intel quicksync supporting HEVC encoding in hardware, this is a really exciting possibility.

Link to comment
Share on other sites

just a heads up, many of the budget "4k" streaming devices, such as Fire4k, new GoogleTV, etc are unable to decode H264 UHD 50/60fps streams.. the SoC's cap out at 30fps for AVC/H264, however they can all play 60fps on H265/HEVC just fine and dandy.. hit this issue with UHD Sports streams/recordings.

ATSC3 with OTA 4K is rolling out, I'll be getting 4k broadcasts soon and the new ATSC3 HDHomeRun tuner is looking like its going to be an inevitable purchase in 2021.

 

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
CyberPoison

It would be nice to get something like this if possible 

 

Hi everyone.

My idea is the next, It would be awesome if i can allow transcoding from h.264 to h.265 to get better Bitrates and lower files size.

So basically all my contents is on H.264 because of Web compatibility issues and for some of the content is not available in H265 so my idea is to force transcoding on the fly from H.264 -> H.265 in case the device support it, i really don't want to re convert all my library to h.265 because it can be 45 times the size of already used to maintain the h.264 + h.265 .

So allow people to transcode from h.264 to h.265 on the fly will be awesome to reduce bitrates and size at the end and depending in client support.

I currently i'm not allowing transcoding and as i can see on my networks records the egress from my NAS is very big and some of the content transcoded to h.265 on the fly will gain 40 percent of the bitrate maybe not sure how to calculate this, 

image.thumb.png.541c91b3eb47eec9d8577875086ee663.png

H.264 Content are usualy 7- 15 Gbytes and transcoded on the fly to h.265 will get better bitrates and final size (Weight) resulting more people on my NAS and server to watch content simultaneous.


==========================================================================================================================================

An other things to add to this feature Request will be to allow us to Deny Transcoding for a Specific Folder or Library because i have some library like 4K content not playable on web browsers so i deny all transcoding things, but if the things above is featured and developed it requires to allow "Codec UP Scale" Transcoding so it will be nice to have it divided and allow Up Codec transcoding like H.264 TO H.265 but not H.265 TO H.265 i guess this need very improvements to manage the transcoding. 

 

If there is already a way to do that thanks to give me a hand.

Kind Regards CyberPoison

image.thumb.png.541c91b3eb47eec9d8577875086ee663.png

Edited by CyberPoison
Link to comment
Share on other sites

CyberPoison
On 6/22/2017 at 8:56 PM, Luke said:

Do you mean for playback or for offline downloading? Because for playback, not all devices support h265 yet.

I guess he was talking to do something like me  read my post above 👆👆👆

Edited by CyberPoison
Link to comment
Share on other sites

CyberPoison
On 6/22/2017 at 9:07 PM, Snaaaake said:

playback, Emby for android TV with Shield with a poor connexion could use it.

 

If you put an option on

                                    Client side "Use H265"

                                    Server side "Allow users to use H265" 

 

like that you don't care if devices are compatible or not, User have the choice.

You are trying to do something similar like me? 

Check my post above with diagram. 

Link to comment
Share on other sites

syadnom

The app should be able to detect or know if a device supports h.265 and simply request that if it's configured.  You need h.265 hardware on both ends, but many people have this now or are not too far away from it considering that the last 3 generations of quicksync do it and as many nvidia generations as well. 

 

I would very very very much prefer h.265 streaming to my clients because many are not on my LAN.  1/2 the bitrate is really enticing.

  • Like 4
Link to comment
Share on other sites

  • 2 months later...
49 minutes ago, Peppe said:

Still no news about h265 transcoding possibility? Would a donation speed things up?

 

Link to comment
Share on other sites

5 minutes ago, byakuya32 said:

It already trascodes in h.265

No it doesn't.   You can do conversions but not transcodes.  All transcodes are at present to to H.264 codec and normally delivered via HLS.

Link to comment
Share on other sites

  • 2 weeks later...
runtimesandbox

Any update on this Luke? Being able to stream to supported client in H265 is going to be such a massive win for Emby

Link to comment
Share on other sites

No but if you store your files in H.265 then they can often be direct played in H.265 and if transcoding needs to take place will use.h.264.

  • Like 1
Link to comment
Share on other sites

mrfragger

My rule of thumb is have all video content x264 or x265* either as .mp4 or .mkv*. Never transcoded anything. In fact this was the main reason I chose Emby over Plex. I couldn’t figure out how to disable it in Plex. In Emby under the User settings uncheck “allow video transcoding”. 
 

only case I’d need for “allow audio transcoding” is if one uses a browser instead of a client so I generally doable that too. 
 

a couple years ago it was hit and miss before they allowed HLS streaming of subtitles as it wanted to burn in by transcoding certain types into the video. It’s no longer an issue at all. 
 

Two computers I have running Emby one is 2012 and the other is 2015 both with 4GB RAM each. They definitely do the job. Obviously if won’t work for those doing Live TV.  Plan on getting a Mac m1 possibly but not a till Emby can be run natively on Apple ARM silicon not under Rosetta. 

Link to comment
Share on other sites

syadnom

I'm wanting TOH265 transcoding specifically for live tv coming from an MPEG2 source. 

Right now I'm accomplishing this with xteve and a ffmpeg script but having the 'shim' in the way makes it so you can't do any adaptive bitrate stuff. 

Link to comment
Share on other sites

  • 5 months later...

Any updates on this? I regularly check this thread and release notes to see if h265 transcoding support has been added. I'd like it for the same reasons CyberPoison pointed out, mainly bandwidth optimization due to my poor upload speeds through comcast. I got new hardware to allow transcoding h265 to h264 (for clients whose hardware doesn't support h265), but most of my library consists of h264 content, although i'm slowly adding h265 content. I think it would be awesome to utilize the bandwidth improvements of h265 by transcoding the H264 to H265 on the fly. 

Link to comment
Share on other sites

heciruam
9 hours ago, jaycedk said:

You could use Tdarr to convert every thing to H265.

Have a look at this.

https://tdarr.io/

To me, transcoding power is not the issue. I'm limited by my upload bandwith. I don't want to waste extra hard drive space for the event that someone might watch that file remotely in the future.

Edited by heciruam
Link to comment
Share on other sites

syadnom
10 hours ago, jaycedk said:

You could use Tdarr to convert every thing to H265.

Have a look at this.

https://tdarr.io/

It's been said a few times, we don't want to batch encode, we want to transcode on-the-fly using h.265 encoder hardware so we can pull the best stream that session can handle.  Transcoding in advance permanently reduces quality or makes for multiple copies of files at different encoding levels.

  • Like 3
Link to comment
Share on other sites

runtimesandbox

Given that h265 encoding hardware is readily available these days too this is a no brainer. We can't all get these fancy 1gb up/down links 😂

Link to comment
Share on other sites

fizzyade
1 hour ago, syadnom said:

and that mobile data is still expensive and speeds are erratic...

Not in the UK though, I pay £18 pounds per month for unlimited mobile data (both on device or tethered), it’s a god send when I end up in hospital (which is quite a lot) although UK hospitals have been slowly eradicating the expensive WiFi services providers they used to partner with.

But 265 would still be preferred by me, for no other reason than it’s lower bandwidth, which can sometimes make a difference depending on signal strength.

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