It is currently 27 Mar 2017, 09:37



Update .NET library to support clip duration and frame rate

CasparCG Server, Client and development

Moderators: Macey, Jonas Hummelstrand, didikunz

Update .NET library to support clip duration and frame rate

Postby vimlesh1975 » 13 Nov 2013, 10:16

As CLS command is now showing the clip duration and frame rate by the latest server build according to the merged pull request https://github.com/CasparCG/Server/pull/205; I request to update the .NET library.
Untitled.png
Untitled.png (3.56 KiB) Viewed 1612 times
User avatar
vimlesh1975
 
Posts: 595
Joined: 29 Aug 2011, 11:42
Location: Doordarshan, Mumbai, India

Re: Update .NET library to support clip duration and frame r

Postby Peter Karlsson » 13 Nov 2013, 13:25

Committed timecode support to the SourceForge repo.
https://sourceforge.net/p/casparcg/code/3805/
Former CasparCG Client Lead Developer
Feel free to contact me if you need any CasparCG related support, development or other consulting.
Peter Karlsson
 
Posts: 305
Joined: 05 Nov 2010, 09:35
Location: Sweden

Re: Update .NET library to support clip duration and frame r

Postby Jonas Hummelstrand » 13 Nov 2013, 13:47

Great! That should mean that we can update the Download page soon, right?
Jonas Hummelstrand
Independent Consultant at SuperFly.tv
Former Community Manager for CasparCG

Problems? Guide to posting Bug reports & Feature requests
User avatar
Jonas Hummelstrand
 
Posts: 2538
Joined: 21 Apr 2009, 08:07
Location: Stockholm, Sweden

Re: Update .NET library to support clip duration and frame r

Postby Peter Karlsson » 13 Nov 2013, 13:52

We should rewrite the entire library, if you ask me.
Former CasparCG Client Lead Developer
Feel free to contact me if you need any CasparCG related support, development or other consulting.
Peter Karlsson
 
Posts: 305
Joined: 05 Nov 2010, 09:35
Location: Sweden

Re: Update .NET library to support clip duration and frame r

Postby Jonas Hummelstrand » 13 Nov 2013, 16:16

Peter Karlsson wrote:We should rewrite the entire library, if you ask me.

Is there anyone in the community that is willing to take on the task of rewriting the .NET library?
Jonas Hummelstrand
Independent Consultant at SuperFly.tv
Former Community Manager for CasparCG

Problems? Guide to posting Bug reports & Feature requests
User avatar
Jonas Hummelstrand
 
Posts: 2538
Joined: 21 Apr 2009, 08:07
Location: Stockholm, Sweden

Re: Update .NET library to support clip duration and frame r

Postby nimbus » 13 Nov 2013, 17:17

I have allready thought about rewriting the library because for my current projects, the modifications and additions I made to the existing framework are making it slow and dirty programmed :D
nimbus
 
Posts: 13
Joined: 09 Oct 2012, 08:10
Location: Linz, Austria

Re: Update .NET library to support clip duration and frame r

Postby Jonas Hummelstrand » 13 Nov 2013, 17:31

The code is checked in to GitHub, so feel free to modify it, or suggest a complete replacement!
Jonas Hummelstrand
Independent Consultant at SuperFly.tv
Former Community Manager for CasparCG

Problems? Guide to posting Bug reports & Feature requests
User avatar
Jonas Hummelstrand
 
Posts: 2538
Joined: 21 Apr 2009, 08:07
Location: Stockholm, Sweden

Re: Update .NET library to support clip duration and frame r

Postby mcdikki » 13 Nov 2013, 18:28

Maybe we should work on one of the community libs that are already out there like the one from didikunz or my one.

Both has been developed because of missing functions in the official one. Maybe that way, we can improve the lib in terms of features and usage.

Just a idea, let me know what you think about it.

cheers
mcdikki
sublan.tv - Wir teilen Begeisterung
User avatar
mcdikki
 
Posts: 1051
Joined: 11 Dec 2012, 15:48
Location: Germany

Re: Update .NET library to support clip duration and frame r

Postby Jonas Hummelstrand » 13 Nov 2013, 19:41

Sound great, and I suggest using GitHub for the collaboration!
Jonas Hummelstrand
Independent Consultant at SuperFly.tv
Former Community Manager for CasparCG

Problems? Guide to posting Bug reports & Feature requests
User avatar
Jonas Hummelstrand
 
Posts: 2538
Joined: 21 Apr 2009, 08:07
Location: Stockholm, Sweden

Re: Update .NET library to support clip duration and frame r

Postby vimlesh1975 » 23 Nov 2013, 16:26

Peter Karlsson wrote:Committed timecode support to the SourceForge repo.
https://sourceforge.net/p/casparcg/code/3805/


I downloaded the trunk, run the project and found updated Svt.Caspar.dll file in casparcg-code-3805-framework-csharp-trunk\Svt.Caspar\bin\Debug folder.
Added it in my project and now I am getting the duration of media file as below
Code: Select all
dgvclips.CurrentRow.Cells(1).Value = File.Timecode


Updated file is below
https://www.dropbox.com/s/c4zaf9gvqjy40jv/Svt.Caspar.dll
User avatar
vimlesh1975
 
Posts: 595
Joined: 29 Aug 2011, 11:42
Location: Doordarshan, Mumbai, India

Re: Update .NET library to support clip duration and frame r

Postby Ricardo Chorro2 » 25 Jan 2017, 08:24

Hi, would it be possible to have the same option with the frame rate?
Ricardo Chorro2
 
Posts: 17
Joined: 26 Feb 2015, 19:17


Return to Tech and Development

Who is online

Users browsing this forum: Bing [Bot] and 3 guests