Commit Graph

75 Commits

Author SHA1 Message Date
brunoherbelin
007d876dbc Initial commit of Video Streamer. bugFix delete Pbos. 2020-10-14 22:58:02 +02:00
brunoherbelin
1390eff646 Action manager follows View of restored action (user settings) 2020-10-11 16:02:41 +02:00
brunoherbelin
233fc64c4e Increased size of unique identifier of objects: using uint64 instead of
int. Deep change in all concerned objects (Node, Source, Shader, etc.).
No behavior change, just more robust in duration.
2020-10-06 22:45:52 +02:00
brunoherbelin
f32b85a656 Centralizing and unifying the generator of object identifiers. 2020-10-03 14:05:28 +02:00
brunoherbelin
59db2cf57c Implementation of new type of source: Pattern generator (GUI, icons,
saving). A new class for gstreamer stream (Stream) is defined for
generic pipeline sources; to be integrated (inheritance) into
MediaPlayer.
2020-09-20 00:26:39 +02:00
brunoherbelin
9e32e4f5b2 Improved user feedback on session loading 2020-09-16 08:34:53 +02:00
brunoherbelin
34659c4d8a Bugfix (crash on close after failed open) 2020-09-14 21:38:40 +02:00
brunoherbelin
68b219eef2 BugFix: prevent crash and report correct warning message on media player
loading error.
2020-09-13 23:21:37 +02:00
brunoherbelin
f90964bac8 Do not use first key frame in timeline. 2020-08-24 22:18:43 +02:00
brunoherbelin
240f1fde0a Saving and loading of timeline, with fading and gaps. Applying fading to
MediaSource. Playing with timeline options to facilitate its use.
2020-08-24 00:23:03 +02:00
brunoherbelin
0d934c3590 Fixed User seek request with timeline constraints (request go to
position instead of directly seek)
2020-08-22 14:20:00 +02:00
brunoherbelin
e44832a419 Fixed behavior seek in timeline: prevent multiple successive seek
events, save and load gaps in XML session.
2020-08-22 00:03:22 +02:00
brunoherbelin
9f954d258f tiny bugfix timeline gaps 2020-08-21 23:03:36 +02:00
brunoherbelin
710514b478 Revert behavior of MediaPlayer position to normal and instead fixed the
GUI to match the [start end] range of timeline (instead of shifting
position in MediaPlayer). Fixed Loop mode for bi-directional and stop
modes to react according to Timeline gaps.
2020-08-21 00:58:20 +02:00
brunoherbelin
13867e2192 Unified identifyer mechanism (tested and confirmed to produce unique
integer < MAX_INT)
2020-08-20 20:51:42 +02:00
brunoherbelin
d7f6461415 Changed the way the MediaPlayer is not missing an EOS: former
implementation was jumping forward too early.
2020-08-20 20:33:23 +02:00
brunoherbelin
182f204d80 Working but dirty implementation of GUI for Timeline and gaps of
MediaPlayer.
2020-08-19 23:15:54 +02:00
brunoherbelin
c6d8c7189f Cleanup after all these changes in MediaPlayer and Mixer. 2020-08-16 16:16:05 +02:00
brunoherbelin
35cd5c6a21 unref gst discoverer 2020-08-15 22:40:33 +02:00
brunoherbelin
0e2af5b04f fighting the crash everywhere: random crash at random location. Changing
computer might be better idea than changing the code indefinitely...
2020-08-15 18:05:18 +02:00
brunoherbelin
44b9169cdc Changed MediaPlayer discovering process: using thread to perform
discovery (instead of async gstreamer callback).
2020-08-15 09:12:06 +02:00
brunoherbelin
bb1682768a Fixed seek behavior: sync if necessary in update. 2020-08-12 22:49:48 +02:00
brunoherbelin
675856d57c Fixed memory leak in gst media player (Valgrind) 2020-08-11 23:02:28 +02:00
brunoherbelin
bb8dcf088e work in progress cleanum memory leak and crash :( 2020-08-11 00:11:22 +02:00
brunoherbelin
3f568f714a Cleanup of Media Player class 2020-08-06 23:17:22 +02:00
brunoherbelin
fcb4819341 validate v0.2 on OSX. 2020-07-31 00:12:19 +02:00
brunoherbelin
0379d59d53 disabled the uridecodebin buffering: not working. 2020-07-30 01:00:15 +02:00
brunoherbelin
4f3114770d Cleanup OpenGL texture for optimal performance: using GL4 glTexStorage2D
with RGBA8 (most efficient implementation in hardware).
2020-07-30 00:13:46 +02:00
brunoherbelin
714f2bea3c Tuning mediaplayer pipeiine (buffering and color conversion( and add
more info
2020-07-29 00:10:36 +02:00
brunoherbelin
2eb59f2ffe Fixed mediaplayer loop on EOS for both rate directions. 2020-07-28 21:52:18 +02:00
brunoherbelin
371ccb3445 Merge branch 'master' of https://github.com/brunoherbelin/vimix 2020-07-27 11:46:02 +02:00
brunoherbelin
bc83f8a41c cleanup includes 2020-07-26 01:27:33 +02:00
brunoherbelin
ad15f2096b Fixup OSX execution & packaging. 2020-07-23 15:35:59 +02:00
brunoherbelin
cec49a9a62 Cleanup MediaPlayer 2020-07-23 12:59:42 +02:00
brunoherbelin
8e9439104c Entire rebuild of gstreamer sinkapp: using callbacks instead of signals
(more efficient) and always displaying the last read frame. Using frame
status to manage End-of-stream and pre-roll special cases.
2020-07-22 23:44:55 +02:00
brunoherbelin
cad8a3030f oops... restore time comparator on play 2020-07-20 20:43:03 +02:00
brunoherbelin
68cdb6b45d BugFix: added test of time of vframes to prevent unwanted time jumps 2020-07-20 20:15:36 +02:00
brunoherbelin
4f5e2a616c Bugfix: issues with vframe stack when seek and stop with setop at EOF. 2020-07-20 18:02:24 +02:00
brunoherbelin
990ea42d58 TODO: resolve bug with vframe stack 2020-07-20 14:51:26 +02:00
brunoherbelin
cfb10c32b8 bugfix - some media do not define FPS 2020-07-19 21:10:01 +02:00
brunoherbelin
71a3de644d Changed my mind: dual (N=2) frame mechanism is optimal for MediaPlayer 2020-07-19 19:00:21 +02:00
brunoherbelin
28084c0979 Tuning performance media player 2020-07-14 00:04:47 +02:00
brunoherbelin
45d69020dd Cleanup 2020-07-13 23:30:03 +02:00
brunoherbelin
c2e4eea7eb Improved MediaPlayer performance by adding a dual-frame alternating
mechanism with mutex (read and write indices alternating between g-
streamer read thread and opengl write thread).
2020-07-13 22:22:47 +02:00
brunoherbelin
ebdea726f2 Performance improvement / lower buffer ? (seems to improve under OSX) 2020-07-12 23:05:06 +02:00
brunoherbelin
b837e7bf8b Changed behavior of MediaPlayer: offer to either follow the active
source or to show a fixed MediaPlayer. List of available mediaplayers is
maintained statically at the level of MediaPlayer class.
2020-07-10 19:01:17 +02:00
brunoherbelin
44901f6756 Implementation of FPS monitor in Mixer (fixed dt precision) and Plot
monitor of FPS in toolbox.
2020-06-27 12:19:33 +02:00
brunoherbelin
57bb1db37d Clean media player. 2020-06-25 20:02:55 +02:00
brunoherbelin
519b68d634 No need to test for Pixel Buffer Objects in extensions (is not
considered an extension, its a core OpenGL 4 feature).
2020-06-24 11:03:12 +02:00
brunoherbelin
c7fb663cf5 Implementation of Pixel Buffer Object for Media Player. 2020-06-24 00:37:16 +02:00