daxmorsu wrote: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,,,
I didn't see this - ok so according to your tests the behaviour on the chromecast itself is changing when changing profiles? This would imply that the profile on the control device (ie the phone,tablet or wherever you are running avia from), is the profile being applied to chromecast.
I'd still like you to test whether another unknown generic device appears in the list when actually casting (streaming) to the chromecast device, just to rule that out as a factor.
Can someone please get some logs - it could help!
Just change the settings in the log4j.xml in the config folder to this:
<category name="org.serviio">
<priority value="DEBUG"/>
</category>
<!-- use INFO for library stuff -->
<category name="org.serviio.library">
<priority value="ERROR"/>
</category>
(if the lines for library stuff, aren't in there then add them in!!, you should set the value back to ERROR for org.serviio and INFO for org.serviio.library after you are finished)
Save it, restart serviio service (not from the console) -
http://technet.microsoft.com/en-us/library/cc736564%28WS.10%29.aspx for those on windows.
Please try the following profiles only as it will be easier to work out what's happening - I only need one test on a known working file and one on a known NON working file. If you do the above and confirm that first before starting with the logging. It's also best to restart the service just before running the tests with the following profiles.
So to recap
1. Run a test cast to chromecast - while it's running click refresh on the status tab in the serviio console
2. Check if there is another unknown generic device and apply the chromecast profile below to it. If not then just apply it to the device running Avia.
3. Save the setting in the console
4. Stop the Serviio service and delete the serviio.log file
5. Restart the Serviio service
6. Start another cast to the chromecast
7. Open the Serviio.log and copy and paste it to pastebin.com - and paste the URL in here
8. Repeat steps 2 to 7 but apply the applecast profile next
9. Describe what happens with each profile.
We can rule out applehttp altogether if it's simply not playing at all through Avia, and then we'll have one profile to work with and hopefully a bit more of an idea of what's happening.
Both these profiles will only transcode the audio to MP3, and ONLY NON h264 video will be transcoded to h264. h264 files will play as is, but have the audio transcoded to MP3.
- Code:
<Profile id="cast2" 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="mpegts" targetVCodec="h264" targetACodec="mp3" aBitrate="320" forceStereo="true">
<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" aBitrate="320" forceStereo="true">
<Matches container="*" />
</Video>
</OnlineTranscoding>
<HardSubsTranscoding>
<Video targetContainer="mpegts" targetVCodec="h264" targetACodec="mp3" 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>
<Transcoding>
<Video targetContainer="applehttp" targetVCodec="h264" targetACodec="mp3" aBitrate="320" forceStereo="true">
<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="applehttp" targetVCodec="h264" targetACodec="mp3" aBitrate="320" forceStereo="true">
<Matches container="*" />
</Video>
</OnlineTranscoding>
<HardSubsTranscoding>
<Video targetContainer="applehttp" targetVCodec="h264" targetACodec="mp3" aBitrate="320" forceStereo="true"/>
</HardSubsTranscoding>
</Profile>
UPDATE: Please also confirm if this is in log4j.xml at the top:
<param name="MaxFileSize" value="500KB"
If yes then change it to
<param name="MaxFileSize" value="25500KB"
(Set it back afterwards)