Commit graph

55 commits

Author SHA1 Message Date
Benoît Minisini
b0dac7712b Get rid of deprecated 'GValueArray' datatype. Add support for 'GstValueArray' datatype.
[GB.MEDIA]
* BUG: Get rid of deprecated 'GValueArray' datatype.
* NEW: Add support for 'GstValueArray' datatype.
2022-12-10 01:43:39 +01:00
Benoît Minisini
6a793ddeb7 Replace my old depracted gmail mail by the new one.
[CONFIGURATION]
* NEW: Replace my old depracted gmail mail by the new one.
2022-09-12 15:13:13 +02:00
Benoît Minisini
415de7b257 Update configuration files to autoconf 2.71.
[CONFIGURATION]
* NEW: Update configuration files to autoconf 2.71.
2022-09-03 13:24:51 +02:00
Benoît Minisini
1d3ace3178 Remove a debugging message.
[GB.MEDIA]
* BUG: Remove a debugging message.
2022-08-02 16:55:53 +02:00
gambas
875fcafa51 MediaPipeline: Play() now takes an extra optional argument that allows not to wait for the command completion.
[GB.MEDIA]
* NEW: 'GB_MEDIA_DEBUG' is a new environmental variable that toggles warning messages.
* NEW: MediaPipeline: Play() now takes an extra optional argument that allows not to wait for the command completion.
2020-05-21 20:37:44 +02:00
gambas
a247c14d24 Compile with GStreamer < 1.16.
[GB.MEDIA]
* BUG: Compile with GStreamer < 1.16.
2019-03-28 00:07:05 +01:00
gambas
3d68879247 Support for playing speed rate and step-by-step forward.
[GB.MEDIA]
* NEW: MediaPipeline: Pos is a new synonymous for the Position property.
* NEW: MediaPipeline: Position is a new event that is raised when the media position has changed.
* NEW: MediaPipeline: Seek() is a new method that allows to move the media to a specific position while specifying GStreamer seek flags.
* NEW: MediaPipeline: Speed is a new property that allows to define the media playing speed rate. A negative speed will play backward.
* NEW: MediaPipeline: Forward() is a new method that allows to move forward a specific amount of frames. Moving backward does not work at the moment.
* NEW: Media: Add MediaPipeline.Seek() seek constants.
2019-03-25 03:57:02 +01:00
gambas
09a0573e61 Replace my old sourceforge mail address by the new one.
[CONFIGURATION]
Replace my old sourceforge mail address by the new one.
2018-02-12 02:53:46 +01:00
gambas
b7b134f06a Support QT default image format when extracting a video frame in gb.media.
[GB.MEDIA]
* BUG: Support QT default image format when extracting a video frame.
2017-09-20 19:34:04 +02:00
gambas
b99546d40c Support for GValueArray marshalling in 'gb.media'.
[GB.MEDIA]
* NEW: MediaControl: Support for GStreamer messages or properties being a GValueArray. They are returned as a Variant[].
2017-08-22 22:45:18 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Benoît Minisini
b225eba20f [CONFIGURATION]
* NEW: Update copyright year in all source files.


git-svn-id: svn://localhost/gambas/trunk@8056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-01-13 03:29:42 +00:00
Benoît Minisini
8fbd5bda52 [GB.MEDIA]
* NEW: Link explicitly with the thread library.
* BUG: MediaPipeline: Prevent message callback routine possible recursion.
* NEW: MediaPipeline: Raise the Start event when a new stream is started.
* NEW: MediaPipeline: The Position and Duration properties are now computed during the message callback routine.
* NEW: MediaPipeline: Raise the AboutToFinish event two seconds before the stream end.
* NEW: MediaPlayer: NextURL is a new property that you must set to define the next stream that will be played without gap.
* NEW: MediaPlayer: Setting the URL property now automatically stops the player.
* NEW: MediaPlayer: The AboutToFinish event is now raised by MediaPipeline. This is not the GStreamer 'about-to-finish' signal anymore.


git-svn-id: svn://localhost/gambas/trunk@7933 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-21 02:09:34 +00:00
Adrien Prokopowicz
3f22948435 [GB.MEDIA]
* NEW: Added the MediaMessage class to process GStreamer messages.
* NEW: Added the MediaPipeline_Event event to catch generic GStreamer
  pipeline events, in the form of a MediaMessage object.

