a tricky question regarding ofVideoPlayer: I’m trying to open a video fijle while still streaming TV capture data into it.
However, even if I wait a couple of seconds until the video is properly initialized, I either get gstreamer errors (“cannot seek position”) or the player shows me a “snapshot” of the video up to the point where ofVideoPlayer opened it.
Maybe this is more a gstreamer issue than an openframeworks issue…
Nevertheless, I would appreciate any help -
there’s a flag for streams that is only set if the name of the video is a url instead of a file, so if you’re opening a file it won’t work. you can try opening it with
file:///home/user/video.avi
or whatever the name of the video is to see what happens
also does totem plays it properly? you can also to open it with gst-launch and more or less the same pipelne that the videoplayer uses: