Page 1 of 5

New Panasonic Profiles Requiring Testers.

PostPosted: Tue Jan 31, 2012 9:29 pm
by Cerberus
UPDTAED - 03/02/2012 @ 21:11 gmt

Please can users of following devices please test the profile related to there model and report if they are able to play all of their files and if not post information on files that wont play so that default profiles can be updated in serviio.( howto in my signature)


Profile for ST30 and VT30 both these TVs do not have AVI support so it requires transcoding.

  Code:
    <Profile id="24" 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" targetACodec="ac3">           
              <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>



Profile for E30, GT30 and UT30 these TVs have AVI support so it doesnt need transcoding

  Code:
    <Profile id="24" name="Panasonic Viera With AVI Support" extendsProfileId="1">
        <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PacketVideoDLNAMessageBuilder</ContentDirectoryMessageBuilder>
        <SubtitlesMimeType>text/srt</SubtitlesMimeType>
        <MediaFormatProfiles>
           <MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
        </MediaFormatProfiles>
        <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="avi" vCodec="h264" profile="high" levelGreaterThan="4.2" />
         <Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.2" />
         <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="avi" vCodec="h264" />
              <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" targetACodec="ac3">           
              <Matches container="avi" vCodec="mjpeg" />
              <Matches container="avi" vCodec="dvvideo" />
              <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>


Profile for S30 and X30 - i cant confirm for sure what specs these TVs have as they dont give out that information so you will need to test both profiles above


Thanks to Huyz for starting this i have made a few changes though to improve quality and reduce transcoding on certain models

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Tue Jan 31, 2012 9:47 pm
by voodooo
There are other things we need to understand in order to get a better E30 profile.

1 - Some mkv files stutter and we're getting close to know why, little more testing is needed. Once we got it we can set to transcode them.
2 - DTS audio can natively play on E30.

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Tue Jan 31, 2012 9:58 pm
by Cerberus
voodooo wrote:There are other things we need to understand in order to get a better E30 profile.

1 - Some mkv files stutter and we're getting close to know why, little more testing is needed. Once we got it we can set to transcode them.
2 - DTS audio can natively play on E30.



not alot i can do about stuttering but have removed the DTS remux line for that device can you test that exact profile and let me know of your findings.

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Wed Feb 01, 2012 3:39 pm
by PMI
I have been testing transcoding with help from voodooo for a few days. A lot of the good results are due to help from voodooo...

This is a summary of what we have found out so far:

The 2011 Viera E-series (and probably G-series) support AAC in MKV and MP4 files. MKV and MP4 files with h264 video and AC-3 or AAC audio play without transcoding, and so do MPEG-TS files.

For example, an AVI file with H.264 video and AAC audio has to be remuxed into an MPEG-TS container, but neither the video, not the audio needs to be transcoded.

In general, transcoding MKV files with H.264 video is not required, and in my tests caused problems with some files.

MKV files and MP4 files with H.264 and AC-3 or AAC audio play best with no transcoding, and no remuxing.
MKV files and MP4 files with mpeg2video seem to play best when they are simply remuxed to MPEG-TS.

According to Panasonic tech support, some files may play better when transcoded or remuxed into MPEG-TS container. I found this to be the case with a few WTV files recorded in HD from on air broadcast in WMC (windows Media Center). So, WTV files should probably be remuxed into either MPEG-PS or MPEG-TS. So far I have better luck with remuxing WTV to MPEG-PS with no transcoding. All files I have tried play this way, and not all play in the other cases.

WTV files seem to play best remuxed into MPEG-PS with no transcoding.

Some videos seem to "stutter" when encoded with h264 and a high number of reference frames. In general, this results in a higher "Level", but not always, so I am not considering this problem solved. The problems seems to start at or around the memory limit for Level 4 and 4.1, but some files start to stutter just below this limit, and some files play fine above this limit. I have at least one level 5 file which will play fine.

Some help is needed with this problem. My have to do with how the Viera TV allocates memory for reference frames when decoding H.264.

The last profile I have been testing with is attached below, but still needs improvement, with some help:

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Wed Feb 01, 2012 8:07 pm
by Cerberus
great bit of info PMI but that was not exactly what i ask and this is why i abandoned pansonic device last time, i need people to test the profiles i provide and give info on file that dont play not give me full profiles that i have to spend hours going over, when i dont even own the device. Also remeber we are building for the Range and not a specific model, so some thing i have set are because of a ceratin model that may work for your device but add more transcoding than it really needed, so then once complete i will add comments to teh profile for users to then tweak the profile to there exact device.

