bugGNU Octave - Bugs: bug #57020, [octave-forge] (video): missing...


bug #57020: [octave-forge] (video): missing VideoWriter

Submitted by:  Pantxo Diribarne <pantxo>
Submitted on:  Tue 08 Oct 2019 11:56:39 AM UTC  
Category:  Octave Forge Package Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  In Progress Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 15 Oct 2019 08:41:53 AM UTC, comment #4: 

Adding Package maintainer

Avinoam Kalma <avinoam>
Project Member
Tue 15 Oct 2019 08:34:28 AM UTC, comment #3: 

As John noted, I also saw the error

package is missing file: COPYING

After inserting this file manually to the tar file, I got the error:

the DESCRIPTION file must have a Categories field, when no INDEX
file is given

Avinoam Kalma <avinoam>
Project Member
Tue 08 Oct 2019 08:44:48 PM UTC, comment #2: 

I had added opencv to mxe-octave to so is possible to build and try in windows (it does require manually building the opencv target and then continuing with the nsis-installer/tarball build)

I had not checked yet whether it will even work (apart from cmpiling ok) - I had tried a quick make dist in the new video dev repo and trying in windows with pkg install, however it gave an error of 'package is missing file: COPYING' and I ran out of spare minutes.

John Donoghue <lostbard>
Project Member
Tue 08 Oct 2019 11:59:05 AM UTC, comment #1: 

This looks very promising. I tested the updated code, for VideoWriter only, and it now works well for non synthetic data.
As for the roadmap, here are in IMHO the missing features that should not be hard to have before a first realase for the VideoWriter:

  • most properties should be read-only (SetAccess = "private"): ColorChannels (codec specific), Duration, FileFormat (codec specific), FileName/Path (fixed at object instantiation), FrameCount, Height/Width (fixed by the first provided frame), VideoBitsPerPixel/VideoCompressionMethod/VideoFormat (codec specific),
  • increment FrameCount and Duration after each successful call to writeVideo,
  • allow passing frames or frame arrays  directly to writeVideo, without having to extract the "cdata" field manually,
  • allow passing arbitrary image data types even if we end up converting them internally to whatever is prefered for the chosen codec, e.g uint8 for RGB 24bits video formats.

As for the available output formats, I am no expert so in this area, I am generally happy with whatever the default is. So we just need to make a sensible choice of 1 or 2 widespread formats that can be read with the default viewer for the main platforms.

Pantxo Diribarne <pantxo>
Project Member
Tue 08 Oct 2019 11:56:39 AM UTC, original submission:  

The maintainer of the video package has annouced a preliminary implementation of the VideoWriter function (and VideoReader) was available in the devel branch of the package. See this discussion:


I open this bug report to eventually define a roadmap for the first release and track the progress of the new function.

Pantxo Diribarne <pantxo>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by avinoam
  • -email is unavailable- added by avinoam (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by pantxo (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-15 avinoam Carbon-Copy- => Added andy1978
    2019-10-09 rik5 Carbon-CopyRemoved 72865 => -
    2019-10-09 rik5 CategoryOctave Function => Octave Forge Package
    2019-10-08 pantxo StatusNone => In Progress

    Back to the top

    Powered by Savane 3.5