git-svn-id: svn://localhost/gambas/trunk@7082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-05-14 14:51:20 +00:00
Benoît Minisini
d3ebb6ccc8 [CONFIGURATION]
* NEW: Update the state of many components.

[DEVELOPMENT ENVIRONMENT]
* NEW: The project property dialog now uses an IconPanel.
* NEW: New design of the component tab in the project property dialog.

[GB.GUI.BASE]
* NEW: GridView: The background of the sorted column is now lighter.

[GB.QT4.WEBKIT]
* NEW: WebView.History is a new virtual access to get the number of entries 
  in the history, to set or get the current history entry index, and to get
  or set the history maximum capacity.


git-svn-id: svn://localhost/gambas/trunk@6788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 11:46:48 +00:00
Benoît Minisini
0c2a60085c [WIKI CGI SCRIPT]
* NEW: Help comments of component classes and symbols are now automatically 
  used for creating non-existing documentation pages.
* NEW: Images are clickable in editing mode. They point at the image wiki 
  page.

[INTERPRETER]
* NEW: Url$() is a new function to encode an URL.
* NEW: FromUrl$() is a new function to decode an URL.
* NEW: FromBase64$() is now a synonymous for UnBase64$().

[GB.MEDIA]
* BUG: MediaPipeline.Pause() does nothing if the media is not playing. That
  avoid some GStreamer bad behaviour.

[GB.MEDIA.FORM]
* NEW: MediaView: Remove the ShowVideo property, it is useless.
* NEW: MediaView: The URL property can receive a true URL or a file path.
  The conversion is automatically done.
* BUG: MediaView: Do pause or stop the media file only if it has sense.
* NEW: MediaView: Hide the video part if the control height is too low.


git-svn-id: svn://localhost/gambas/trunk@6617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 15:25:46 +00:00
Benoît Minisini
73b2d0dd75 [GB.FORM]
* BUG: FileChooser: Fix an infinite loop when trying to initialize the path 
  with an unknown file.

[GB.MEDIA.FORM]
* NEW: New component based on gb.media that includes a full media player 
  widget with controls.

[GB.NET.SMTP]
* NEW: SmtpClient is now a virtual control.


git-svn-id: svn://localhost/gambas/trunk@6408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 01:37:56 +00:00
Benoît Minisini
9e89e5bba5 [GB.MEDIA]
* BUG: Fix a leak in MediaControl.GetLastImage().


git-svn-id: svn://localhost/gambas/trunk@6266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 16:31:09 +00:00
Benoît Minisini
72c4ef2814 [GB.MEDIA]
* NEW: MediaLink is a new class that represents a link between an element 
  input and an element output. Its interface may change in next revisions.
* NEW: MediaControl.Parent is a new property that returns the parent of a 
  MediaControl object.
* NEW: MediaControl.LinkTo method now automatically unlinks the output 
  before linking it.
* NEW: MediaControl.GetLink is a new method that returns a MediaLink object
  representing what is linked to the specified input or output.
* NEW: MediaControl.GetLastImage() returns a screenshot of the last video 
  frame seen by a sink (i.e. final) element.


git-svn-id: svn://localhost/gambas/trunk@6265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 16:17:57 +00:00
Benoît Minisini
5e76433eeb [CONFIGURATION]
* NEW: Do not use deprecated autoconf macros anymore.
* NEW: The version information is now located in the 'version.m4' file in
  the source root directory.


git-svn-id: svn://localhost/gambas/trunk@6230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 21:22:43 +00:00
Benoît Minisini
f3438a8da9 [WEBSITE]
* NEW: Use the new wiki now.

[WIKI]
* BUG: Fix style sheet and class description layout.
* NEW: Inherited symbols links are in italic now.
* NEW: Automatic registration system.
* NEW: Use the new LOCK ... WAIT instruction.
* BUG: Some fixes in the old wiki conversion routine.
* NEW: The administrator account can see the recent changes.

[EXAMPLES]
* NEW: SmallWiki: Update the embedded markdown support from gb.markdown.

[COMPILER]
* NEW: The '#' character is now optional if possible (for example in the 
  'OUTPUT TO' instruction).

[GB.FORM]
* NEW: Some new icons.

[GB.FORM.STOCK]
* BUG: Fix all missing icons.

