Page 1 of 1

AVI file, not centered

PostPosted: Wed Jun 15, 2011 9:18 am
by pc5dczc_nz
The following AVI file (episode one, series one of the Muppet Show) plays fine on my Vieara P42V20, but isn't centered. The picture is stretched to the full screen, but approximately 1/5th of the picture on the right side isn't showing. The file itself is fine, and is centered properly when viewed on VLC.

Here's what ffmpeg -i has to say about the file:

Input #0, avi, from 's01e01 - The Muppet Show s01ep01.avi':
Duration: 00:26:10.01, start: 0.000000, bitrate: 646 kb/s
Stream #0.0: Video: msmpeg4, yuv420p, 480x320, 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0.1: Audio: mp3, 22050 Hz, 2 channels, s16, 47 kb/s


My profile is as follows:
<!-- 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">
<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">
<Matches container="asf" />
<Matches container="mp4" />
<Matches container="matroska" />
</Video>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
<Matches container="avi" vCodec="mpeg4" aCodec="lpcm" />
<Matches container="flv" />
</Video>
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
<Matches container="avi" vCodec="h264" />
<Matches container="mp4" vCodec="h264" />
<Matches container="matroska" vCodec="h264" />
</Video>
<Audio targetContainer="mp3">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
</Audio>
</Transcoding>
</Profile>


I suspect this has something to do with the aspect ratio, as mentioned here: viewtopic.php?f=13&t=2055

EDIT: Interestingly, the following file (episode 2), with a slightly different aspect ratio, plays properly centered:

Input #0, avi, from 's01ep02 - The Muppet Show s01ep02.avi':
Duration: 00:26:02.32, start: 0.000000, bitrate: 823 kb/s
Stream #0.0: Video: msmpeg4, yuv420p, 480x360, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: mp3, 48000 Hz, 1 channels, s16, 64 kb/s

Re: AVI file, not centered

PostPosted: Wed Jun 15, 2011 10:25 am
by zip
The file is played natively so it's up to the TV to display it properly.

Re: AVI file, not centered

PostPosted: Wed Jun 15, 2011 11:34 am
by pc5dczc_nz
Stoopid TV! :)

Re: AVI file, not centered

PostPosted: Thu Jun 16, 2011 3:19 am
by DownUnder
Use the Aspect ratio button on the remote when playing AVI's to swap it from full screen to 4:3

Re: AVI file, not centered

PostPosted: Thu Jun 16, 2011 6:51 am
by pc5dczc_nz
DownUnder wrote:Use the Aspect ratio button on the remote when playing AVI's to swap it from full screen to 4:3


Good thought, but pushing the aspect button on the remote simply displays "16:9" in the top left corner, and doesn't result in any aspect switch.