Page 1 of 1

KDL-40EX710 mkv no video only audio

PostPosted: Sat Feb 12, 2011 9:36 am
by JEDO
Hi Folks,

Thanks so much for your product. I _will_ make a donation.

I am a noob. I've searched the forums but can't find an answer - it might be in there somewhere but I'm probably too green to know it when I read it.

When I start my KDL-40EX710 playing my Serviio hosted mkv files I can hear the audio but there is no video, just a black screen. One file (for example) is '<snip>.2000.1080p.bluray.x264-wpi.mkv'. This file works in VLC so i guess the file is not corrupt.

Any suggestions on how I could get this working would be much appreciated. Thanks so much : )

Here is the file details:

C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i d:\Movie\<snip>.
2000.1080p.bluray.x264-wpi.mkv
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Jan 10 2011 21:46:22 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-shared --disable-ffp
lay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --arch=x86 --e
nable-runtime-cpudetect --enable-w32threads --target-os=mingw32 --cross-prefix=i
686-mingw32-
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
[matroska,webm @ 0132bcb0] Estimating duration from bitrate, this may be inaccur
ate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (48000/
1001) -> 23.98 (48000/2002)
Input #0, matroska,webm, from 'd:\Movie\<snip>.1080p.bluray.
x264-wpi.mkv':
Duration: 01:57:57.12, start: 0.000000, bitrate: 640 kb/s
Stream #0.0: Video: h264, yuv420p, 1920x816, PAR 1:1 DAR 40:17, 23.98 fps, 2
3.98 tbr, 1k tbn, 47.95 tbc
Metadata:
title : Video
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
Metadata:
title : English (AC3)
At least one output file must be specified

C:\Program Files (x86)\Serviio\lib>

Re: KDL-40EX710 mkv no video only audio

PostPosted: Sat Feb 12, 2011 10:43 am
by Illico
Could provide MediaInfo result of this file?
- To check h264 level and profile.

Re: KDL-40EX710 mkv no video only audio

PostPosted: Sat Feb 12, 2011 10:29 pm
by JEDO
Thanks Illico : )

I hope this is the correct output:

General
Unique ID : 203794063479396615106058143631637322944 (0x99514F165205E6078DD1AAF533799CC0)
Complete name : D:\Movie\<snip>.2000.1080p.bluray.x264-wpi.mkv
Format : Matroska
File size : 7.95 GiB
Duration : 1h 57mn
Overall bit rate : 9 647 Kbps
Encoded date : UTC 2008-04-16 17:49:47
Writing application : mkvmerge v2.2.0 ('Turn It On Again') built on Mar 4 2008 12:58:26
Writing library : libebml v0.7.7 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 57mn
Bit rate : 9 004 Kbps
Width : 1 920 pixels
Height : 816 pixels
Display aspect ratio : 2.35:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.240
Stream size : 7.26 GiB (91%)
Title : Video
Writing library : x264 core 59 r807 08b5132
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=9004 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : A_AC3
Duration : 1h 57mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 540 MiB (7%)
Title : English (AC3)
Language : English

Re: KDL-40EX710 mkv no video only audio

PostPosted: Sun Feb 13, 2011 6:14 pm
by Illico
JEDO wrote:...
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
...


Well, High@L5.1 is too high profile, use TsMuxer Tools, change level to 4.1 and remux in a new file, add to serviio library and force library refresh.Enjoy...

Re: KDL-40EX710 mkv no video only audio

PostPosted: Mon Feb 14, 2011 7:41 am
by timbuktu
Hi JEDO,

I have this problem playing back any HD MKV files on my KDL-32V5500 when the video is not encoded exactly in 16:9 aspect ratio, i.e 1920 x 1080 or 1280 x 720. The only solution that has worked for me so far is to re-encode the video to 16:9, adding black bars to keep the original aspect ratio.

I hope for your sake re-muxing to a lower profile works, I'm into the second week of continuous re-encoding of my HD MKV files, and I wouldn't wish that on anyone.

Cheers.