[GB.GTK]
* BUG: Fix incorrect translation when drawing inside a DrawingArea.

[GB.MEDIA]
* BUG: Fix inputs and outputs enumeration.

[GB.QT4]
* BUG: Correctly handle UTF-8 when displaying the error message.

[GB.WEB]
* NEW: WebPage.ToString() is a new method that generates the webpage and 
  returns it as a string.
* BUG: When creating a session, other sessions having the same prefix and 
  being older than 24 hours are automatically removed from disk.


git-svn-id: svn://localhost/gambas/trunk@6206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-22 12:25:48 +00:00
Benoît Minisini
00fcff2b30 [GB.MEDIA]
* BUG: MediaPlayer works again.
* BUG: MediaPipeline.Stop() tries to send an EOS message at most during 
  250 ms. A warning message is printed if the EOS message has not been 
  sent.


git-svn-id: svn://localhost/gambas/trunk@6185 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-24 23:24:24 +00:00
Benoît Minisini
ed9f8be54e [GB.FORM]
* NEW: LCDLabel: Support for new characters.

[GB.GTK]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.GTK3]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.MEDIA]
* BUG: According to the GStreamer documentation, you can send an EOS 
  message only while playing.

[GB.QT4]
* BUG: Rich text paragraph margins are now proportional to the font size.


git-svn-id: svn://localhost/gambas/trunk@6161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 15:06:21 +00:00
Benoît Minisini
551ff27eee [GB.MEDIA]
* NEW: If the MediaControl type contains a '/' character, then a 
  MediaFilter is created using that type as filter.
* NEW: Properties having the "Caps" type are now handled everywhere.


git-svn-id: svn://localhost/gambas/trunk@6160 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 00:04:44 +00:00
Benoît Minisini
92bd9756a8 [GB.MEDIA]
* BUG: Fix how the end of stream is sent when stopping a pipeline.


git-svn-id: svn://localhost/gambas/trunk@6159 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-15 13:18:28 +00:00
Benoît Minisini
fbf7420851 [GB.MEDIA]
* NEW: MediaPipeline constructor now takes the message bus polling 
  frequency as an optional argument.
* NEW: MediaPipeline.Stop() now force EOS on sources before stopping the
  pipeline.


git-svn-id: svn://localhost/gambas/trunk@6158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-15 12:38:25 +00:00
Benoît Minisini
d4f34166dd [DEVELOPMENT ENVIRONMENT]
* NEW: Menu shortcut for defining a class or a form as startup class has 
  been removed from the editor (but not from the project tree).
* NEW: A new menu to run a specific form as if it was the startup class.

[WIKI]
* NEW: The wiki is almost finished. Tuning is needed, as the automatic 
  conversion between the old wiki syntax and the new markdown syntax cannot 
  be perfect. Not yet done: history, registration, to do list.

[EXAMPLES]
* NEW: WaveGenerator: Set the "is-live" property of the 'audiotestsrc' 
  plugin.
* NEW: WaveGenerator: Use the 'autoaudiosink' output instead of a specific 
  one.
* NEW: WaveGenerator: Allow to choose the wave form.

[INTERPRETER]
* NEW: A new '-s' command-line option to override the startup class defined 
  in the project.

[GB.FORM]
* NEW: MaskBox has a new ShowDefault property. When set, the maskbox does 
  not hide its contents anymore when losing the focus if its value was the 
  default value.

[GB.GTK]
* BUG: Control Move() and MoveScaled() method do not try to resize the 
  control anymore if their width and height arguments are omitted.

[GB.MARKDOWN]
* BUG: Bug fixes, tuning...

[GB.MEDIA]
* NEW: MediaControl: An enumeration property can be set through its integer 
  value now.


git-svn-id: svn://localhost/gambas/trunk@6153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 22:26:02 +00:00
Benoît Minisini
115fd6c470 [GB.MEDIA]
* BUG: When a MediaPipeline is freed, the pipeline is first stopped before 
  being put to the null state. Otherwise GStreamer freezes.


git-svn-id: svn://localhost/gambas/trunk@6139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-08 02:30:00 +00:00
Benoît Minisini
c9ca5ab982 [CONFIGURATION]
* NEW: Update copyright year to 2013.

