viele Bilder schnell hintereinander zeigen. (wie Diashow)
Verfasst: 11. Mai 2005 15:27
Ich habe folgendes Problem.
Ich übergebe von einem anderen Programm einzelne Frames an meine GUI.
Die GUI soll dann die Frames (und vieles mehr) anzeigen.
Nur leider ist mir noch keine Element bekannt das sich wirklich dazu eignet Bild in schneller folge dazustellen.
Ich habe nun ein QLabel auf dem ich PixMaps dastelle.
Nur leider flimmer das sehr stark.
Das eigentliche Problem dabei ist jedoch das ich nach einer gewissen Zeit folgende Fehlermeldung bekomme.
Ab dem Moment zeigt mir mein QLabel nicht mehr an.
Ich kann zwar mit usleep das ganze etwas ausbremsen aber das kann es ja nicht sein oder?
Vielleicht habe ich auch nur einfach das falsche Element.
//EDIT
Ich übergebe von einem anderen Programm einzelne Frames an meine GUI.
Die GUI soll dann die Frames (und vieles mehr) anzeigen.
Nur leider ist mir noch keine Element bekannt das sich wirklich dazu eignet Bild in schneller folge dazustellen.
Ich habe nun ein QLabel auf dem ich PixMaps dastelle.
Nur leider flimmer das sehr stark.
Das eigentliche Problem dabei ist jedoch das ich nach einer gewissen Zeit folgende Fehlermeldung bekomme.
Code: Alles auswählen
...........
X Error: BadRequest (invalid request code or no such operation) 1
Major opcode: 136
Minor opcode: 136
Resource id: 0xff595959
X Error: BadRequest (invalid request code or no such operation) 1
Major opcode: 134
Minor opcode: 134
Resource id: 0xff595959
X Error: BadLength (poly request too large or internal Xlib length error) 16
Major opcode: 57
Minor opcode: 0
Resource id: 0xff595959
X Error: BadLength (poly request too large or internal Xlib length error) 16
Major opcode: 104
Minor opcode: 0
Resource id: 0xff595959
Warte ...
... fertig.
X Error: BadRequest (invalid request code or no such operation) 1
Major opcode: 173
Minor opcode: 0
Resource id: 0xff595959
...........
Ich kann zwar mit usleep das ganze etwas ausbremsen aber das kann es ja nicht sein oder?
Vielleicht habe ich auch nur einfach das falsche Element.
//EDIT
Code: Alles auswählen
./gui5
Der Server laeuft nun als eingener Thread....GUI läuft mit Shared Memory ID 24674304
Warte ...
... fertig.
Warte ...
... fertig.
Warte ...
... fertig.
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff94 > 0x6b5) in reply type 0x94!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff96 > 0x6b5) in reply type 0x96!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff9c > 0x6b5) in reply type 0x9c!
Xlib: sequence lost (0x1ff9c > 0x6b5) in reply type 0x9c!
Xlib: sequence lost (0x1ffa0 > 0x6b5) in reply type 0xa0!
Xlib: sequence lost (0x1ff00 > 0x6b5) in reply type 0x0!
X Error: 0 0
Major opcode: 3
Minor opcode: 3
Resource id: 0xff020202
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff97 > 0x6b5) in reply type 0x97!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff9c > 0x6b5) in reply type 0x9c!
Xlib: sequence lost (0x1ff98 > 0x6b5) in reply type 0x98!
Xlib: sequence lost (0x1ff96 > 0x6b5) in reply type 0x96!
Xlib: sequence lost (0x1ff9f > 0x6b5) in reply type 0x9f!
Xlib: sequence lost (0x1ff04 > 0x6b5) in reply type 0x4!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff96 > 0x6b5) in reply type 0x96!
Xlib: sequence lost (0x1ff9c > 0x6b5) in reply type 0x9c!
Xlib: sequence lost (0x1ff9d > 0x6b5) in reply type 0x9d!
Xlib: sequence lost (0x1ff00 > 0x6b5) in reply type 0x0!
X Error: 0 0
Major opcode: 0
Minor opcode: 0
Resource id: 0xff010101
Xlib: sequence lost (0x1ff9b > 0x6b5) in reply type 0x9b!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff9b > 0x6b5) in reply type 0x9b!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff97 > 0x6b5) in reply type 0x97!
Xlib: sequence lost (0x1ff9a > 0x6b5) in reply type 0x9a!
Xlib: sequence lost (0x1ff94 > 0x6b5) in reply type 0x94!
Xlib: sequence lost (0x1ff9c > 0x6b5) in reply type 0x9c!
Xlib: sequence lost (0x1ff9d > 0x6b5) in reply type 0x9d!
Xlib: sequence lost (0x1ff00 > 0x6b5) in reply type 0x0!
X Error: 0 0
Major opcode: 0
Minor opcode: 0
Resource id: 0xff000000
Xlib: sequence lost (0x1ff96 > 0x6b5) in reply type 0x96!
Xlib: sequence lost (0x1ff98 > 0x6b5) in reply type 0x98!
Xlib: sequence lost (0x1ff97 > 0x6b5) in reply type 0x97!
Xlib: sequence lost (0x1ff96 > 0x6b5) in reply type 0x96!
Xlib: sequence lost (0x1ff9c > 0x6b5) in reply type 0x9c!
Xlib: sequence lost (0x1ff9f > 0x6b5) in reply type 0x9f!
Xlib: sequence lost (0x1ff01 > 0x6b5) in reply type 0x1!
gui5: Fatal IO error: client killed
Server wird beendet - Lösche Semaphor 2752547.