gnonlin

Video Transitions with GStreamer & GNonLin not working

可紊 提交于 2020-01-05 12:16:12
问题 I've been trying to combine 2 videos together with gstreamer with a short transition (like smpte) between them using gstreamer & gnonlin in python. However I can't get the gnloperation/smpte transition to work. Goal Below is a programme. I want it to play the first 4 sec of one file, and at 2 sec to start doing a smpte transition (that lasts for 2 seconds) to another file. (so the second file will start playing 2 seconds into the whole thing but be 'revealed' over the course of the 2 second

Scheduled pause in Gnonlin

房东的猫 提交于 2019-12-21 06:48:59
问题 I am using Gnonlin to play two videos. At one moment, I would like to pause one video and run another. However, I don't want to manually pause the pipeline, as the other video also will be paused. For example: self.video[0].set_property("location", LOCATION_VIDEO1) self.video[0].set_property("start", 0 * gst.SECOND) self.video[0].set_property("duration", 5 * gst.SECOND) self.video[0].set_property("media-start", 0 * gst.SECOND) self.video[0].set_property("media-duration", 5 * gst.SECOND) This

cut parts of a video using gstreamer/Python (gnonlin?)

那年仲夏 提交于 2019-12-08 05:34:29
问题 I have a video file and I'd like to cut out some scenes (either identified by a time position or a frame). As far as I understand that should be possible with gnonlin but so far I wasn't able to find a sample how to that (ideally using Python). I don't want to modify the video/audio parts if possible (but conversion to mp4/webm would be acceptable). Am I correct that gnonlin is the right component in the gstreamer universe to do that? Also I'd be glad for some pointers/recipes how to approach

Looping a video with gstreamer and gst-launch?

两盒软妹~` 提交于 2019-11-30 05:30:52
问题 I am able to play a video on the command line with gstreamer's gst-launch like this: gst-launch gnlfilesource location=file:///tmp/myfile.mov start=0 duration=2000000000 ! autovideosink This plays the first 2 seconds of the file in /tmp/myfile.mov, afterwards the video playback stops. Is there anyway to get this to loop repeatidly? i.e. turn the 2 second long gnlfilesource into an infinite length video that plays those 2 seconds again and again and again? 回答1: Assuming bash... Wrap it in a