[mythtv-users] transcodes to 1.00:1 aspect ratio

Chris Pinkham cpinkham at bc2va.org
Tue Aug 8 06:53:08 UTC 2006


* On Sun Aug 06, 2006 at 10:25:54PM -0400, Scott Johnson wrote:
> I am using my PVR 150 card to create MPEG1/2 video files.  Then the 
> auto-trancoding is converting them to NUV MPEG4 files.  That is great 
> except that the aspect ratio of the NUV file is 1:1.  I used mplayer 
> -identify to find that out and of course just looking at the playback 
> using VLC it's obvious that the video is square.

Seems to work fine here:

mplayer -identify 2013_20060706200000.nuv | grep ID_
ID_VIDEO_ID=0
ID_AUDIO_ID=0
ID_FILENAME=2013_20060706200000.nuv
ID_VIDEO_FORMAT=DIVX
ID_VIDEO_BITRATE=21600000
ID_VIDEO_WIDTH=480
ID_VIDEO_HEIGHT=368
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=1.7778
ID_AUDIO_CODEC=mp3
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=426

That is a HD source that was automatically transcoded down
to a 480x368 recording that gets expanded to 16:9 upon playback
in both mythtv and mplayer.

Myth has supported putting the proper aspect ratio in nuv files
for quite a while, possibly since before 0.18 even.  I added the
code because I transcode my 16:9 MPEG-2 HD recordings down to
lower-res MPEG-4 files to save space and allow playback on slower
hardware.

--
Chris


More information about the mythtv-users mailing list