Re: KDL-40EX710 mkv no video only audio

PostPosted: Mon Feb 14, 2011 11:15 am
by JEDO
Hey guys, thanks so much for your help, I've changed to 4.1 and it's working just fine now, no re-encoding. The new MediaInfo details are below is anyone is interested....

Please excuse my ignorance, but what have I just done to this file? Is the problem with my TV set? I did some reading around and it sounds like 5.1 is basically asking too much of the hardware in my TV set?

Last question, I had another 1080P MKV file that wasn't working. Based on this experience, I've demuxed the other file (which was 5.1) to 4.1 and now it plays, but it is kind of distorted during scenes with a lot of motion, it's like some sections of the TV screen don't refresh when they should, so 95% of the picture has changed to the new image, but 5% is still on the old image for a moment. Hope that makes sense.

Thanks again :)



-----------------------------------
General
ID : 1 (0x1)
Complete name : E:\Movies2\<snip>.bluray.x264-wpi.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 8.38 GiB
Duration : 1h 57mn
Overall bit rate : 10.2 Mbps
Maximum Overall bit rate : 35.5 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : 27
Duration : 1h 57mn
Bit rate mode : Variable
Bit rate : 9 004 Kbps
Maximum bit rate : 40.0 Mbps
Width : 1 920 pixels
Height : 816 pixels
Display aspect ratio : 2.35:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.240
Stream size : 7.52 GiB (90%)
Writing library : x264 core 59 r807 08b5132
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=9004 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.0

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : 129
Duration : 1h 57mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 540 MiB (6%)
Language : English

Re: KDL-40EX710 mkv no video only audio

PostPosted: Mon Feb 14, 2011 1:15 pm
by Illico
JEDO wrote:...Please excuse my ignorance, but what have I just done to this file? Is the problem with my TV set? I did some reading around and it sounds like 5.1 is basically asking too much of the hardware in my TV set?

Profiles: The standard defines 17 sets of capabilities, which are referred to as profiles, targeting specific classes of applications.
Level: As the term is used in the standard, a "level" is a specified set of constraints indicating a degree of required decoder performance for a profile.
http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Profiles

Sony is limited to High Profile, Level 4.1 according to his decoder buffering and capability architecture. But video maximum bitrate is also a parameter.

JEDO wrote:Last question, I had another 1080P MKV file that wasn't working. Based on this experience, I've demuxed the other file (which was 5.1) to 4.1 and now it plays, but it is kind of distorted during scenes with a lot of motion, it's like some sections of the TV screen don't refresh when they should, so 95% of the picture has changed to the new image, but 5% is still on the old image for a moment. Hope that makes sense.


As explain, change video profile and level, allow to pass through the decoder Profile/Level capability, but video maximum bitrate is another features that could hang the decoder.

Read the FAQ at the end of the first post: viewtopic.php?f=11&t=425#p2339


For example, your latest m2ts file use a very high maximum video bitrate (40Mbps) that could hang your TV decoder :

-----------------------------------
General
ID : 1 (0x1)
Complete name : E:\Movies2\gone.in.sixty.seconds.2000.1080p.bluray.x264-wpi.m2ts
...
Video
ID : 4113 (0x1011)
Format : AVC
Format profile : High@L4.1
Bit rate : 9 004 Kbps
Maximum bit rate : 40.0 Mbps

Audio
Format : AC-3
Bit rate : 640 Kbps
[/quote]

Re: KDL-40EX710 mkv no video only audio

PostPosted: Wed Feb 16, 2011 7:39 am
by JEDO
As explain, change video profile and level, allow to pass through the decoder Profile/Level capability, but video maximum bitrate is another features that could hang the decoder.


OK, thank you, again. So I could potentially fix this by setting the maxVBitrate ? What would be a sensible value for my TV set, I see maxVBitrate="15360" throughout this forum for Sony Bravia....

