LinHES Forums
http://forums.linhes.org/

Conv letterbox HD to full screen for Archiving dvd (Solved)
http://forums.linhes.org/viewtopic.php?f=15&t=17724
Page 1 of 1

Author:  jzigmyth [ Fri Jan 25, 2008 9:59 am ]
Post subject:  Conv letterbox HD to full screen for Archiving dvd (Solved)

Before reinventing the wheel, I wanted to check if anyone had already done this. I have some USA ota HD shows, I'd like to archive to DVD. When I use mytharchive (R5F27) it works fine and I end up with a DVD with the letterboxed show in a widescreen format with black bars at the top and the bottom.

I would prefer an end result of a DVD with a full screen picture, no black bars on the top or bottom, achieved by cutting off some of the picture on the left and the right. (similar to watching an HD show on Myth with the 16 x 9 zoom selected as the aspect ratio).

I'm assuming I need a modified encoder profile for mytharchive to do this. Maybe something using the "cropleft, cropright, croptop and cropbottom" commands. It also seems like these would need to be different, depending on whether the show was originally 1080i or 720p. If no one's done this, I'll start experimenting and report back if successful. Seems like one should also be able to make a DVD exclusively for a wide screen playback were the picture fills the screen from top to bottom and doesn't have the sides cropped. (it would wind up looking squeezed on on 4:3 TV).

Author:  jmckeown2 [ Fri Jan 25, 2008 12:17 pm ]
Post subject:  Re: Can you conv lettrbox HD to full screen for Archiving to

jzigmyth wrote:
Seems like one should also be able to make a DVD exclusively for a wide screen playback were the picture fills the screen from top to bottom and doesn't have the sides cropped. (it would wind up looking squeezed on on 4:3 TV).

This is the Anamorphic format most DVD's use. Many times the packaging refers to this using terms like "Enhanced for Widescreen TV's"

As for down-converting 720p or 1080i content to a Zoomed SD 4:3. Is there any way to talk you out of that? I'm no cinematic aspect-ratio snob, (OK, maybe I am,) but still you'd be trashing a good chink of the picture...

Author:  jzigmyth [ Fri Jan 25, 2008 2:44 pm ]
Post subject:  Re: Can you conv lettrbox HD to full screen for Archiving to

jmckeown2 wrote:
As for down-converting 720p or 1080i content to a Zoomed SD 4:3. Is there any way to talk you out of that? I'm no cinematic aspect-ratio snob, (OK, maybe I am,) but still you'd be trashing a good chink of the picture...
Well, this is just for shows like ER or House, where they are already shot with SD 4:3 viewing already in mind. Nothing important happens at the edges. I already watch them zoomed inside Myth (on my 4:3 TV) and they are a lot easier to see from across the room than the unzoomed version and I don't miss the stuff on the edges at all. Having a taller picture is worth it to me for TV shows. Now movie rentals is a different story, I agree with you whole heartedly, there. I always rent the wide screen versions of those!

Author:  jorin [ Tue Mar 04, 2008 5:10 pm ]
Post subject: 

I'd be interested in a solution to this as well. Or maybe a way to send the file out through mytharchive that chops off the side black bars.

Author:  jzigmyth [ Wed Mar 05, 2008 3:41 pm ]
Post subject: 

What I did was create two new encoder profiles for MythArchive in R5F27 that take 16:9, USA, over the air, HD shows and cut off equal amounts from each side to make them 4:3. I added the profiles to the bottom of the encoder profiles file: /usr/share/mythtv/mytharchive/encoder_profiles/ffmpeg_dvd_ntsc.xml
You can then select one of these profiles from within the menus of MythArchive. The new profiles have the word Fullscreen in there titles.

The only way I could figure out how to do it was to make two different profiles, one to process 1080i shows and one to process 720p shows. They each need a different amount of cropping. I only made "SP" profiles because that was the quality I was interested in but the idea is easily expandable. You can add as many profiles as you need. I added two lines (-cropleft and -cropright) to each profile and modified a third (-aspect). The lines are position dependent and cannot be moved around in the profile or it will not work as expected.

This could also be used for archiving those 4:3 shows broadcast on digital channels that wind up having black bars on all 4 sides, you know, the ones that you use 16:9 zoom when watching them in Mythtv. This would make them full screen on your dvd (with a 4:3 tv).

Good Luck!
Ziggy