[GB.FORM]
* NEW: ImageView is a new control that allows to view an image inside a 
  scrolled view, at different zoom levels.
* BUG: FileProperties now works correctly if 'gb.desktop' is not used.
* NEW: The FileProperties preview tab now uses an ImageView control and has
  a toolbar to zoom the preview.
* BUG: Add the 'linux' and 'gnu' icon in the stock icon list.


git-svn-id: svn://localhost/gambas/trunk@5770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-03 15:38:01 +00:00
Benoît Minisini
ab78dd8c9a [GB.MEDIA]
* BUG: Correctly handle GStreamer dates with year but no month and no day.


git-svn-id: svn://localhost/gambas/trunk@5718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-30 22:45:30 +00:00
Benoît Minisini
02234a267e [GB.MEDIA]
* NEW: Support for properties that are enumerations. Use them like string 
  properties that can only take some specific values.
* NEW: GStreamer element not created explicitely are now managed through 
  the MediaControl class.
* NEW: MediaFilter is a new MediaControl that implements the 'capsfilter'
  element. It has a Filter property that understands the same syntax as the
  'gst-launch' GStreamer tool.
* NEW: MediaContaienr.Children is a new virtual property that allows to
  enumerate its children elements.


git-svn-id: svn://localhost/gambas/trunk@5717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-30 21:57:47 +00:00
Benoît Minisini
0be0b8caf8 [DEVELOPMENT ENVIRONMENT]
* NEW: When installing the Gambas font, don't use the deprecated 
  '~/.fonts.conf' file anymore.

[EXAMPLES]
* NEW: The MediaPlayer example now has a panel to configure the image
  balance.

[GB.MEDIA]
* NEW: MediaPlayer.Balance is a new property that allows to configure the
  image brightness, contrast, hue, saturation... It actually returns a
  virtual array of balance "channels", each one having a minimum value, a
  maximum value, a current value and a name.

[GB.WEB]
* NEW: When Request.Debug is set, only the first 4K of a POST request is 
  stored in the Request.Contents property.


git-svn-id: svn://localhost/gambas/trunk@5710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-29 12:42:52 +00:00
Benoît Minisini
3e76b4d958 [EXAMPLE]
* NEW: MediaPlayer: Add a button to take a screenshot of the current video
  frame.

[GB.MEDIA]
* NEW: gb.media now depends on gb.image.
* NEW: MediaPlayer.Video.Image is a new property that returns a screenshot
  of the current video frame.


git-svn-id: svn://localhost/gambas/trunk@5694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-03 17:51:14 +00:00
Benoît Minisini
60adb14b26 [EXAMPLES]
* NEW: MediaPlayer: Display error messages in the interface.

[GB.MEDIA]
* BUG: MediaPlayer.ConnectionSpeed will not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-02 14:34:48 +00:00
Benoît Minisini
0a97949f19 [GB.MEDIA]
* BUG: Do not crash while receiving a message associated with a GStreamer 
  plugin unknown to Gambas.
* BUG: Hide warnings when reading a GStreamer date/time value.