I changed the profile to this, stop and start serviio, but it still has the lagging / corrupted pitcture:

  Code:
   <Profile id="9" name="Sony Bravia TV" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <FriendlyName>BRAVIA.*</FriendlyName>
         </UPnPSearch>
      </Detection>
      <MediaFormatProfiles>
         <!-- rename native mpeg2ts with h264/ac3 ac3 formats to those supported by the tv -->
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_HD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
         <!-- rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
         <Video targetContainer="mpegts" maxVBitrate="15360" targetACodec="ac3" forceVTranscoding="true">
            <Matches container="asf" vCodec="mpeg2video" />
         </Video>
         <!--
            First remux all h264 video on MPEG-TS stream with ac3 audio transcoding, expected profile AVC_TS_MP_HD_AC3_ISO or
            AVC_TS_MP_SD_AC3_ISO
         -->
         <Video targetContainer="mpegts" maxVBitrate="15360" targetACodec="ac3" aBitrate="384">
            <Matches container="avi" vCodec="h264" />
            <Matches container="mp4" vCodec="h264" />
            <Matches container="matroska" vCodec="h264" />
            <!-- if audio different to ac3, must be transcoded -->
            <Matches container="mpegts" aCodec="aac" />
            <Matches container="mpegts" aCodec="mp3" />
            <Matches container="mpegts" aCodec="dca" />
         </Video>
         <!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio (MPEG_TS_SD_EU). -->
         <Video targetContainer="mpegts" maxVBitrate="15360" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="mp4" />
            <Matches container="matroska" />
            <Matches container="flv" />
         </Video>
      </Transcoding>
      <AutomaticImageRotation>true</AutomaticImageRotation>
   </Profile>

Re: KDL-40EX710 mkv no video only audio

PostPosted: Wed Feb 16, 2011 8:02 am
by Illico
JEDO wrote:...So I could potentially fix this by setting the maxVBitrate ? What would be a sensible value for my TV set, I see maxVBitrate="15360" throughout this forum for Sony Bravia....

maxVBitrate option is only used when video were transcoded (h264 --> mpeg2video), when h264 video were only remuxed we could not change video bitrate.
So if you want to limit the videobitrate you have to mached mkv with h264 video and transcode it to mpeg2video with maxVBitrate option like this:

  Code:
<Profile id="9" name="Sony Bravia TV" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <FriendlyName>BRAVIA.*</FriendlyName>
         </UPnPSearch>
      </Detection>
      <MediaFormatProfiles>
         <!-- rename native mpeg2ts with h264/ac3 ac3 formats to those supported by the tv -->
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_HD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
         <!-- rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
         <Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
            <Matches container="asf" vCodec="mpeg2video" />
         </Video>
         <!--
            First remux all h264 video on MPEG-TS stream with ac3 audio transcoding, expected profile AVC_TS_MP_HD_AC3_ISO or
            AVC_TS_MP_SD_AC3_ISO
         -->
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
            <Matches container="avi" vCodec="h264" />
            <Matches container="mp4" vCodec="h264" />
            <!-- <Matches container="matroska" vCodec="h264" /> -->
            <!-- if audio different to ac3, must be transcoded -->
            <Matches container="mpegts" aCodec="aac" />
            <Matches container="mpegts" aCodec="mp3" />
            <Matches container="mpegts" aCodec="dca" />
         </Video>
         <!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio (MPEG_TS_SD_EU). -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="15360" targetACodec="ac3" >
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="mp4" />
            <Matches container="matroska" />
            <Matches container="flv" />
         </Video>
      </Transcoding>
      <AutomaticImageRotation>true</AutomaticImageRotation>
   </Profile>

Re: KDL-40EX710 mkv no video only audio

