Jump to content


Photo

4.3.0.12 - Convert to hevc


  • Please log in to reply
27 replies to this topic

#1 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139859 posts
  • Local time: 10:51 PM

Posted 06 October 2019 - 02:25 PM

This will be in Emby Server 4.3. When you use the convert media feature, or folder sync/cloud sync, you'll have more control over the target container and codecs now. Hevc will be among the video codec options:

 

5d965e9bc6118_Untitled.png


  • Charlie117 and bizarro252 like this

#2 Senna OFFLINE  

Senna

    iOS - iPadOS - tvOS

  • Members
  • 1158 posts
  • Local time: 04:51 AM

Posted 06 October 2019 - 03:17 PM

Will there be a setting to do H264 >> HEVC GPU conversions ?

Now I mostly see my CPU doing the job, instead of my GPU.

 

5d9a3d7658e60_43012_GTX1060.png

 

5d9a3c1b96166_43012_transcoding_settings



#3 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139859 posts
  • Local time: 10:51 PM

Posted 06 October 2019 - 03:27 PM

There's no separate setting needed. Please make sure to attach log file examples. thanks.



#4 Charlie117 OFFLINE  

Charlie117

    Advanced Member

  • Members
  • 66 posts
  • Local time: 04:51 AM

Posted 06 October 2019 - 03:29 PM

Excited about this. Will definitely help testing once Emby Server 4.3 is available. 

 

Thanks for adding this Luke!

 

