[mythtv] [mythtv-commits] mythtv commit: r8574 - in trunk/mythtv by cpinkham

Robert Tsai rtsai1111 at comcast.net
Thu Jan 12 16:12:13 UTC 2006

On Thu, Jan 12, 2006 at 06:30:59AM +0000, mythtv at cvs.mythtv.org wrote:
>       Author: cpinkham
>         Date: 2006-01-12 06:30:58 +0000 (Thu, 12 Jan 2006)
> New Revision: 8574
>    Changeset: http://cvs.mythtv.org/trac/changeset/8574
> Modified:
>    trunk/mythtv/libs/libmythtv/recordingprofile.cpp
>    trunk/mythtv/programs/mythtranscode/transcode.cpp
> Log:
> Add a "Preserve Aspect Ratio" option to the Transcoding recording
> profiles when "Resize Video while transcoding" is turned on.  This
> preserves the original file aspect ratio of the recording by
> calculating the height based on the original file's aspect and the
> new file's width.  So, if your original recording was 1920x1088 and
> your new width was 640, the new calculated height would be 362.
> This way the recording is being scaled the same amount in both
> directions just by setting one number and it doesn't matter what the
> source file aspect is, the new file will be the same.
> NOTE: This is not the same as the aspect of the video displayed
> since you could have a 4:3 recording stored as 480x480 in the file
> such as the SVCD format.

This change looks interesting, but I'm not quite sure exactly how it's
intended to be used, but maybe that's because of how I use

I currently record OTA HD, and transcode everything to MP4 to either
856x480 ("High Quality"), 720x480 ("Medium Quality"), or 480x480 ("Low
Quality"). The reason is that I can only get a resolution of 856x480
on my television, so I don't see a need to keep anything above that.
So my 8GB/hr HD recordings end up getting transcoded to 1-2GB/hr.

And I don't see any weirdness in the aspect ratio of the transcoded
recordings ...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20060112/982e3d31/attachment.pgp

More information about the mythtv-dev mailing list