FAQ  •  Register  •  Login

Google Chromecast

<<

bariman77

Serviio newbie

Posts: 1

Joined: Fri Dec 13, 2013 11:50 pm

Post Sat Dec 14, 2013 12:10 am

Google Chromecast

I am trying to figure out how to create a transcoding configuration for the Google Chromecast. Avia was just released to the play store which allows casting from a DLNA server. A few videos I tried worked since they were H.264 but any other format didn't work.
Since the Chromecast supports a very limited number of codecs, I was hoping to create a config that transcodes everything into one the the supported formats(H.264)(See the link for the supported formats https://developers.google.com/cast/supported_media_types). So I tried using the DirecTV HD-DVR profile as an example(Since it transcodes everything) but it did not work. Below is what I tried.

<Profile id="33" name="Google ChromeCast" extendsProfileId="1">
<Detection>
<UPnPSearch>
<ModelName>Chromecast</ModelName>
</UPnPSearch>
</Detection>
<DeviceDescription>
<FriendlyName>Serviio ({computerName}): 1</FriendlyName>
<ModelName>Chromecast</ModelName>
</DeviceDescription>
<Transcoding>
<Video targetContainer="mpeg" targetVCodec="h264" targetACodec="mp3" maxVBitrate="8192" forceStereo="true">
<Matches container="*" />
<!-- <Matches container="matroska" />
<Matches container="mp4" />
<Matches container="asf" />
<Matches container="avi" />
<Matches container="ogg" />
<Matches container="flv" />
<Matches container="3gp" />
<Matches container="rm" /> -->
</Video>
<Audio targetContainer="mp3">
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="adts" />
<Matches container="mp4" /> <!-- iTunes store m4a files need to be transcoded to play -->
<Matches container="mp2" />
<Matches container="wavpack" />
<Matches container="mpc" />
<Matches container="ape" />
</Audio>
</Transcoding>
<OnlineTranscoding>
<Video targetContainer="mpeg" targetVCodec="h264" targetACodec="mp3" maxVBitrate="8192" forceStereo="true">
<Matches container="*" />
</Video>
</OnlineTranscoding>
<HardSubsTranscoding>
<Video targetContainer="mpeg" targetVCodec="h264" targetACodec="mp3" maxVBitrate="8192" forceStereo="true"/>
</HardSubsTranscoding>
</Profile>

Any help would be great thanks.
<<

sk8rphink

Serviio newbie

Posts: 13

Joined: Mon Dec 16, 2013 2:09 pm

Post Mon Dec 16, 2013 2:11 pm

Re: Google Chromecast

I am also trying to figure this out. It seems like one of the existing profiles should work, but I can't find one. I've read that http://www.bubblesoftapps.com/bubbleupnpserver/ might work, but it was too complicated for me.
<<

jvskill

Serviio newbie

Posts: 8

Joined: Mon Dec 16, 2013 10:58 pm

Post Mon Dec 16, 2013 11:24 pm

Re: Google Chromecast

The problem I'm having is getting the Console to recognize the Chromecast as a renderer at all. Anytime I play compatible files, it does not show up on the Status Tab under the Renderer Profile section. I'm sure this is because the Chromecast is not a true renderer and more of a web browser, but I was hoping that there would be some way to transcode the incompatible file types.

I know that the paid version has the MediaBrowser web-based player and providing functions for Chromecast to work properly could possibly be used as a work around for the paid feature, but if that function was provided on a local basis, then the 2 features could work without cannibalizing on each other's use.
<<

sk8rphink

Serviio newbie

Posts: 13

Joined: Mon Dec 16, 2013 2:09 pm

Post Mon Dec 16, 2013 11:32 pm

Re: Google Chromecast

It seems that if I can play it with avia on my galaxy nexus then I can play it on the chrome cast. I think we just need a profile that converts all audio to mp3 or aac. All my videos seem to have an OK video codec, but converting them to h264 couldn't hurt either. That is if your computer can keep up with the real time conversion.
<<

sk8rphink

Serviio newbie

Posts: 13

Joined: Mon Dec 16, 2013 2:09 pm

Post Tue Dec 17, 2013 12:10 am

Re: Google Chromecast

I think that Avia on your phone is the only renderer Serviio needs to directly see. I'd try to test more, but I can't even open the program anymore. I think it is because I have also tried to get the PS3 Media server to work. I've read that can transcode on the fly as well. I've installed and uninstalled both programs and Java 6 and 7 multiple times, and now I can't open Serviio.
<<

sk8rphink

Serviio newbie

Posts: 13

Joined: Mon Dec 16, 2013 2:09 pm

Post Tue Dec 17, 2013 1:07 pm

Re: Google Chromecast

I turns out that the reason Serviio wouldn't open is because I tried to edit the profiles file. I reverted back to the original file, and now it opens fine. I'll just wait for someone with more skill than I to figure it out.
<<

mightymouse2045

Streaming enthusiast

Posts: 45

Joined: Sun Jan 15, 2012 11:16 am

Post Tue Dec 17, 2013 6:43 pm

Re: Google Chromecast

I deleted this to clear space - it seems it wasn't relevant to chromecast any way.
Last edited by mightymouse2045 on Thu Dec 19, 2013 5:41 am, edited 1 time in total.
<<

daxmorsu

Serviio newbie

Posts: 2

Joined: Thu Dec 19, 2013 12:56 am

Post Thu Dec 19, 2013 12:58 am

Re: Google Chromecast

I've tested the last quoted profile.

According the logs the transcoding is working and the device is detected fine. On the player I have the audio but I can't see any video?

Any idea to fix this profile?

Thanks,,,
<<

mightymouse2045

Streaming enthusiast

Posts: 45

Joined: Sun Jan 15, 2012 11:16 am

Post Thu Dec 19, 2013 5:16 am

Re: Google Chromecast

daxmorsu wrote:I've tested the last quoted profile.

According the logs the transcoding is working and the device is detected fine. On the player I have the audio but I can't see any video?

Any idea to fix this profile?

Thanks,,,


Quite frankly I don't understand why you couldnt play anything to it - but it seems believe it or not that the chromecast is actually processing the video, which is pretty amazing.

This is the profile from plexmediaserver which is listed as a supported app for chromecast:

  Code:
<?xml version="1.0" encoding="utf-8"?>
<Client name="Chromecast">
  <!-- Author: Plex Inc. -->
  <TranscodeTargets>
    <VideoProfile protocol="hls" container="mpegts" codec="h264" audioCodec="mp3" context="streaming">
      <Setting name="VideoEncodeFlags" value="-x264opts bframes=3:cabac=1" />
      <Setting name="SubtitleSize" value="100" />
    </VideoProfile>
    <VideoProfile protocol="dash" container="mp4" codec="h264" audioCodec="aac" context="streaming">
      <Setting name="VideoEncodeFlags" value="-x264opts bframes=3:cabac=1" />
    </VideoProfile>
    <VideoProfile container="mp4" codec="h264" audioCodec="mp3" context="static">
      <Setting name="VideoEncodeFlags" value="-x264opts cabac=0" />
      <Setting name="SubtitleSize" value="100" />
    </VideoProfile>
    <MusicProfile container="mp3" codec="mp3" />
    <PhotoProfile container="jpeg" />
  </TranscodeTargets>
  <TranscodeTargetProfiles>
    <VideoTranscodeTarget protocol="dash" context="streaming">
     <VideoCodec name="*">
       <Limitations>
         <UpperBound name="video.width" value="1280" />
         <UpperBound name="video.height" value="720" />
         <UpperBound name="video.bitrate" value="4000" isRequired="false" />
       </Limitations>
     </VideoCodec>
    </VideoTranscodeTarget>
  </TranscodeTargetProfiles>
  <DirectPlayProfiles>
    <VideoProfile container="mp4" codec="h264" audioCodec="aac" />
    <MusicProfile container="mp4" codec="aac" />
    <MusicProfile container="mp3" codec="mp3" />
    <PhotoProfile container="jpeg,gif,bmp,png" />
  </DirectPlayProfiles>
  <ContainerProfiles>
    <VideoContainer name="mp4">
      <Limitations>
        <Match name="part.optimizedForStreaming" value="1" />
      </Limitations>
    </VideoContainer>
  </ContainerProfiles>
  <CodecProfiles>
    <VideoCodec name="*">
      <Limitations>
        <UpperBound name="video.width" value="1920" />
        <UpperBound name="video.height" value="1080" />
        <UpperBound name="video.bitDepth" value="8" isRequired="false" />
      </Limitations>
    </VideoCodec>
    <VideoAudioCodec name="mp3">
      <Limitations>
        <UpperBound name="audio.bitrate" value="320" />
        <UpperBound name="audio.channels" value="2" />
      </Limitations>
    </VideoAudioCodec>
    <VideoAudioCodec name="aac">
      <Limitations>
        <UpperBound name="audio.bitrate" value="768" />
        <UpperBound name="audio.channels" value="6" />
      </Limitations>
    </VideoAudioCodec>
    <MusicCodec name="mp3">
      <Limitations>
        <UpperBound name="audio.bitrate" value="320" />
        <UpperBound name="audio.channels" value="2" />
      </Limitations>
    </MusicCodec>
  </CodecProfiles>
</Client>



Notice it states that directplay (ie NO transcoding) is supported for:
  Code:
<VideoProfile container="mp4" codec="h264" audioCodec="aac" />   --- mp4 container, h264 video WITH aac audio.
    <MusicProfile container="mp4" codec="aac" /> -- mp4 container with aac audio supported to 768k bitrate
    <MusicProfile container="mp3" codec="mp3" /> -- mp3 supported up to 320k bitrate.


It also places a 4Mbits limit on all transcoded video, AND 720p as the max size. So it seems 1080p is only supported IF the video is optimised for streaming and video bit depth of 8..

  Code:
      <Limitations>
        <UpperBound name="video.width" value="1920" />
        <UpperBound name="video.height" value="1080" />
        <UpperBound name="video.bitDepth" value="8" isRequired="false" />
      </Limitations>


As it doesn't seem to do that itself to support all transcoded video at 1080p, it could mean that the videos would have to be transcoded manually to support that (possibly it is a complicated ffmpeg command?) OR perhaps plex doesn't support it?

So taking the above settings into account I would change your profile to those I've listed below:


Try 'Google SmartCast first' - this hopefully will work as is with everything:

If not try 'Google AllCast', which matches everything and will encode everything (even those that work natively):

Looking at the HLS and DASH part of the plex profile. I'm assuming that AVIA is the one that handles that side of it, but there is an applehttp container option in serviio which works nicely.
So you can try 'Google AppleCast' last to see if it works for you


To make it a bit easier for you here are all three profiles, just copy and paste them at the end of the profiles.xml before </profiles> - then you can manually select them in serviio console to see which one works (if any):

  Code:
   <Profile id="cast1" name="Google SmartCast" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <ModelName>Chromecast</ModelName>
         </UPnPSearch>
      </Detection>
      <DeviceDescription>
         <FriendlyName>Serviio ({computerName}): 1</FriendlyName>
         <ModelName>Chromecast</ModelName>
      </DeviceDescription>
      <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
      <Transcoding>
         <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="aac" maxVBitrate="4000" aBitrate="768" forceStereo="true" maxHeight="720">
            <Matches container="matroska" />
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="ogg" />
            <Matches container="flv" />
            <Matches container="3gp" />
            <Matches container="rm" />
            <Matches container="*" aCodec="dca" />
            <Matches container="*" aCodec="truehd" />
            <Matches container="*" vCodec="h264" profile="high_10" />
            <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="3.2" />
            <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.1" />
         </Video>
         <Audio targetContainer="mp3" aBitrate="320">
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
            <Matches container="mp2" />
            <Matches container="wavpack" />
            <Matches container="mpc" />
            <Matches container="ape" />
         </Audio>
      </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="mp3" maxVBitrate="4000" aBitrate="320" forceStereo="true">
            <Matches container="*" />
         </Video>
      </OnlineTranscoding>
      <HardSubsTranscoding>
         <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="mp3" maxVBitrate="4000" aBitrate="320" forceStereo="true"/>
      </HardSubsTranscoding>
   </Profile>

   <Profile id="cast2" name="Google AllCast" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <ModelName>Chromecast</ModelName>
         </UPnPSearch>
      </Detection>
      <DeviceDescription>
         <FriendlyName>Serviio ({computerName}): 1</FriendlyName>
         <ModelName>Chromecast</ModelName>
      </DeviceDescription>
      <Transcoding>
         <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="aac" maxVBitrate="4000" aBitrate="768" forceStereo="true" maxHeight="720">
            <Matches container="*" />
         </Video>
         <Audio targetContainer="mp3" aBitrate="320">
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
            <Matches container="mp2" />
            <Matches container="wavpack" />
            <Matches container="mpc" />
            <Matches container="ape" />
         </Audio>
      </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="mp3" maxVBitrate="4000" aBitrate="320" forceStereo="true">
            <Matches container="*" />
         </Video>
      </OnlineTranscoding>
      <HardSubsTranscoding>
         <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="mp3" maxVBitrate="4000" aBitrate="320" forceStereo="true"/>
      </HardSubsTranscoding>
   </Profile>

   <Profile id="cast3" name="Google AppleCast" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <ModelName>Chromecast</ModelName>
         </UPnPSearch>
      </Detection>
      <DeviceDescription>
         <FriendlyName>Serviio ({computerName}): 1</FriendlyName>
         <ModelName>Chromecast</ModelName>
      </DeviceDescription>
      <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
      <Transcoding>
         <Video targetContainer="applehttp" targetVCodec="h264" targetACodec="aac" maxVBitrate="4000" aBitrate="768" forceStereo="true" maxHeight="720">
            <Matches container="matroska" />
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="ogg" />
            <Matches container="flv" />
            <Matches container="3gp" />
            <Matches container="rm" />
            <Matches container="*" aCodec="dca" />
            <Matches container="*" aCodec="truehd" />
            <Matches container="*" vCodec="h264" profile="high_10" />
            <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="3.2" />
            <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.1" />
         </Video>
         <Audio targetContainer="mp3" aBitrate="320">
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
            <Matches container="mp2" />
            <Matches container="wavpack" />
            <Matches container="mpc" />
            <Matches container="ape" />
         </Audio>
      </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="applehttp" targetVCodec="h264" targetACodec="mp3" maxVBitrate="4000" aBitrate="320" forceStereo="true">
            <Matches container="*" />
         </Video>
      </OnlineTranscoding>
      <HardSubsTranscoding>
         <Video targetContainer="applehttp" targetVCodec="h264" targetACodec="mp3" maxVBitrate="4000" aBitrate="320" forceStereo="true"/>
      </HardSubsTranscoding>
   </Profile>


Note also that if you have your TV connected to a receiver with HDMI audio return channel (ARC) support then you will want to remove forcestereo=true. You might want to remove that anyway if your TV supports surround (even with just two speakers), as it might downmix the channels better than what ffmpeg does.

Also in the video part - <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="aac" maxVBitrate="4000" aBitrate="768" forceStereo="true">

You can change aac to mp3 and the bitrate from 768 to 320 if there are any issues with audio.

Last but not least - as a test you can also remove the maxHeight="720" to see if 1080p works with the applehttp container profile, or the other 2 for that matter.

As I can't test these please let me know if they work at all! I have at least tested that they load and transcode properly on my Android devices but I can't test on chromecast.

UPDATED:

As you will be transcoding most if not all movies to chromecast I would also set the "Number of CPU cores to use:" to 2 or 3 (I use 2 without issue), to save your power consumption and extend your CPU life!!! (this setting is in the serviio console by the way)
<<

sk8rphink

Serviio newbie

Posts: 13

Joined: Mon Dec 16, 2013 2:09 pm

Post Thu Dec 19, 2013 1:38 pm

Re: Google Chromecast

I thought I was so close! Using the Google AppleCast profile and changing 768 to 320 like you suggested, I was able to finally get a file with AC3 audio to play on my Galaxy Nexus phone, however when I tried to cast it to the Chromecast, I got an Avia message saying that Chromecast does not support this file type. Even if I can get this to work, I'm pretty sure my computer is way to slow to do the conversion. Does the SmartCast option only convert what is necessary? For example, if the video is fine, but the audio isn't, it would only convert the audio.

Thanks so much for your help.
<<

sk8rphink

Serviio newbie

Posts: 13

Joined: Mon Dec 16, 2013 2:09 pm

Post Thu Dec 19, 2013 2:32 pm

Re: Google Chromecast

I also have tried the Smart Cast profile which I think my computer can keep up with. I can change the aBitrate to 320 and it will play on my phone. Changing the targetACodec to mp3 also works on the phone, but it won't play on the Chromecast. Avia/Chromecast isn't generous enough to explain what is wrong.

Another important thing to note is that if I uses XBMC as a UPnP server, I can play the video portion of the file totally fine through Avia on the Chromecast and on the phone. I just get no audio since it is not converting it. I assume this means that the problem lies in the audio somehow.

VLC gives the following information about the file I am trying to play. Hope that can help.
Type: Video
Codec: H264 - MPEG-4 AVC (part 10) (avc1)
Language: English
Resolution: 1280x530
Frame rate: 23.976215
Decoded format: Planar 4:2:0 YUV
Type: Audio
Codec A52 Audio (aka AC3) (a52)
Language: English
Channels: 3F2R/LFE
Sample rate: 48000 Hz
Bitrate: 384 kb/s
Type: Subtitles
Codec: Text subtitles with various tags (subt)
Language: English
<<

mightymouse2045

Streaming enthusiast

Posts: 45

Joined: Sun Jan 15, 2012 11:16 am

Post Thu Dec 19, 2013 3:12 pm

Re: Google Chromecast

... sorry deleted because not correct
Last edited by mightymouse2045 on Thu Dec 19, 2013 4:11 pm, edited 1 time in total.
<<

mightymouse2045

Streaming enthusiast

Posts: 45

Joined: Sun Jan 15, 2012 11:16 am

Post Thu Dec 19, 2013 3:16 pm

Re: Google Chromecast

... deleted - just use the following post instead
Last edited by mightymouse2045 on Thu Dec 19, 2013 4:11 pm, edited 1 time in total.
<<

mightymouse2045

Streaming enthusiast

Posts: 45

Joined: Sun Jan 15, 2012 11:16 am

Post Thu Dec 19, 2013 3:39 pm

Re: Google Chromecast

UPDATE:
Sorry I got a bit ahead of myself, adjust it as follows and it will just copy the video - not transcode it.

Change this in the allcast profile.

<Video targetContainer="mpegts" targetVCodec="h264" targetACodec="mp3" aBitrate="320" forceStereo="true">
<Matches container="*" />
</Video>

The above will match everything, but as your videos are already h264, it won't transcode them it will just mux the video and transcode the audio to mp3. For your movies that are h264 and mp3 then it will play as is without transcoding.
<<

mightymouse2045

Streaming enthusiast

Posts: 45

Joined: Sun Jan 15, 2012 11:16 am

Post Thu Dec 19, 2013 4:54 pm

Re: Google Chromecast

sk8rphink wrote:I also have tried the Smart Cast profile which I think my computer can keep up with. I can change the aBitrate to 320 and it will play on my phone. Changing the targetACodec to mp3 also works on the phone, but it won't play on the Chromecast. Avia/Chromecast isn't generous enough to explain what is wrong.


Just to confirm something also...

You have actually set the chromecast device to the profile and not your nexus correct? Or have you set both the chromecast and nexus to the google chromecast profile?

Also can you confirm that the applehttp profile doesn't play at all, with it set to the actual chromecast device in serviio console?
<<

sk8rphink

Serviio newbie

Posts: 13

Joined: Mon Dec 16, 2013 2:09 pm

Post Thu Dec 19, 2013 6:03 pm

Re: Google Chromecast

I didn't think Serviio directly sees the Chromecast. Only my phone shows up on the list of devices as an Avia device. However, now that you mention it, sometimes there is an unknown device listed. Maybe that is the Chromecast and I need to set the profile for it as well. I am at work now, but will try when I get home.
<<

jvskill

Serviio newbie

Posts: 8

Joined: Mon Dec 16, 2013 10:58 pm

Post Thu Dec 19, 2013 11:30 pm

Re: Google Chromecast

mightymouse2045,

Unfortunately, none of the profiles would play on Chromecast. I wasn't able to get compatible nor incompatible file types to transcode. I modified your Applecast profile to to remove the restrictions on certain h264 files.

  Code:
   <Profile id="cast0" name="Google ChromeCast" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <ModelName>Chromecast</ModelName>
         </UPnPSearch>
      </Detection>
      <DeviceDescription>
         <FriendlyName>Serviio ({computerName}): 1</FriendlyName>
         <ModelName>Chromecast</ModelName>
      </DeviceDescription>
      <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
      <Transcoding>
         <Video targetContainer="applehttp" targetVCodec="h264" targetACodec="mp3" maxVBitrate="10000" aBitrate="320">
            <Matches container="matroska" />
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="ogg" />
            <Matches container="flv" />
            <Matches container="3gp" />
            <Matches container="rm" />
            <Matches container="*" aCodec="dca" />
            <Matches container="*" aCodec="truehd" />
            <Matches container="*" aCodec="amrnb" />
            <Matches container="*" aCodec="real" />
            <Matches container="*" aCodec="flac" />
            <Matches container="*" aCodec="wmapro" />
            <Matches container="*" aCodec="wmav2" />
            <Matches container="*" aCodec="lpcm" />
            <Matches container="*" aCodec="mp2" />
            <Matches container="*" aCodec="ac3" />
            <Matches container="*" vCodec="h263" />
         </Video>
         <Audio targetContainer="mp3" aBitrate="320">
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
            <Matches container="mp2" />
            <Matches container="wavpack" />
            <Matches container="mpc" />
            <Matches container="ape" />
         </Audio>
      </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="applehttp" targetVCodec="h264" targetACodec="mp3" maxVBitrate="10000" aBitrate="320">
            <Matches container="*" />
         </Video>
      </OnlineTranscoding>
      <HardSubsTranscoding>
         <Video targetContainer="applehttp" targetVCodec="h264" targetACodec="mp3" maxVBitrate="10000" aBitrate="320" />
      </HardSubsTranscoding>
   </Profile>


I did quite a few different configurations of codecs to try to get transcoding to work. Currently, I'm using these 2 files as my test files:


This file works natively. 1920x800 movie
  Code:
General
Complete name : F:\Movies\XXXXXXXXXXXXXXXXXX.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 2.50 GiB
Duration : 2h 49mn
Overall bit rate mode : Variable
Overall bit rate : 2 110 Kbps
Encoded date : UTC 2013-02-28 18:20:47
Tagged date : UTC 2013-02-28 18:20:47

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2h 49mn
Bit rate : 2 012 Kbps
Maximum bit rate : 10.1 Mbps
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.055
Stream size : 2.38 GiB (95%)
Title : XXXXXXXXXXXXXXXXXXXXXX
Writing library : x264 core 129 r2245 bc13772
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=2012 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2013-02-28 18:20:47
Tagged date : UTC 2013-02-28 18:23:31

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2h 49mn
Bit rate mode : Variable
Bit rate : 96.0 Kbps
Maximum bit rate : 129 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 116 MiB (5%)
Language : English
Encoded date : UTC 2013-02-28 14:55:13
Tagged date : UTC 2013-02-28 18:23:31





This file does not work and sometimes the Chromecast will "play" but the time durations shows 6+ hours and wierd static audio. No Video. 720x400 Tv show.
  Code:
General
Complete name : E:\XXXXXXXXXXXXXXXXXXXXXX.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 353 MiB
Duration : 40mn 40s
Overall bit rate : 1 212 Kbps

Video
ID : 0
Format : MPEG-4 Visual
Format profile : Simple@L3
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 40mn 40s
Source duration : 40mn 40s
Bit rate : 1 071 Kbps
Width : 720 pixels
Height : 400 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.149
Stream size : 312 MiB (88%)
Writing library : XviD 1.1.2 (UTC 2006-11-01)

Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 40mn 40s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 37.2 MiB (11%)
Alignment : Split accross interleaves
Interleave, duration : 24 ms (0.60 video frame)
Interleave, preload duration : 373 ms
Writing library : LAME3.98




I would appreciate any suggestions!

Edit: Also I can confirm sk8rphink's observation that the Chromecast uses the profile tied to the Remote device!
<<

sk8rphink

Serviio newbie

Posts: 13

Joined: Mon Dec 16, 2013 2:09 pm

Post Thu Dec 19, 2013 11:35 pm

Re: Google Chromecast

No luck for me either. I just get the message from Avia that the format is supported. It definitely seems like there is some transcoding going on because ffmpeg.exe is maxing out my processor in Task Manger.
<<

daxmorsu

Serviio newbie

Posts: 2

Joined: Thu Dec 19, 2013 12:56 am

Post Thu Dec 19, 2013 11:38 pm

Re: Google Chromecast

On my experience if I use "Generic DLNA profile" the video is working fine (also it is embedding subtitles).
But the audio is not working.

I see in some profiles the video doesn't work but the audio it is working.

I think that this could be an issue with the container. Because when I use a container different from mpgs the app dosen´t play anything.

There are some way to get the generic dlna profile, but ensure that the audio will be always mp3?

Thanks,,,
<<

sk8rphink

Serviio newbie

Posts: 13

Joined: Mon Dec 16, 2013 2:09 pm

Post Fri Dec 20, 2013 12:27 am

Re: Google Chromecast

daxmorsu wrote:
I see in some profiles the video doesn't work but the audio it is working.


Which profiles are you able to get the audio to work without the video? I can't find any.
Next

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 23 guests

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