(edit: i see it's already available lol)


Edited by Charlie117, 06 October 2019 - 03:30 PM.


#5 Senna OFFLINE  

Senna

    iOS - iPadOS - tvOS

  • Members
  • 1158 posts
  • Local time: 04:51 AM

Posted 06 October 2019 - 03:32 PM

There's no separate setting needed. Please make sure to attach log file examples. thanks.

Will pass that torch to others to test. Not in the position now to do extensive testing.

Using ffmpeg already to do GPU conversions to HEVC.



#6 Charlie117 OFFLINE  

Charlie117

    Advanced Member

  • Members
  • 66 posts
  • Local time: 04:51 AM

Posted 06 October 2019 - 03:48 PM

Will pass that torch to others to test. Not in the position now to do extensive testing.

Using ffmpeg already to do GPU conversions to HEVC.

 

I'm just running my first HEVC conversion and it's definitely using my GPU for hardware transcoding. 



#7 daedalus OFFLINE  

daedalus

    Advanced Member

  • Members
  • 1175 posts
  • Local time: 04:51 AM

Posted 06 October 2019 - 04:24 PM

is there no resolution control in the custom profile ?



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139859 posts
  • Local time: 10:51 PM

Posted 06 October 2019 - 06:05 PM

is there no resolution control in the custom profile ?

 

The server will pick an appropriate resolution based on the chosen bitrate, but that's something that could be expanded upon in the future.



#9 MisterAngelus OFFLINE  

MisterAngelus

    Advanced Member

  • Members
  • 92 posts
  • Local time: 09:51 PM

Posted 07 October 2019 - 02:46 PM

I just tried this with some 1080p .h.264 converting to  h.265 worked great... but in my case takes to long on my old PC  and my 760 Geforce unless there' a setting i need to adjust... but either way works great


Edited by MisterAngelus, 12 October 2019 - 03:00 PM.


#10 byakuya32 OFFLINE  

byakuya32

    Advanced Member

  • Members
  • 71 posts
  • Local time: 10:51 PM

Posted 07 October 2019 - 04:24 PM

I did some testing this works great reduced a 1080p movie from 32gb to 1.8gb and a 4k movie from 42gb to 36gb while keeping the same quality. I did find it hangs on 1.5 percent for a while on the progress indicator while on the transfer step

#11 byakuya32 OFFLINE  

byakuya32

    Advanced Member

  • Members
  • 71 posts
  • Local time: 10:51 PM

Posted 07 October 2019 - 04:24 PM

This does not use my nvidia quadro m2000 though it is solely done by the CPU.

#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139859 posts
  • Local time: 10:51 PM

Posted 07 October 2019 - 04:59 PM

This does not use my nvidia quadro m2000 though it is solely done by the CPU.

 

  1. How to report a problem. Thanks.


#13 byakuya32 OFFLINE  

byakuya32

    Advanced Member

  • Members
  • 71 posts
  • Local time: 10:51 PM

Posted 10 October 2019 - 06:19 PM

Convert to hvec seems to be downgrading the resolutions on 1080p anime. 4k movies are fine. The resolution is downgraded to 720x404 from 1920x1080. I have only noticed this on 1 series called boruto. The files were mp4 and did the convert to mkv.

#14 zyfinity OFFLINE  

zyfinity

    Advanced Member

  • Members
  • 159 posts
  • Local time: 05:51 PM

Posted 10 October 2019 - 08:54 PM

Yep i had the exact same issue with my anime and tv shows, a fix would be great, also please add the option to NOT burn in the subtitles and instead leave them embedded.



#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139859 posts
  • Local time: 10:51 PM

Posted 12 October 2019 - 02:22 PM

There are a number of adjustments to this in 4.3.0.14, so please try them out. Thanks.



#16 mrfragger OFFLINE  

mrfragger

    Advanced Member

  • Members
  • 103 posts
  • Local time: 11:51 AM

Posted 12 October 2019 - 11:10 PM

I haven't had a chance to see the options in the new beta but is it strictly audio passthru or will there be an option to encode to OPUS 96kbps when convert to x265 hevc with an mkv container?



#17 byakuya32 OFFLINE  

byakuya32

    Advanced Member

  • Members
  • 71 posts
  • Local time: 10:51 PM

Posted 12 October 2019 - 11:16 PM

Seems the bugs are worked out would like to see the conversions use my nvidia quadro though

#18 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139859 posts
  • Local time: 10:51 PM

Posted 12 October 2019 - 11:22 PM

Seems the bugs are worked out would like to see the conversions use my nvidia quadro though

 

How to report a problem. Thanks.



#19 mrfragger OFFLINE  

mrfragger

    Advanced Member

  • Members
  • 103 posts
  • Local time: 11:51 AM

Posted 13 October 2019 - 09:23 AM

I'm on MacOS 4.3.0.14 and tried my first convert to hevc and it complains there isn't a encoder.  I believe it used to say in my advanced hardware config. Anyway I just wanna use the CPU so it's that gonna be possible?

 

So in my settings on emby I only have the following.  Think there used to be like 5 or 6 listed.This is on a MacMini 2012
Preferred Hardware Encoders
H.264 (AVC)
VideoToolbox H.264
2019-10-13 21:03:45.642 Error App: Error during sync transcoding
	*** Error Report ***
	Version: 4.3.0.14
	Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll -psn_0_573580
	Operating system: Unix 19.0.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll
	Processor count: 8
	Program data path: /Users/mrbass/.config/emby-server
	Application directory: /Applications/EmbyServer.app/Contents/MacOS
	System.Exception: System.Exception: No video encoder found for 'hevc'
	
	
	>>>>>>  FindVideoDecoder - MediaType: h264, Mode: Custom
	Info    FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)
	Info    FindVideoDecoder - Check successful - selecting 'Automatic software decoder'
	
	>>>>>>  FindVideoEncoder - Media: hevc, UseHardwareCodecs: True, Mode: Custom
	
	   at Emby.Server.MediaEncoding.Encoder.EncodingHelper.GetVideoEncoder(EncodingJobInfo state, EncodingOptions encodingOptions)
	   at Emby.Server.MediaEncoding.Encoder.EncodingHelper.GetProgressiveVideoFullCommandLine(EncodingJobInfo state, EncodingOptions encodingOptions, String outputPath)
	   at Emby.Server.MediaEncoding.Encoder.VideoEncoder.GetCommandLineArguments(EncodingJobInfo state, EncodingOptions encodingOptions)
	   at Emby.Server.MediaEncoding.Encoder.BaseEncoder.Start(EncodingJobOptions options, EncodingOptions encodingOptions, EncodingDiagnosticOptions encodingDiagnosticOptions, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.EncodeVideo(EncodingJobOptions options, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Sync.SyncJobProcessor.SyncVideo(SyncJobItem jobItem, Video item, User user, Boolean enableConversion, SyncOptions syncOptions, ISyncProvider provider, IProgress`1 progress, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Emby.Server.MediaEncoding.Codecs.Common.Types.ConfiguredVideoEncoder GetVideoEncoder(Emby.Server.MediaEncoding.Encoder.EncodingJobInfo, MediaBrowser.Model.Configuration.EncodingOptions)



#20 mrfragger OFFLINE  

mrfragger

    Advanced Member

  • Members
  • 103 posts
  • Local time: 11:51 AM

Posted 13 October 2019 - 09:36 AM

Ok so I set it to NO to use hardware acceleration but it still fails 

2019-10-13 21:30:20.477 Error App: Error during sync transcoding
	*** Error Report ***
	Version: 4.3.0.14
	Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll -psn_0_573580
	Operating system: Unix 19.0.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll
	Processor count: 8
	Program data path: /Users/mrbass/.config/emby-server
	Application directory: /Applications/EmbyServer.app/Contents/MacOS
	System.Exception: System.Exception: No video encoder found for 'hevc'
	
	
	>>>>>>  FindVideoDecoder - MediaType: h264, Mode: NoHardwareCodecs
	Info    FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)
	Info    FindVideoDecoder - Check successful - selecting 'Automatic software decoder'
	
	>>>>>>  FindVideoEncoder - Media: hevc, UseHardwareCodecs: True, Mode: NoHardwareCodecs
	
	   at Emby.Server.MediaEncoding.Encoder.EncodingHelper.GetVideoEncoder(EncodingJobInfo state, EncodingOptions encodingOptions)
	   at Emby.Server.MediaEncoding.Encoder.EncodingHelper.GetProgressiveVideoFullCommandLine(EncodingJobInfo state, EncodingOptions encodingOptions, String outputPath)
	   at Emby.Server.MediaEncoding.Encoder.VideoEncoder.GetCommandLineArguments(EncodingJobInfo state, EncodingOptions encodingOptions)
	   at Emby.Server.MediaEncoding.Encoder.BaseEncoder.Start(EncodingJobOptions options, EncodingOptions encodingOptions, EncodingDiagnosticOptions encodingDiagnosticOptions, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.EncodeVideo(EncodingJobOptions options, IProgress`1 progress, CancellationToken cancellationToken)
	   at Emby.Server.Sync.SyncJobProcessor.SyncVideo(SyncJobItem jobItem, Video item, User user, Boolean enableConversion, SyncOptions syncOptions, ISyncProvider provider, IProgress`1 progress, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Emby.Server.MediaEncoding.Codecs.Common.Types.ConfiguredVideoEncoder GetVideoEncoder(Emby.Server.MediaEncoding.Encoder.EncodingJobInfo, MediaBrowser.Model.Configuration.EncodingOptions)

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users