slyguy42o wrote:would you mind posting that profile here so we can see how AVI's are being handled?
Here you have the Panasonic one I am using (the TV does not seem to handle the audio properly - chopped/out-of-sync for many files):
<Profile id="30" name="Panasonic Viera With AVI Support" extendsProfileId="1">
<ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PacketVideoDLNAMessageBuilder</ContentDirectoryMessageBuilder>
<SubtitlesMimeType>text/srt</SubtitlesMimeType>
<Transcoding>
<!-- Transcode h264 videos with profile level > 4.1 to mpegts with ac3 audio -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" maxVBitrate="20000">
<Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
</Video>
<!-- remux VORBIS/FLAC/LPCM in MKV/MP4 to AC3 -->
<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="matroska" vCodec="h264" aCodec="flac" />
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />
<Matches container="matroska" vCodec="h264" aCodec="truehd" />
<Matches container="mp4" vCodec="h264" aCodec="lpcm"/>
<Matches container="mp4" vCodec="h264" aCodec="aac"/>
<Matches container="3gp" vCodec="h264" />
</Video>
<!-- Remux MPEG-TS with no transcoding -->
<Video targetContainer="mpegts">
<Matches container="mp4" vCodec="h264" />
<Matches container="matroska" vCodec="mpeg2video"/>
</Video>
<!-- Remux WTV files to MPEG-PS with no transcoding-->
<Video targetContainer="mpeg">
<Matches container="wtv" />
</Video>
<!-- unsupported codecs will be transcoded into mpeg-ts, mpeg2 video and ac3 audio -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384" forceInheritance="true">
<Matches container="avi" />
<Matches container="mp4" vCodec="mjpeg" />
<Matches container="mp4" vCodec="mpeg4" />
<Matches container="mpeg" vCodec="mpeg1video" />
<Matches container="matroska" vCodec="mpeg4" />
<Matches container="asf" />
<Matches container="flv" />
<Matches container="ogg" />
<Matches container="3gp" />
</Video>
<!-- unsupported audio will be transcoded into lpcm audio -->
<Audio targetContainer="lpcm">
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="asf" />
<Matches container="adts" />
</Audio>
</Transcoding>
</Profile>
This is the Sony profile I am using that works perfectly with the BluRay player:
<Profile id="sony2012us" name="Sony Bravia TV (2012) - US" extendsProfileId="sony2012">
<!-- 2012 models for US (without avi/divx)
- Still images: JPEG, MPO
- Music: MP3, linear PCM, WMA, MP4
- Video: AVCHD, MPEG2, MPEG1, MP4 (AVC), MP4 (MPEG4), WMV -->
<Transcoding>
<!-- Transcode DivX, AVI -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384" forceInheritance="true">
<Matches container="avi" vCodec="mpeg4" />
<Matches container="avi" vCodec="msmpeg4" />
<Matches container="avi" vCodec="mjpeg" />
</Video>
</Transcoding>
</Profile>
I used the aBitrate and maxVBitrate from the Sony profile on the Panasonic one (as you can see) to see if it would help. Nope, same thing.
I am leading towards something on the TV itself... If it could be fixed by Serviio, that would be incredible! At least for now the BluRay player has been working flawlessly so I do have a working solution. But would be awesome if all devices could perform as well as the Sony one at this stage.
Doing an ffmpeg -i on one of the problematic files this is what I get:
Input #0, avi, from '/Volumes/Video/Movies/Lost In Translation.avi':
Metadata:
encoder : VirtualDubMod 1.5.10.2 (build 2542/release)
Duration: 01:37:30.04, start: 0.000000, bitrate: 1999 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x384 [SAR 1:1 DAR 15:8], 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), s16, 448 kb/s
Thanks guys!
CR