git-svn-id: svn://localhost/gambas/trunk@5692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-02 14:18:31 +00:00
Benoît Minisini
ecffcb1a26 [DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the background of special methods in the code editor 
  procedure list.

[EXAMPLES]
* NEW: MediaPlayer: Add a button to display the contents of the first video
  device (/dev/video0).

[GB.MEDIA]
* BUG: The MediaPlayer.Input property is actually read-only.
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@5691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-01 16:57:34 +00:00
Benoît Minisini
c9dc4085c2 [GB.MEDIA]
* NEW: Use GStreamer 1.0 instead of GStreamer 0.10 that is now deprecated.


git-svn-id: svn://localhost/gambas/trunk@5690 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-01 15:45:17 +00:00
Benoît Minisini
892b814f54 [GB.MEDIA]
* NEW: Do not raise an error if a tag has an unsupported format. Just 
  display a warning message.


git-svn-id: svn://localhost/gambas/trunk@5439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-15 22:09:14 +00:00
Benoît Minisini
23f4d823e9 [GB.MEDIA]
* BUG: Fix retrieving of media tags that are arrays of values.


git-svn-id: svn://localhost/gambas/trunk@5436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-15 02:07:54 +00:00
Benoît Minisini
2476e0a2a2 [DEVELOPMENT ENVIRONMENT]
* BUG: The project tree control now uses the same icons as the main project 
  tree view.
* NEW: Support for LCDLabel.

[EXAMPLES]
* BUG: MediaPlayer: Remove uses of the DrawingArea.Painted property.

[INTERPRETER]
* BUG: The GB.GetProperty() API has been fixed, and now use the datatype of 
  the property for the return value.
* OPT: Remove some useless table symbol class at class loading for native 
  classes that do not raise events.

[GB.DRAW]
* NEW: PaintMatrix is now creatable.

[GB.FORM]
* NEW: LCDLabel is a new control that displays its contents with sixteen 
  segments LCD digits.

[GB.MEDIA]
* BUG: Remove the useless MediaPlayer.Visualisation property.


git-svn-id: svn://localhost/gambas/trunk@5412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-05 03:36:44 +00:00
Benoît Minisini
938458a03e [CONFIGURATION]
* NEW: Switch to 3.2.90 version.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix automatic completion of project classes that reimplements 
  another class.

[WEB SITE MAKER]
* BUG: Fix scrolling frames on Chrome.

[INTERPRETER]
* NEW: Args and Env classes are now shortcuts for Application.Args and 
  Application.Env properties.


git-svn-id: svn://localhost/gambas/trunk@4977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-21 20:43:10 +00:00
Laurent Carlier
6b8cf6448e [CONFIGURATION]
* BUG: Adapt to the verbosity output when a pkg-config component isn't available.


git-svn-id: svn://localhost/gambas/trunk@4790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-29 05:55:35 +00:00
Benoît Minisini
8ad1afe673 [CONFIGURATION]
* NEW: Print disabled components individually.

[GB.QT4]
* BUG: ComboBox background color is correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-18 01:19:15 +00:00
Benoît Minisini
0852b3d4ab [GB.MEDIA]
* BUG: Add some include to try fix compilation error on old distributions.


git-svn-id: svn://localhost/gambas/trunk@4727 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-13 14:40:24 +00:00
Benoît Minisini
659f1bf51f [INTERPRETER]
* BUG: Fix a crash when using 'gb.Like' comparison flag.


git-svn-id: svn://localhost/gambas/trunk@4724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-12 12:04:20 +00:00
Benoît Minisini
17f5f0fa0c [GB.MEDIA]
* NEW: MediaControl Tag event now takes a MediaTagList object as argument.
  That object contains all tags received at event time. Not all possible 
  tags are supported yet.

[EXAMPLES]
* NEW: MediaPlayer: Add a panel that displays information about the media
  file get through the Tag event.


git-svn-id: svn://localhost/gambas/trunk@4723 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-09 00:47:21 +00:00
Benoît Minisini
30f9a40f2b [INTERPRETER]
* NEW: Rename all API related to components, and fix components using them.
* NEW: New signal API that allows to catch signals from the event loop.

[GB.GTK]
* BUG: Use g_object_unref() instead of rsvg_handle_free() now.


git-svn-id: svn://localhost/gambas/trunk@4721 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-08 15:32:33 +00:00
Benoît Minisini
e2fac79ffb [CONFIGURATION]
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all 
  Makefile.am files.

[GB.XML]
* BUG: Remove debugging flags from compilation flags.


git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-04 16:45:14 +00:00
Benoît Minisini
bb46919337 [EXAMPLES]
* NEW: MediaPlayer: Add volume support.
* NEW: MediaPlayer: Add many visualisation plugins.

[GB.MEDIA]
* BUG: MediaPlayer: Fix Audio.Current, Video.Current and Subtitle.Current
  properties.
* BUG: MediaPlayer: Fix Audio.Mute property.
* NEW: MediaControl: Add a Tag property.


git-svn-id: svn://localhost/gambas/trunk@4710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 23:22:13 +00:00
Benoît Minisini
88c69c85ba [EXAMPLES]
* NEW: New MediaPlayer example based on the new gb.media GStreamer 
  component.

[GB.GTK]
* BUG: Utility windows are make transient the same way as in gb.qt4.

[GB.MEDIA]
* NEW: MediaControl.SetWindow() is a new method to associate a GUI control
  to a GStreamer plugin implementing the 'X overlay' interface.


git-svn-id: svn://localhost/gambas/trunk@4706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 11:34:03 +00:00