Entire profiles file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<encoderprofiles>
    <profile>
        <name>HQ</name>
        <description>A high quality profile giving approx. 1 hour of video on a single layer DVD</description>
        <bitrate>4121.19</bitrate>
        <passes>2</passes>
        <parameter name="-v"           value="1"/>
        <parameter name="-i"           value="%inputfile"/>
        <parameter name="-r"           value="ntsc"/>
        <parameter name="-target"      value="dvd"/>
        <parameter name="-b"           value="9000k"/>
        <parameter name="-s"           value="720x480"/>
        <parameter name="-acodec"      value="ac3"/>
        <parameter name="-ab"          value="192k"/>
        <parameter name="-ac"          value="2"/>
        <parameter name="-copyts"      value=""/>
        <parameter name="-aspect"      value="%aspect"/>
        <parameter name="-pass"        value="%passno"/>
        <parameter name="-passlogfile" value="%passlogfile"/>
        <parameter name=""             value="%outputfile"/>
    </profile>

    <profile>
        <name>SP</name>
        <description>A standard play profile giving approx. 2 hour of video on a single layer DVD</description>
        <bitrate>2096.63</bitrate>
        <passes>1</passes>
        <parameter name="-v"      value="1"/>
        <parameter name="-i"      value="%inputfile"/>
        <parameter name="-r"      value="ntsc"/>
        <parameter name="-target" value="dvd"/>
        <parameter name="-b"      value="4771k"/>
        <parameter name="-s"      value="720x480"/>
        <parameter name="-acodec" value="ac3"/>
        <parameter name="-ab"     value="192k"/>
        <parameter name="-ac"     value="2"/>
        <parameter name="-copyts" value=""/>
        <parameter name="-aspect" value="%aspect"/>
        <parameter name=""        value="%outputfile"/>
    </profile>

    <profile>
        <name>LP</name>
        <description>A long play profile giving approx. 4 hour of video on a single layer DVD</description>
        <bitrate>1030.07</bitrate>
        <passes>1</passes>
        <parameter name="-v"      value="1"/>
        <parameter name="-i"      value="%inputfile"/>
        <parameter name="-r"      value="ntsc"/>
        <parameter name="-target" value="dvd"/>
        <parameter name="-b"      value="2344k"/>
        <parameter name="-s"      value="352x480"/>
        <parameter name="-acodec" value="ac3"/>
        <parameter name="-ab"     value="192k"/>
        <parameter name="-ac"     value="2"/>
        <parameter name="-copyts" value=""/>
        <parameter name="-aspect" value="%aspect"/>
        <parameter name=""        value="%outputfile"/>
    </profile>

    <profile>
        <name>EP</name>
        <description>A extended play profile giving approx. 6 hour of video on a single layer DVD</description>
        <bitrate>671.48</bitrate>
        <passes>1</passes>
        <parameter name="-v"      value="1"/>
        <parameter name="-i"      value="%inputfile"/>
        <parameter name="-r"      value="ntsc"/>
        <parameter name="-target" value="dvd"/>
        <parameter name="-b"      value="1526k"/>
        <parameter name="-s"      value="352x240"/>
        <parameter name="-acodec" value="ac3"/>
        <parameter name="-ab"     value="128k"/>
        <parameter name="-ac"     value="2"/>
        <parameter name="-copyts" value=""/>
        <parameter name="-aspect" value="%aspect"/>
        <parameter name=""        value="%outputfile"/>
    </profile>

    <profile>
        <name>SP 1080i Fullscreen</name>
        <description>1080i to 4:3 fullscreen(cropped sides, top and bottom bars removed) giving approx. 2 hours of video on a single layer DVD</description>
        <bitrate>2096.63</bitrate>
        <passes>1</passes>
        <parameter name="-v"      value="1"/>
        <parameter name="-i"      value="%inputfile"/>
        <parameter name="-r"      value="ntsc"/>
        <parameter name="-target" value="dvd"/>
        <parameter name="-b"      value="4771k"/>
        <parameter name="-cropleft" value="240"/>
        <parameter name="-cropright" value="240"/>
        <parameter name="-s"      value="720x480"/>
        <parameter name="-acodec" value="ac3"/>
        <parameter name="-ab"     value="192k"/>
        <parameter name="-ac"     value="2"/>
        <parameter name="-copyts" value=""/>
        <parameter name="-aspect" value="4:3"/>
        <parameter name=""        value="%outputfile"/>
    </profile>

    <profile>
        <name>SP 720p Fullscreen</name>
        <description>720p to 4:3 fullscreen(cropped sides, top and bottom bars removed) giving approx. 2 hours of video on a single layer DVD</description>
        <bitrate>2096.63</bitrate>
        <passes>1</passes>
        <parameter name="-v"      value="1"/>
        <parameter name="-i"      value="%inputfile"/>
        <parameter name="-r"      value="ntsc"/>
        <parameter name="-target" value="dvd"/>
        <parameter name="-b"      value="4771k"/>
        <parameter name="-cropleft" value="160"/>
        <parameter name="-cropright" value="160"/>
        <parameter name="-s"      value="720x480"/>
        <parameter name="-acodec" value="ac3"/>
        <parameter name="-ab"     value="192k"/>
        <parameter name="-ac"     value="2"/>
        <parameter name="-copyts" value=""/>
        <parameter name="-aspect" value="4:3"/>
        <parameter name=""        value="%outputfile"/>
    </profile>

</encoderprofiles>

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/