PostPosted: Wed Feb 16, 2011 8:06 am
by JEDO
Thanks Illico, I updated my last post at the same time as your replied, this is my profile now which is still seeing the laggy picture:

  Code:
   <Profile id="9" name="Sony Bravia TV" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <FriendlyName>BRAVIA.*</FriendlyName>
         </UPnPSearch>
      </Detection>
      <MediaFormatProfiles>
         <!-- rename native mpeg2ts with h264/ac3 ac3 formats to those supported by the tv -->
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_HD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
         <!-- rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
         <Video targetContainer="mpegts" maxVBitrate="15360" targetACodec="ac3" forceVTranscoding="true">
            <Matches container="asf" vCodec="mpeg2video" />
         </Video>
         <!--
            First remux all h264 video on MPEG-TS stream with ac3 audio transcoding, expected profile AVC_TS_MP_HD_AC3_ISO or
            AVC_TS_MP_SD_AC3_ISO
         -->
         <Video targetContainer="mpegts" maxVBitrate="15360" targetACodec="ac3" aBitrate="384">
            <Matches container="avi" vCodec="h264" />
            <Matches container="mp4" vCodec="h264" />
            <Matches container="matroska" vCodec="h264" />
            <!-- if audio different to ac3, must be transcoded -->
            <Matches container="mpegts" aCodec="aac" />
            <Matches container="mpegts" aCodec="mp3" />
            <Matches container="mpegts" aCodec="dca" />
         </Video>
         <!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio (MPEG_TS_SD_EU). -->
         <Video targetContainer="mpegts" maxVBitrate="15360" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="mp4" />
            <Matches container="matroska" />
            <Matches container="flv" />
         </Video>
      </Transcoding>
      <AutomaticImageRotation>true</AutomaticImageRotation>
   </Profile>

Re: KDL-40EX710 mkv no video only audio

PostPosted: Wed Feb 16, 2011 8:13 am
by Illico
Please, test with my profile proposition. Compare with yours, you'll understand why.

Re: KDL-40EX710 mkv no video only audio

PostPosted: Wed Feb 16, 2011 10:00 am
by JEDO
Thanks for your persistance Illico.

Here is the profile I am running now (C:\Program Files (x86)\Serviio\config\profiles.xml)

  Code:
   <Profile id="9" name="Sony Bravia TV" extendsProfileId="1">
         <Detection>
            <UPnPSearch>
               <FriendlyName>BRAVIA.*</FriendlyName>
            </UPnPSearch>
         </Detection>
         <MediaFormatProfiles>
            <!-- rename native mpeg2ts with h264/ac3 ac3 formats to those supported by the tv -->
            <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_HD_AC3</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_SD_AC3</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
            <!-- rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
            <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
         </MediaFormatProfiles>
         <Transcoding>
            <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
            <Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
               <Matches container="asf" vCodec="mpeg2video" />
            </Video>
            <!--
               First remux all h264 video on MPEG-TS stream with ac3 audio transcoding, expected profile AVC_TS_MP_HD_AC3_ISO or
               AVC_TS_MP_SD_AC3_ISO
            -->
            <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
               <Matches container="avi" vCodec="h264" />
               <Matches container="mp4" vCodec="h264" />
               <!-- <Matches container="matroska" vCodec="h264" /> -->
               <!-- if audio different to ac3, must be transcoded -->
               <Matches container="mpegts" aCodec="aac" />
               <Matches container="mpegts" aCodec="mp3" />
               <Matches container="mpegts" aCodec="dca" />
            </Video>
            <!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio (MPEG_TS_SD_EU). -->
            <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="15360" targetACodec="ac3" >
               <Matches container="asf" />
               <Matches container="avi" />
               <Matches container="mp4" />
               <Matches container="matroska" />
               <Matches container="flv" />
            </Video>
         </Transcoding>
         <AutomaticImageRotation>true</AutomaticImageRotation>
      </Profile>



here is the mediainfo for the file I am trying to play:
  Code:
eneral
ID                               : 1 (0x1)
Complete name                    : E:\Movies2\<snip>.1080p.HDTV.x264-hV.m2ts
Format                           : BDAV
Format/Info                      : Blu-ray Video
File size                        : 8.39 GiB
Duration                         : 1h 59mn
Overall bit rate                 : 10.0 Mbps
Maximum Overall bit rate         : 35.5 Mbps