please test the profile profiled and tell me what will play and what will not.

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Wed Feb 01, 2012 8:18 pm
by voodooo
Cerberus, I'm testing PMI's profile for two weeks now, and we're trying to make it count.. The profile you provided is almost the same, except we are transcoding when video profile level is higher then 4.1. This is not the solution and we need to understand what are the videos that stutter cause right now, we transcode a lot of unnecessary files.

The thing is, with the profile you create there will be videos that will stutter and we need to make sure why and solve it or the general users will came here again and open a bunch of topics saying their videos are stuttering or this format cant be played. We have Panas and we're trying to improve Serviio for them.

Thanks for your effort.

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Wed Feb 01, 2012 8:20 pm
by Cerberus
ok

  Code:
       <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
      </MediaFormatProfiles>


and remux wtv files into mpeg TS.

added to the profile, as per PMIs profile but its extreme hard to work out if any of the rest is actualy needed or not, so please test the profile from first post.

voodooo wrote:Cerberus, I'm testing PMI's profile for two weeks now, and we're trying to make it count.. The profile you provided is almost the same, except we are transcoding when video profile level is higher then 4.1. This is not the solution and we need to understand what are the videos that stutter cause right now, we transcode a lot of unnecessary files.

The thing is, with the profile you create there will be videos that will stutter and we need to make sure why and solve it or the general users will came here again and open a bunch of topics saying their videos are stuttering or this format cant be played. We have Panas and we're trying to improve Serviio for them.

Thanks for your effort.


stutter i cant deal with yet as i said above, and im not doing this just for your specific model, please do as i requested and test the profile i provide and give feed back on it then once i have handle on it i can then advise on your stutter issue, help me to help you or there will never be a good working profile for panasonic like there is for samsung, sony and pure devices.

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Wed Feb 01, 2012 8:32 pm
by Cerberus
question is WTV files required in a TS or PS container as your comment say PS yet you rule changes it to TS????

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Wed Feb 01, 2012 9:23 pm
by PMI
Cerberus wrote:question is WTV files required in a TS or PS container as your comment say PS yet you rule changes it to TS????

Thank for catching that! I tested both ways, several times, and must have posted an incorrect version...

Not required, but PS container works better with wtv files. that section should have been:


<!-- Remux WTV files to MPEG-PS with no transcoding-->
<Video targetContainer="mpeg">
<Matches container="wtv" />
</Video>



When I use the MPEG-TS container, some wtv files I have recorded from broadcast will not play (most do, but not all).

Btw, I only posted what voodooo and I had been testing with so you could use whatever you wanted.

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Wed Feb 01, 2012 9:27 pm
by PMI
Cerberus wrote:please test the profile profiled and tell me what will play and what will not.
will do.

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Wed Feb 01, 2012 9:56 pm
by Cerberus
PMI wrote:
Cerberus wrote:question is WTV files required in a TS or PS container as your comment say PS yet you rule changes it to TS????

Thank for catching that! I tested both ways, several times, and must have posted an incorrect version...

Not required, but PS container works better with wtv files. that section should have been:


<!-- Remux WTV files to MPEG-PS with no transcoding-->
<Video targetContainer="mpeg">
<Matches container="wtv" />
</Video>



When I use the MPEG-TS container, some wtv files I have recorded from broadcast will not play (most do, but not all).

Btw, I only posted what voodooo and I had been testing with so you could use whatever you wanted.


ok profile updated with that info, please copy it from first post again as it has been edited.

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Thu Feb 02, 2012 8:33 am
by Tarrasque
Panasonic U30 series (same supported formats as E and G)

The new profile still does not play MKV's

mediainfo
  Code:
Format                           : Matroska
File size                        : 173 MiB
Duration                         : 21mn 28s
Overall bit rate                 : 1 129 Kbps
Encoded date                     : UTC 2012-02-01 08:27:51
Writing application              : mkvmerge v5.2.1 ('A Far Off Place') built on Jan  2 2012 23:21:10
Writing library                  : libebml v1.2.3 + libmatroska v1.3.0

