Re: [Mlt-devel] Threads problem with sdl_preview/still consumer?
Brought to you by:
ddennedy,
lilo_booter
|
From: j-b-m <j-...@us...> - 2011-02-23 21:36:31
|
On Wednesday 23 February 2011 22:26:16 j-b-m wrote: > 2 -video4linux2 capture with real_time set to 1 > > melt -profile square_ntsc > video4linux2:/dev/video0?frame_rate:5\&width:640\&height:480 -consumer > sdl_preview real_time=1 > > Preview has a ~1 second delay between captured and displayed frame (live > preview shows about 1 second delay). > > This only happens on the sdl_preview consumer, not with the sdl consumer. > Using the sdl_still consumer, there is a strange "backwards seeking" effect > that appears when adding the "real_time=1" property, so the problem might > be here... Hmm, the problem seems to disappear when I set the consumer frame rate to 5 fps (same as source), using the "frame_rate_num=5 frame_rate_den=1" properties, so maybe it's just an incorrect use of MLT on my side... in that case, sorry for the noise. jb |