Video
ID                               : 4113 (0x1011)
Menu ID                          : 1 (0x1)
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 8 frames
Codec ID                         : 27
Duration                         : 1h 59mn
Bit rate mode                    : Variable
Bit rate                         : 9 126 Kbps
Maximum bit rate                 : 40.0 Mbps
Width                            : 1 920 pixels
Height                           : 816 pixels
Display aspect ratio             : 2.35:1
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.233
Stream size                      : 7.73 GiB (92%)
Writing library                  : x264 core 56 svn-667C
Encoding settings                : cabac=1 / ref=5 / deblock=1:-4:-4 / analyse=0x3:0x133 / me=umh / subme=6 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=2 / deadzone=4,6 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=9126 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / zones=173169,179370,b=0.15 / aq=1:0.3:15.
Language                         : English

Audio
ID                               : 4352 (0x1100)
Menu ID                          : 1 (0x1)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Codec ID                         : 129
Duration                         : 1h 59mn
Bit rate mode                    : Constant
Bit rate                         : 384 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Compression mode                 : Lossy
Stream size                      : 328 MiB (4%)
Language                         : English


and here is a screenshot of what is happening:


am I still doing something wrong? The video plays fine with VLC.

Re: KDL-40EX710 mkv no video only audio

PostPosted: Wed Feb 16, 2011 10:14 am
by Illico
JEDO wrote:here is the mediainfo for the file I am trying to play:
...
am I still doing something wrong? The video plays fine with VLC.


I'm an idiot, I did not see that the file was no longer a MKV but M2TS.
So this MPEG2TS with H264 and AC3 must be transcoded to MPEG2TS with MPEG2VIDEO and AC3 audio to limit the videobitrate.
Could you try this:
  Code:
<Profile id="9" name="Sony Bravia TV" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <FriendlyName>BRAVIA.*</FriendlyName>
         </UPnPSearch>
      </Detection>
      <MediaFormatProfiles>
         <!-- rename native mpeg2ts with h264/ac3 ac3 formats to those supported by the tv -->
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_HD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3">AVC_TS_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
         <!-- rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
         <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
         <Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
            <Matches container="asf" vCodec="mpeg2video" />
         </Video>
         <!--
            First remux all h264 video on MPEG-TS stream with ac3 audio transcoding, expected profile AVC_TS_MP_HD_AC3_ISO or
            AVC_TS_MP_SD_AC3_ISO
         -->
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
            <Matches container="avi" vCodec="h264" />
            <Matches container="mp4" vCodec="h264" />
            <Matches container="matroska" vCodec="h264" />
            <!-- if audio different to ac3, must be transcoded -->
            <Matches container="mpegts" aCodec="aac" />
            <Matches container="mpegts" aCodec="mp3" />
            <Matches container="mpegts" aCodec="dca" />
         </Video>
         <!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio (MPEG_TS_SD_EU). -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
            <Matches container="mpegts" vCodec="h264" aCodec="ac3" />
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="mp4" />
            <Matches container="matroska" />
            <Matches container="flv" />
         </Video>
      </Transcoding>
      <AutomaticImageRotation>true</AutomaticImageRotation>
   </Profile>

Re: KDL-40EX710 mkv no video only audio

PostPosted: Wed Feb 16, 2011 10:23 am
by JEDO
I'm an idiot, I did not see that the file was no longer a MKV but M2TS.


Hehe, hardly!

Hmm, changed profile to that most recent one, restarted Serviio, but still same laggy picture - I notice that in the most recent profile sample you provided there is no "maxVBitrate", should that be in there?

Re: KDL-40EX710 mkv no video only audio

PostPosted: Wed Feb 16, 2011 11:20 am
by Illico
JEDO wrote:...Hmm, changed profile to that most recent one, restarted Serviio, but still same laggy picture - I notice that in the most recent profile sample you provided there is no "maxVBitrate", should that be in there?

Its not a good day today..... :?
Yes, I missed "maxVBitrate" option, you could add it.
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="15360" targetACodec="ac3" >

Re: KDL-40EX710 mkv no video only audio

PostPosted: Sun Feb 20, 2011 4:18 am
by JEDO
Thanks, that did the trick : )