[mythtv] Aspect ratio changes

Timon, John john.timon at labatt.com
Mon Jan 5 14:27:34 EST 2004


what about just storing the information in the mysql database.  perhaps
another column.

just an 'off the top of my head'

--
John Timon
Desk: 519 667 7187
Cell: 519 852 0042
Email: john.timon at labatt.com
Pager: 519 430 1826
Unix like TeePee no windows, no gates, Apache inside.


-----Original Message-----
From: steve at nexusuk.org [mailto:steve at nexusuk.org] 
Sent: Monday, January 05, 2004 1:32 PM
To: mythtv-dev at mythtv.org
Subject: [mythtv] Aspect ratio changes



My Sky box (and most other decoders) use pin 8 of the SCART connector to 
tell the TV what aspect ratio it should be running in (5v for 16:9 and 12v 
for 4:3).  I would like to include information of aspect ratio changes 
provided by this signal in the stored video, so I would like comments on 
the following idea:

Pin 8 of the input SCART connector would be connected to a serial port on 
the backend via a suitable circuit.

Pin 8 of the output SCART connector would be connected to a serial port on 
the frontend via a suitable circuit (if the frontend and the backend are 
the same machine then this may be the same serial port)

A separate daemon would watch the serial port for changes in the input 
signal and relay them to the backend via a unix domain socket.  Similarly 
the frontend would be able to send aspect ratio changes to the daemon via 
the unix domain socket.

Now, the bit I'm not sure about is how to incorporate the data into the 
video stream - I'm thinking of doing the same as the 
NuppelVideoRecorder::WriteText() function but use a different frametype.  
Would this seem to be the best way to handle the data?

There would be a user configurable option to tell the frontend whether to 
send signals to the daemon when it wants to change the aspect ratio or to 
use the existing aspect ratio changing code (which scales the video).

-- 

 - Steve                                             http://www.nexusuk.org/

     Servatis a periculum, servatis a maleficum - Whisper, Evanescence



More information about the mythtv-dev mailing list