For a 12Volt - 24 Watt bulb, current is 2 Amperes.
2 Amperes times 1 second = 2 Coulombs
For a capacitor charged to 12VDC, the capacity should at least Q/V = 2/12 = 0.17 Farads = 170,000 μF
----> Then, a 170,000μF capacitor charged to 12VDC will do the one second.
The brightness will decrease during the one second.
---------------------------------------------------------------------
For a 250V DC - 25 Watt bulb, current is 0.1 Amperes.
0.1 Amperes times 1 second = 0.1 Coulomb
For a capacitor charged to 250VDC, the capacity should at least be Q/V = 0.1/250 = 0.0004 Farads = 400μF
----> Then, a 400μF capacitor charged to 250VDC will do the one second.
The brightness will decrease during the one second.