BloodyIron 24 Posted December 27, 2018 Posted December 27, 2018 I'm still testing, but I think the reason Emby is transcoding my 4k content is because the audio is DTS, and so I _suspect_ that it's also transcoding the video in-turn. I'm hoping to find a way to get Emby to transcode the audio so that it can do Direct Play when I want to go and play the media. I'm not yet finding it, but is there a way I can get Emby to transcode the _audio only_ for specific content, and then have it attach that audio as a new option to the media? If that's possible, can anyone point me to how? I'm a bit stuck here :S
Luke 42078 Posted December 27, 2018 Posted December 27, 2018 Hi there, have you explored our convert media feature? https://emby.media/community/index.php?/blog/1/entry-423-emby-server-34-released/ 1
BloodyIron 24 Posted December 27, 2018 Author Posted December 27, 2018 @@Luke I did see that, but I'm not finding a way to modify the profiles. The 4K content I'm working with is in the realm of 65mbps video, and I want to keep that aspect. Um, do I make a new profile, or what for this? Not seeing where to modify profiles either D:
Luke 42078 Posted December 27, 2018 Posted December 27, 2018 Did you explore the available options with the convert feature? what did you try? 1
BloodyIron 24 Posted December 27, 2018 Author Posted December 27, 2018 In Profile I saw "Mobile" and "TV". When I go to Quality, I see Original Quality, some bitrate examples, and Custom. Then Bitrate lets me set a bitrate, but I don't know if that's Video, Audio or Combined. I'm just concerned that Mobile and TV are profiles not tailored for the fidelity I'm seeking. I'm going to try Original quality with TV profile, but I'm unsure if this will get me what I seek. Thoughts? Did you explore the available options with the convert feature? what did you try?
BloodyIron 24 Posted December 27, 2018 Author Posted December 27, 2018 @@Luke by the way, thanks for your help on the holidays! I hope your December is treating you well! :DDD I'm just so excited to get this all sorted Your help here means a lot to me :DDD
Luke 42078 Posted December 27, 2018 Posted December 27, 2018 Why don't you think the TV profile will give you what you want? 1
BloodyIron 24 Posted December 27, 2018 Author Posted December 27, 2018 (edited) Because I'm a noob to how emby converts? Heh, if it's _supposed_ to give me what I want, then I guess I'm just misinterpreting this. I have a conversion task running with the TV profile now, at 20% so far. Once that's done, I'll try it out. As a related thing, I'm trying to find some sample videos, and this video _LOOKS_ like it should "just work" for Chromecast Direct Play, but it still transcodes it : http://4ksamples.com/4k-uhd-fireworks-sample/ Any idea why that isn't the case for this demo video? Why don't you think the TV profile will give you what you want? Edited December 27, 2018 by BloodyIron
BloodyIron 24 Posted December 27, 2018 Author Posted December 27, 2018 Also, once a convert task is done, what is the UX? Will it show up as an option when I play the original media? Or will it show up as another "episode" (if it's a series) or whatever?
BloodyIron 24 Posted December 27, 2018 Author Posted December 27, 2018 Oh, one last thing, does Converting strip HDR aspects?
BloodyIron 24 Posted December 27, 2018 Author Posted December 27, 2018 Even tried Big Buck Bunny, 4k 60fps : http://bbb3d.renderfarming.net/download.html It converts that to 1080p, even though codec looks compatible with Direct Play I suspect I'm missing something here...
BloodyIron 24 Posted December 27, 2018 Author Posted December 27, 2018 (edited) Okay so my first video conversion completed, and it changed the resolution from 4k to 1080p (and more) Original: -Video Title4K HEVC Codec HEVC Profile Main 10 Level153 Resolution 3840x2160 Aspect ratio 16:9 Interlaced No Framerate 25 Bitrate 48388 kbps Video range HDR Color primariesbt2020 Color spacebt2020nc Color transfersmpte2084 Pixel formatyuv420p10le Ref frames1 -Audio TitleEng DTS 5.1 Default Language eng Codec DTS Profile DTS-HD MA Layout 5.1 Channels 6 ch Sample rate48000 Hz Bit depth24 bit DefaultYes Transcoded: Video Title1080P H264 Codec H264 Codec tagavc1 AVCYes ProfileMain Level41 Resolution 1920x1080 Aspect ratio 16:9 Interlaced No Framerate 25 Bitrate 6233 kbps Bit depth 8 bit Pixel formatyuv420p Ref frames1 NAL4 Audio TitleUnd AAC 5.1 Default Language und Codec AAC Codec tagmp4a Profile LC Layout 5.1 Channels 6 ch Bitrate384 kbps Sample rate44100 Hz DefaultYes Containermp4 So it looks like: Resolution is not retained HDR is stripped Bitrate is MASSIVELY lost This is akin to what I was worried would happen Edited December 27, 2018 by BloodyIron
Luke 42078 Posted December 27, 2018 Posted December 27, 2018 We will need to add more profiles because currently they are intended to be h264 only, not hevc. In other words, if you tried this with an h264 input file and selected original quality, then the video would just be stream copied and not converted.
BloodyIron 24 Posted December 27, 2018 Author Posted December 27, 2018 (edited) Okay so what do you recommend I do for 4K HDR content at this time then? D: Not sure what I should do to get it streaming to my Chromecast Ultra, to keep 4K and HDR. But the audio, I'm okay with Stereo. I think if we could get more clarity as to what details the "Convert" for the selected content would switch to, would be great feedback for the user. (It's going to convert to this resolution, this codec, HDR will stay/strip, audio details, etc). Right now, I don't know anything until the conversion is complete. Also, another video, an H264 4K demo video I Converted ended up going to 1080P too, so not sure why it's down-ressing for that codec too D: We will need to add more profiles because currently they are intended to be h264 only, not hevc. In other words, if you tried this with an h264 input file and selected original quality, then the video would just be stream copied and not converted. Edited December 27, 2018 by BloodyIron
Luke 42078 Posted December 28, 2018 Posted December 28, 2018 Okay so my first video conversion completed, and it changed the resolution from 4k to 1080p (and more) Original: -Video Title4K HEVC Codec HEVC Profile Main 10 Level153 Resolution 3840x2160 Aspect ratio 16:9 Interlaced No Framerate 25 Bitrate 48388 kbps Video range HDR Color primariesbt2020 Color spacebt2020nc Color transfersmpte2084 Pixel formatyuv420p10le Ref frames1 -Audio TitleEng DTS 5.1 Default Language eng Codec DTS Profile DTS-HD MA Layout 5.1 Channels 6 ch Sample rate48000 Hz Bit depth24 bit DefaultYes Transcoded: Video Title1080P H264 Codec H264 Codec tagavc1 AVCYes ProfileMain Level41 Resolution 1920x1080 Aspect ratio 16:9 Interlaced No Framerate 25 Bitrate 6233 kbps Bit depth 8 bit Pixel formatyuv420p Ref frames1 NAL4 Audio TitleUnd AAC 5.1 Default Language und Codec AAC Codec tagmp4a Profile LC Layout 5.1 Channels 6 ch Bitrate384 kbps Sample rate44100 Hz DefaultYes Containermp4 So it looks like: Resolution is not retained HDR is stripped Bitrate is MASSIVELY lost This is akin to what I was worried would happen Can you provide the conversion ffmpeg log from this? thanks.
BloodyIron 24 Posted December 28, 2018 Author Posted December 28, 2018 I have PM'd you access to the file. At least, I'm quite certain this is the right transcode file. I have a bunch in there, and I filtered based on file name. I'm not sure if the transcode file I pointed to you is the "convert" task, or just background streaming. Can you provide the conversion ffmpeg log from this? thanks.
BloodyIron 24 Posted December 28, 2018 Author Posted December 28, 2018 Okay so I tried something new too. I copied one of my "ideal" guinea-pigs to my local computer and transcoded the audio only, then copied it back onto Emby to see if I could get them to Direct Play. Turns out, Emby thought it should transcode them anyways, so I'm very confused. First attempt, I converted the audio to AAC 8 Channel (7.1). Second attempt I converted the audio to AAC 2 Channel (Stereo). Below is the Emby stats for the 2 Channel one. BTW, for the Video component, I just did a pass-through method, no Video transcoding happened. Original: -Video Title4K HEVC CodecHEVC ProfileMain 10 Level153 Resolution3840x2160 Aspect ratio16:9 InterlacedNo Framerate23.9760246 Bitrate64195 kbps Video rangeHDR Color primariesbt2020 Color spacebt2020nc Color transfersmpte2084 Pixel formatyuv420p10le Ref frames1 -Audio TitleEng DTS 7.1 Default Languageeng CodecDTS ProfileDTS-HD MA Layout7.1 Channels8 ch Sample rate48000 Hz Bit depth24 bit DefaultYes Version I converted audio on local computer: -Video Title4K HEVC CodecHEVC ProfileMain 10 Level153 Resolution3840x2160 Aspect ratio16:9 InterlacedNo Framerate23.9760246 Bitrate60196 kbps Video rangeHDR Color primariesbt2020 Color spacebt2020nc Color transfersmpte2084 Pixel formatyuv420p10le Ref frames1 Containermkv -Audio TitleEng AAC stereo Default Languageeng CodecAAC ProfileLC Layoutstereo Channels2 ch Bitrate192 kbps Sample rate48000 Hz DefaultYes This is particularly confusing because so far as I can tell, the outputted file is in full compliance with Direct Play and the codecs that my built-in Chromecast Ultra is rated for ( https://developers.google.com/cast/docs/media ). The only thing that seems off is the Level of "153", I don't know why it's reporting that value as that seems to be a nonsense value. I am the confused
Luke 42078 Posted December 28, 2018 Posted December 28, 2018 I have PM'd you access to the file. At least, I'm quite certain this is the right transcode file. I have a bunch in there, and I filtered based on file name. I'm not sure if the transcode file I pointed to you is the "convert" task, or just background streaming. What convert quality did you select?
BloodyIron 24 Posted December 28, 2018 Author Posted December 28, 2018 TV profile, Original quality (bitrate?). What convert quality did you select?
Luke 42078 Posted December 28, 2018 Posted December 28, 2018 Are you sure you picked original? can you try it again and repeat the same behavior?
BloodyIron 24 Posted December 28, 2018 Author Posted December 28, 2018 I'm very confident, and I am certainly fine with trying it again. So, I used these parameters ( https://i.imgur.com/8GDRv4n.png ) for the same file that the transcode log I sent you references. Are you sure you picked original? can you try it again and repeat the same behavior?
Luke 42078 Posted December 28, 2018 Posted December 28, 2018 Ok, there's a lot of improvements with transcoding off of HEVC input for the upcoming 3.6 release. This shouldn't happen anymore with that. Thanks. 1
BloodyIron 24 Posted December 28, 2018 Author Posted December 28, 2018 If video files have HEVC and AAC audio, in 3.6, will they just Direct Play instead of transcode/demux or what? Or to put it another way, if I have a video file with HEVC + DTS-HD, will it only re/demux the audio and stream the content without transcoding the video? (faster) Ok, there's a lot of improvements with transcoding off of HEVC input for the upcoming 3.6 release. This shouldn't happen anymore with that. Thanks.
Luke 42078 Posted December 28, 2018 Posted December 28, 2018 I'm specifically talking about the large drop in bitrate. 1
BloodyIron 24 Posted December 28, 2018 Author Posted December 28, 2018 (edited) And what about the resolution and HDR? I'm specifically talking about the large drop in bitrate. Edited December 28, 2018 by BloodyIron
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now