Difference between revisions of "Filter Wizard"

From MythTV Official Wiki
Jump to: navigation, search
m
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This is a [[Feature Wishlist_(Frontend Addons)|feature request]] for a '''Filter Wizard''' for selecting and applying filters to recordings already recorded. Example: crop black bars from a TV show broadcast in letterbox.
+
This is a [[Feature Wishlist_(Frontend Addons)|feature request]] for a '''Filter Wizard''' or GUI for selecting and applying filters to recordings. This feature has associated [[Bug_Tracking_System | trac]] entry {{Ticket|3152}}.
The functionality to apply filters to recordings already exists in the transcoder profiles, but currently this method is not very user friendly.  A possible solution to
+
 
this problem would be to make the interface for adding and modifying transcoder profiles easier to use.
+
= Background =
 +
The functionality to apply filters to recordings already exists in the ''transcoders'' profiles, but currently this method is not very user friendly (its just an argument string). Filters can also be applied in the same way on a per channel basis during recording or playback.  There is some discussion on the developer mailing list of adding a GUI for filters in the future, but nothing recent.  Section [http://www.mythtv.org/docs/mythtv-HOWTO-10.html#ss10.4 10.4] in the user manual describes the currently available filters.
  
= Solutions =
+
[[Image:Filterscurrent.jpg|thumb|center|400px|The current method is not user friendly.]]
== Suggested Solution ==
 
'''PART I'''
 
Fix transcoder profile setup to allow for adding new transcoders. It is currently possible to add new transcoder profiles through a mysql query.  These profiles are then editable in the recording profiles setup.  They are also selectable from the post processing options of the recording scheduler.  However, these new profiles are not selectable from the osd menu of playing recordings.  Currently the only selectable profiles are "Default", "Autodetect", "High Quality", "Medium Quality" and "Low Quality".
 
* Add graphical interface for creating new transcoder profiles.
 
* Modify osd menu for playing recordings to show additional transcoder profiles.
 
  
'''PART II'''
+
== Developer Threads ==
Modify the transcoder profile wizard to make adding filter parameters easier
+
*[http://www.gossamer-threads.com/lists/mythtv/dev/18669 New plugin scheme / Filter selection interface?]
* Replace the 'custom filters' input box with 'Add filter'/'Remove filter'/'Modify Filter' buttons and a list of currently applied filters
+
*[http://www.gossamer-threads.com/lists/mythtv/dev/18349 Filter documentation?]
** 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'''
+
= Proposed Solution =
* Should definatly work
+
== Add/Remove/Reorder GUI ==
* Fixes transcoder profile setup to allow for more profiles
+
This would be similar to the ''Recording Profiles'' setup screen that would contain a list of applied filters and an ''(add new filter)'' item at the bottom. Pressing the menu key would bring up a menu with the options to move the selected filter up in the list (to be applied earlier in the chain), down in the list, or to remove it. Selecting ''(add new filter)'' would bring up a new screen with a list of the available filtersEach of these items would then bring up a wizard to walk the user through inputing the required parameters of the filter. Selecting an existing filter brings up the wizard for that filter to alter the values.
* 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'''
+
[[Image:Filterbutton.jpg|thumb|center|400px|A button will replace the text input.]]
* Should work
+
[[Image:Filterchain.jpg|thumb|center|400px|The applied filters will be listed with their settings.]]
* Allows user to choose custom filter parameters for each recording
+
[[Image:Filteradjust.jpg|thumb|center|400px|Selecting a filter will bring up a wizard to modify the settings.]]
* Should be easily discoverable for the user
+
[[Image:Filterpopup.jpg|thumb|center|400px|The menu button opens a popup menu to alter the ordering of the chain.]]
 +
[[Image:Filterlist.jpg|thumb|center|400px|Adding a new filter opens a list of available filters to select from.]]
  
'''Cons'''
+
[[Category:Wishlist]]
* 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?
 

Latest revision as of 20:59, 24 September 2010

This is a feature request for a Filter Wizard or GUI for selecting and applying filters to recordings. This feature has associated trac entry #3152.

Background

The functionality to apply filters to recordings already exists in the transcoders profiles, but currently this method is not very user friendly (its just an argument string). Filters can also be applied in the same way on a per channel basis during recording or playback. There is some discussion on the developer mailing list of adding a GUI for filters in the future, but nothing recent. Section 10.4 in the user manual describes the currently available filters.

The current method is not user friendly.

Developer Threads

Proposed Solution

Add/Remove/Reorder GUI

This would be similar to the Recording Profiles setup screen that would contain a list of applied filters and an (add new filter) item at the bottom. Pressing the menu key would bring up a menu with the options to move the selected filter up in the list (to be applied earlier in the chain), down in the list, or to remove it. Selecting (add new filter) would bring up a new screen with a list of the available filters. Each of these items would then bring up a wizard to walk the user through inputing the required parameters of the filter. Selecting an existing filter brings up the wizard for that filter to alter the values.

A button will replace the text input.
The applied filters will be listed with their settings.
Selecting a filter will bring up a wizard to modify the settings.
The menu button opens a popup menu to alter the ordering of the chain.
Adding a new filter opens a list of available filters to select from.