Hi, I was looking for a way of easily doing this, but the bundled tvservice binary didn't seem to support SDTV, so I went looking for how to do it with the vc_tvservice APIs. I don't really understand them, but I seem to have got something that works and I thought I would share them here: https://github.com/adammw/rpi-output-swapper
Hopefully I haven't wasted my time as something else already exists that does this simpler, but at least I know a bit more about the system.
The major part of getting this to work is knowing how to initialise the APIs so they don't throw you back error codes instead of working, which is definitely not helped by the lack of overall documentation of how to use them.
Not sure if it works with an X environment (I don't use it so I don't know), but it automatically calls fbset so if your in a console it will appear on the new screen, and I've tested it to work fine with even omxplayer still running.
Thanks.
Tool to swap displays HDMI<->SDTV
3 posts
- Posts: 21
- Joined: Fri Jun 15, 2012 4:28 am
Hey Adam,
with your newly aquired knowledge: Do you think I might be able to configure a 320x240 framebuffer that would display using standard composite video? Or is the composite video framebuffer always one of the standard sizes?
(I have a composite input 320x240 display. Now the display downscales the incoming video to display it. The console text becomes barely readable at three pixels high.... )
with your newly aquired knowledge: Do you think I might be able to configure a 320x240 framebuffer that would display using standard composite video? Or is the composite video framebuffer always one of the standard sizes?
(I have a composite input 320x240 display. Now the display downscales the incoming video to display it. The console text becomes barely readable at three pixels high.... )
Check out our raspberry pi addons: http://www.bitwizard.nl/catalog/
@rew
Doesn't:
framebuffer_width=320
framebuffer_height=240
in config.txt do what you want?
Doesn't:
framebuffer_width=320
framebuffer_height=240
in config.txt do what you want?
- Moderator
- Posts: 3317
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge