On Saturday 31 May 2008, Nicolas Boullis wrote:
>
> I think I have achieved a functional support for WSS with the em8300
> driver. Not that this is not available yet in the main repository, but
> only in my
>
http://freehg.org/u/nboullis/em8300-scale-n-crop/> repository.
I (finally!) got around to testing this after applying some changesets from
the main repository to get it to compile. catting 7 and 8 to encoder/wss
appears to work as expected, my TV does adjust the picture.
However:
> This support works with userspace callback programs that are called
> whenever the aspect ratio is set. A callback program that sets the TV
> aspect ratio to match the stream aspect ratio + set WSS accordingly is
> provided in scripts/aspectratio_wss_callback.sh (installed in
> /usr/share/em8300/aspectratio_wss_callback.sh). It needs to be enabled
> by loading the em8300 module with the
> "aspect_ratio_callback=/path/to/aspectratio_wss_callback.sh" parameter.
>
> Note that this architecture allows to use any callback function. Since
> my TV set does not support WSS, but does support aspect ratio selection
> through SCART pin 8, I'm planning to build some homebrew hardware +
> build a dedicated script to switch my TV's aspect ratio that way.
>
> The good news is that all this does not require any change in the
> userspace applications. For example, no need to patch the dxr3 plugin
> for vdr. Just set your application as if you TV set was 4:3.
The results of this were not too good for me with a 16:9 TV with VDR, neither
when VDR set to 4:3 nor 16:9 mode. It's quite hard to explain exactly what
was wrong, there are a lot of settings involved (TV settings, VDR settings,
vdr-dxr3 settings, what the script does internally, what vdr-dxr3 does
internally) so I won't even try at the moment because I can't remeber the
exact problems that occurred with various settings and testing everything
again would take hours... But anyway changing the script so that it never
writes anything to tv_aspectratio (i.e. only writes to encoder/wss) and
applying the attached patch to the vdr-dxr3 sources (latest on vdr-dxr3-0-2
branch in CVS) makes things work well here.
I do get a bit annoyed when watching 4:3 video shown as plain 4:3 with black
bars on the sides of the screen though, it's been a long time since I've seen
that :). Note to self: maybe the "force letterbox" setting of vdr-dxr3
should be changed into a persistent config entry instead of just a menu
toggle.
Based on this (little) experience, I find the script approach a bit
cumbersome - couldn't the driver just do the WSS thing itself if the script
is not enabled by the module option, and outsource everything to the script
if it is enabled?
[attachment removed]
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Dxr3-devel mailing list
Dxr3-devel@...
https://lists.sourceforge.net/lists/listinfo/dxr3-devel