mainTraverso-DAW: Record and Arrange Audio Fast - Support: sr #109682, Ideas: TimeLabel’s display mode,...

 
 

sr #109682: Ideas: TimeLabel’s display mode, Project’s FrameRate and Video Import Feature

Submitter:  Renzhi Shi <skyfe>
Submitted:  Mon 13 May 2019 09:11:10 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 13 May 2019 08:23:06 PM UTC, comment #2: 

About video support.

what about using: https://doc.qt.io/qt-5/videooverview.html ?

any up or downsides using Qt's video framework over using FFmpeg ?

Remon Sijrier <r_sijrier>
Group administrator
Mon 13 May 2019 06:56:20 PM UTC, comment #1: 

Just some thoughts:

Move discussion of Video support to traverso-devel mailinglist so others can join in and share their thoughts

TimeRef has been created to just support that, conversion to other units with no or very little rounding errors

TTimeLabel is probably the only class that does not use mouse/keyboard handling the way it should be done.
I would suggest to:

  • Move SheetPanelViewPort to it's own file
  • Get rid of the QHBoxLayout stuff in there
  • Make the TTimeLabel a proper ViewItem class
  • Add shortcuts in ShortCutManager and shortcuts.ini for changing the display mode


You'll notice that if you make those changes Traverso will automatically create a QMenu with the same actions for that viewport when you use right mouse button on the SheetPanelViewPort
(So pure mouse users get what they want, keyboard users (the power user so to speak) will love it even more cause it's way faster

I think working on this will make you also more familiar with how Traverso works and will make working on a VideoTrack easier.

Just my 2 cents :)


Remon Sijrier <r_sijrier>
Group administrator
Mon 13 May 2019 09:11:10 AM UTC, original submission:  

In my humble opinion, the Label ( TTimeLabel in SheetWidget ) and the timeline could have three different display mode (can be switch by mouse clicks)
1. Seconds ( HH:MM:SS:999 )
2. Time Code ( HH:MM:SS:FF )
3. Samples ( Audio Frame Count at certain TimeRef )
I noticed the "TimeRef" concept and those time conversion function defined in "common/Utils.cpp", just add some new function like “TimeRef_to_smptetc” to achieve those.
And FrameRate and SampleRate can be changed on the Project setting dialog (support 24, 25, 29.976, 30FPS; drop frame or Non drop frame type) .

Finally, the builtin video player, I intend to use FFmpeg to decode the video and seek to certain frame during playback according “current frame” ( run in thread ).
Maybe some class like “VideoReadSource”,“VideoClip”, “VideoTrack”, “VideoClipView“,VideoTrackView” etc. need be created to make this feature work.

Any suggestion? Thanks!

Renzhi Shi <skyfe>

 

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

Attach Files:
   
   
Comment:
   

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 r_sijrier (Posted a comment)
  • -email is unavailable- added by skyfe (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code