Video
ID                               : 1
Format                           : MPEG-4 Visual
Format profile                   : Advanced Simple@L5
Format settings, BVOP            : Yes
Format settings, QPel            : No
Format settings, GMC             : No warppoints
Format settings, Matrix          : Default (H.263)
Codec ID                         : XVID
Codec ID/Hint                    : XviD
Duration                         : 21mn 28s
Width                            : 624 pixels
Height                           : 352 pixels
Display aspect ratio             : 16:9
Frame rate                       : 29.970 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Writing library                  : XviD 1.2.1 (UTC 2008-12-04)

Audio
ID                               : 2
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 3
Mode                             : Joint stereo
Mode extension                   : MS Stereo
Codec ID                         : A_MPEG/L3
Codec ID/Hint                    : MP3
Duration                         : 21mn 28s
Bit rate mode                    : Variable
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz


I tried PMI's profile which notes the 4.1, and those files play fine (also play fine if I use the phillips profile)

If you have some 'test' files I can run, and will tried running on all profiles. More than glad to help out

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Thu Feb 02, 2012 8:38 am
by Illico
Cerberus,
On first profile (first post), for Panasonic devices without AVI support, why did you keep these unnecessary lines?
  Code:
       <MediaFormatProfiles>
       <MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
      </MediaFormatProfiles>

In fact with this following lines:
  Code:
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">           
            <Matches container="avi"/>
...

All avi files will be transcoded

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Thu Feb 02, 2012 12:16 pm
by voodooo
Tarrasque wrote:The new profile still does not play MKV's


You have xvid inside mkv not an usual foramt I think. Try change the profile level to 4.1 with level editor: http://wiki.serviio.org/doku.php?id=avceditor

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Thu Feb 02, 2012 1:42 pm
by Cerberus
Illico wrote:Cerberus,
On first profile (first post), for Panasonic devices without AVI support, why did you keep these unnecessary lines?
  Code:
       <MediaFormatProfiles>
       <MediaFormatProfile mime-type="video/divx">AVI</MediaFormatProfile>
      </MediaFormatProfiles>

In fact with this following lines:
  Code:
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">           
            <Matches container="avi"/>
...

All avi files will be transcoded


cause i missed it, ah well removed it now :)

voodooo wrote:
Tarrasque wrote:The new profile still does not play MKV's


You have xvid inside mkv not an usual foramt I think. Try change the profile level to 4.1 with level editor: http://wiki.serviio.org/doku.php?id=avceditor


do we know what the highest profile level the device support is ? high 4.1 ?

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Thu Feb 02, 2012 2:15 pm
by voodooo
voodooo wrote:
Tarrasque wrote:The new profile still does not play MKV's


You have xvid inside mkv not an usual foramt I think. Try change the profile level to 4.1 with level editor: http://wiki.serviio.org/doku.php?id=avceditor


Cerberus wrote:do we know what the highest profile level the device support is ? high 4.1 ?


I believe PMI have tested with profile level 5 but with a lower resolution and reframe rate, something like, profile is set to 5 but fitting on profile 4.1 based on (width * height * ref_frames) / 256 http://wiki.serviio.org/doku.php?id=get_h264_level

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Thu Feb 02, 2012 2:20 pm
by pdneri
Is there a suggested profile for the G20 series?
Thanks!

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Thu Feb 02, 2012 2:24 pm
by voodooo
pdneri wrote:Is there a suggested profile for the G20 series?
Thanks!


Please post supported formats of you device (see sign).

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Thu Feb 02, 2012 2:25 pm
by Cerberus
ok so video bitrate is an issue then id guess, try adding this to the profile, its almost what PMI had in his profile with slight edit, real shame we have to transcode these files though.

  Code:
      <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" maxVBitrate="20000">
         <Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.1" />
         <Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.1" />
         <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.1" />
         <Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.1" />
         <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.1" />
         <Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.1" />
      </Video>


add it as first video section, then test it hard and see if we still have stuttering, if we do then we can try limiteding the audio bitrate too.

Re: New Panasonic Profiles Requiring Testers.

PostPosted: Thu Feb 02, 2012 2:26 pm
by Cerberus
pdneri wrote:Is there a suggested profile for the G20 series?
Thanks!


please start a new topic for G20 with its support information, so not to push this topic in different direction :)

http://wiki.serviio.org/doku.php?id=device_sf