Filter Wizard

From MythTV Official Wiki
Revision as of 04:11, 2 November 2006 by Malban (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I would like a simple gui for filtering individual recordings after they have been encoded. Example: crop black bars from a TV show broadcast in letterbox. This functionality to apply filters to recordings already exists in the transcoder profiles, but it is not very user friendly. The most correct solution to this problem seems to be making the interface for adding and modifying transcoder profiles easier.

Solution

PART I

Fix transcoder profile setup to allow for adding new transcoders

PART II

Modify the transcoder profile wizard to make adding filter parameters easier

  • Replace the 'custom filters' input box with 'Add filter'/'Remove filter'/'Modify Filter' buttons and a list of currently applied filters
    • These could be on their own page
  • On 'Add filter' -> Provide a list of available filters
  • On 'Select filter' -> Provide a wizard for each type of filter

Pros

  • Should definatly work
  • Fixes transcoder profile setup to allow for more profiles
  • User only has to set parameters once and can use them on any video
  • Filter parameters easily input
  • Filters are more discoverable to user
  • Seems to go along with the current architecture

Cons

  • Possibly adds clutter to transcoder profile setup
  • Will require some gui coding for wizards

Alternate Solution #1

Set the filters in the transcoder profile

Pros

  • This should definitely work
  • User only has to set parameters once and can use them on any video
  • No new code

Cons

  • Currently only 5 (really 3) profiles and no option to add more.
  • The current filter options are inconvenient to input from a remote.
  • Filters aren't very discoverable.

Alternate Solution #2

Apply the filters in user jobs

Pros

  • This should work
  • No new code

Cons

  • Not convenient to the user since they could not easily change filter parameters from a remote.
  • Would require expertise.
  • User would have to find a transcoder the would do the filtering. (maybe virtualDub or something)

Alternate Solution #3

Provide a filter menu for each recording

  • Provide a menu item context menu of a recorded video (i.e. where 'edit' is). Allow the user to select filter parameters here and possibly preview.
    • Similare wizard to the first solution.
  • Add videoFilter field to recorded table in database to store filter parameters for each recording
    • Perhaps other tables could be created, but this seems in line with how channel fitlers were implemented
  • Modify transcoder to get filters from the recorded table, in (addition to / as apposed to) the recording profile.
    • What about conflicts

Pros

  • Should work
  • Allows user to choose custom filter parameters for each recording
  • Should be easily discoverable for the user

Cons

  • Probably would be redundant for user to select parameters for each recording if there are only several parameter sets the user uses for all their videos
  • Possibly adds clutter to recorded video menu
  • Requires change to MySQL schema
  • Requires change to transcoder code
  • Requires change to osd code?