octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #61721] (octave forge) [video]: VideoWriter Du


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #61721] (octave forge) [video]: VideoWriter Duration property is not always updated
Date: Thu, 23 Dec 2021 07:17:11 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0

URL:
  <https://savannah.gnu.org/bugs/?61721>

                 Summary: (octave forge) [video]: VideoWriter Duration
property is not always updated
                 Project: GNU Octave
            Submitted by: pantxo
            Submitted on: jeu. 23 déc. 2021 12:17:10 UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

In the current implementation of the VideoWriter, the Duration property is
only updated when the FrameCount is retrieved. E.g., the following should
return a non zero value (0.033333):

fn = fullfile (tempdir (), "toto.mp4");
w = VideoWriter (fn);
open (w);
writeVideo (w, getframe (gcf));
w.Duration
close (w)


I'll attach a patch when I have a bug number.

CC'ing the package maintainer.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61721>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]