FAQ  •  Register  •  Login

Is it possible to direct stream HEVC to chromecast ultra?

<<

codecjunkie

Serviio newbie

Posts: 3

Joined: Fri Jan 14, 2022 12:11 pm

Post Tue Jan 18, 2022 1:42 pm

Is it possible to direct stream HEVC to chromecast ultra?

Hi!
For starters, has used serviio for a couple of years now (running 1.10.1) and it has worked flawlessly direct streaming my movie collection to chromecast 2nd gen. I love it :D
Video files:
mp4 container
x264 4.1@high
first audio aac stereo
second audio ac3 5.1
no subtitles

I'm thinking of reencoding all bluray movies to same specs, replacing video stream with x265 8 bit main and direct stream to my chromecast ultra. Has done some tests and when casting AVC movies to chromecast ultra, application-profile "chromecast" is used and everything works. When casting HEVC nothing happens and I cannot find any information in logfile.
If I add below to "chromecast" section in application-profiles.xml....

<Video targetContainer="applehttp" >
<Matches container="mp4" vCodec="h265" aCodec="aac" />
</Video>

...this shows up in logfile...

2022-01-18 13:41:52,797 DEBUG [VideoDAOImpl] Reading a Video (id = 59001)
2022-01-18 13:41:52,798 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 59001 and profile Chromecast
2022-01-18 13:41:52,798 WARN [VideoDeliveryEngine] Cannot get media info for transcoded file "A Quiet Place (2018) x265.mp4": AppleHttp video file A Quiet Place (2018) x265.mp4 does not match any supported DLNA profile
2022-01-18 13:41:52,798 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "A Quiet Place (2018) x265.mp4": HLS
2022-01-18 13:41:52,798 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file "A Quiet Place (2018) x265.mp4": HLS


Is there some way to make this work?
<<

atc98092

User avatar

DLNA master

Posts: 5215

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Jan 18, 2022 4:29 pm

Re: Is it possible to direct stream HEVC to chromecast ultra

It appears that the Chromecast Ultra supports 4K/HDR/DV, so it must support H.265. There should be no need to transcode the video. If you need to transcode the audio, that would be different, but it's possible to transcode only the audio and leave the video alone.

Your transcoding line seems incomplete. The only thing it's accomplishing is changing the container from MP4 to HLS. From what I can find online, your Ultra supports the MP4 container, H.265 video and AAC audio. No transcoding should be required at all.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

codecjunkie

Serviio newbie

Posts: 3

Joined: Fri Jan 14, 2022 12:11 pm

Post Tue Jan 18, 2022 4:45 pm

Re: Is it possible to direct stream HEVC to chromecast ultra

I agree, this is weird, direct play of same file works fine through plex.

If I don't alter application-profiles.xml nothing happens at all, no lines in logfile nothing....
I can't get a grip of what the problem is.
<<

codecjunkie

Serviio newbie

Posts: 3

Joined: Fri Jan 14, 2022 12:11 pm

Post Tue Jan 18, 2022 8:03 pm

Re: Is it possible to direct stream HEVC to chromecast ultra

Casting the same movie, only difference between files is video stream x264...

2022-01-18 20:50:47,815 DEBUG [ResourceDeliveryProcessor] Request for resource 58980 and type 'MEDIA_ITEM' received
2022-01-18 20:50:47,815 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 58980 (local)
2022-01-18 20:50:47,815 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 58980)
2022-01-18 20:50:47,815 DEBUG [VideoDAOImpl] Reading a Video (id = 58980)
2022-01-18 20:50:47,815 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 58980, format AVC_MP4_MP_HD_1080i_AAC and profile Chromecast
2022-01-18 20:50:47,816 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 58980 (local)
2022-01-18 20:50:47,816 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 58980)
2022-01-18 20:50:47,816 DEBUG [VideoDAOImpl] Reading a Video (id = 58980)
2022-01-18 20:50:47,816 DEBUG [VideoDeliveryEngine] Delivering item '58980' for client 'Identifier=c41a36ded2c343ddb5aef937c724d868, Profile=Chromecast, Name=Remote client'
2022-01-18 20:50:47,817 DEBUG [VideoDeliveryEngine] Delivering file 'A Quiet Place (2018).mp4' in native format

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 97 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.