Video output - flash variable
From NMTWiki
video_output flash variable
The following information may be useful for anyone developing applications for the NMT platform.
The NMT stores the current TV Mode internally in a flash variable 'video_output'.
This appears in the /tmp/setting.txt file. And on some firmwares , is also duplicated in a file called /tmp/tvmode.
The following table list the value of /tmp/tvmode for various TV modes.
These values were observed whilst connected to a CRT TV via component. It is possible that the HDMI handshake may influence this.
Some values were observed by after pressing 'TV Mode' + digit button on the remote. Others were set using the AV Setup screen.
On Popcorn firmware the file /tmp/tvname contains the name of the TV Mode. However this is not set on all NMT firmwares.
100 series
| Reported Mode | Contents of video_output (100 series) | TV Mode set via Remote (100 series) |
| Auto | 0 | 0 |
| Composite NTSC | 1 | 1 |
| Composite PAL | 2 | 2 |
| Component NTSC 480i 60Hz | 3 | 3 |
| Component PAL 576i 50Hz | 4 | ? |
| Component 480p 60Hz | 5 | ? |
| Component 720p 60hz | 6 | 4 |
| Component 1080p 60hz | 7 | 6 |
| Component 1080i 60hz | 8 | 5 |
| HDMI 480p 60hz | 9 | ? |
| HDMI 720p 60hz | 10 | 7 |
| Component 1080p 24Hz | 11 | ? |
| HDMI 1080i 60hz | ? | ? |
| HDMI 1080i 50hz | ? | ? |
| HDMI 1080p 60hz | ? | ? |
| HDMI 1080p 50hz | 18 | ? |
| HDMI 1080p 24hz | ? | ? |
| bad mode?/bad handshake? | 12 | n/a |
| Component 720p 50hz | 13 | ? |
| Component 1080p 50hz | 14 | ? |
| Component 1080i 50hz | 15 | ? |
| HDMI? 720p 50hz | 16 | ? |
| Component 576h 50hz | 30 | ? |
| HDMI 576p 50hz | 31 | ? |
| ? | 32 | 8 |
| HDMI 1080p 59,94Hz | 29 | 9 |
200 series
| Video Mode | Mode Number |
| AUTO | 0 |
| NTSC | 1 |
| PAL | 2 |
| 480P | 3 |
| 576P | 4 |
| 720P 60Hz | 5 |
| 720P 50Hz | 6 |
| 1080I 60Hz | 7 |
| 1080I 50Hz | 8 |
| 1080P 60Hz | 9 |
| 1080P 50Hz | 10 |
| 1080P 24Hz | 11 |
