|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
||||
|
||||
|
FRC Video Splitter (Beta)
I'm proud to announce a little project I've been working on the past few days called FRC Video Splitter. I've hosted the code on GitHub. Download the .zip file and run setup.exe to install it on your computer.
Video Splitter is a simple interface for batching the splitting of a large file into many smaller ones, specifically aimed at FRC match video. The aim is to make it easier for people to split an entire day of recording into individual match videos. At it's core, it's simply a GUI for generating ffmpeg commands. ![]() Instructions for use:
Notes:
|
|
#2
|
|||||
|
|||||
|
Re: FRC Video Splitter (Beta)
This looks awesome and really useful!
If you want a basis from cross-platform support, I've got a command line python script that does basically the same thing on my GitHub. It works almost exactly the same way - read the time data from a csv file, send ffmpeg commands to split it, upload to youtube, add to a playlist, and generate a CSV file to copy/paste into the TBA Video Spreadsheet. |
|
#3
|
||||
|
||||
|
Re: FRC Video Splitter (Beta)
Cool tool!
On speeding up the time stamping process: You might be able to pull use an excel sheet, and say the Match Timestamps from http://frc-events.usfirst.org/2015/FLFO/qualifications If you get your recording computer clock lined up with the FMS computer.... Does the new FMS Api report timestamps in seconds? |
|
#4
|
||||
|
||||
|
Re: FRC Video Splitter (Beta)
Quote:
|
|
#5
|
||||
|
||||
|
Re: FRC Video Splitter (Beta)
That's what I was gonna suggest since the sound of the transition from Auton to Teleop has a "unique" sound signature that should be easily identifiable. Or maybe not I've never done anything related to analyzing audio. Let us know if it works out if you attempt it.
|
|
#6
|
|||||
|
|||||
|
I'll definitely use it for this year. It's going to be crazy driving, and directing my little freshman video crew I trained earlier this year. So anything with organizing video will help. When I do it myself it's easy to know which one is which because I make mental notes. When there's 4 other kids using my equipment I don't know what file is which and these kind of programs help. I'll use this in conjunction with plural eyes to organize everything.
|
|
#7
|
||||
|
||||
|
Re: FRC Video Splitter (Beta)
I tried installing this but I got an error when running the setup, I've included a copy of the error log file below. Not sure if it's the program or if I installed ffmpeg wrong (dragged the executable into "C:\").
Code:
PLATFORM VERSION INFO Windows : 6.1.7601.65536 (Win32NT) Common Language Runtime : 4.0.30319.34209 System.Deployment.dll : 4.0.30319.34244 built by: FX452RTMGDR clr.dll : 4.0.30319.34209 built by: FX452RTMGDR dfdll.dll : 4.0.30319.34244 built by: FX452RTMGDR dfshim.dll : 4.0.41209.0 (Main.041209-0000) SOURCES Deployment url : file:///C:/Users/*MyUsername*/Downloads/FRC-Video-Splitter-master/FRC-Video-Splitter-master/FRCVideoSplitter.application Application url : file:///C:/Users/*MyUsername*/Downloads/FRC-Video-Splitter-master/FRC-Video-Splitter-master/Application%20Files/FRCVideoSplitter_1_0_0_0/FRCVideoSplitter.exe.manifest IDENTITIES Deployment Identity : FRCVideoSplitter.application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6f52f40a19a9655d, processorArchitecture=msil APPLICATION SUMMARY * Installable application. ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of C:\Users\*MyUsername*\Downloads\FRC-Video-Splitter-master\FRC-Video-Splitter-master\FRCVideoSplitter.application resulted in exception. Following failure messages were detected: + Application manifest has either a different computed hash than the one specified or no hash specified at all. + File, FRCVideoSplitter.exe.manifest, has a different computed hash than specified in manifest. COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected. WARNINGS There were no warnings during this operation. OPERATION PROGRESS STATUS * [3/3/2015 11:38:11 PM] : Activation of C:\Users\*MyUsername*\Downloads\FRC-Video-Splitter-master\FRC-Video-Splitter-master\FRCVideoSplitter.application has started. * [3/3/2015 11:38:11 PM] : Processing of deployment manifest has successfully completed. * [3/3/2015 11:38:11 PM] : Installation of the application has started. ERROR DETAILS Following errors were detected during this operation. * [3/3/2015 11:38:11 PM] System.Deployment.Application.InvalidDeploymentException (HashValidation) - Application manifest has either a different computed hash than the one specified or no hash specified at all. - Source: System.Deployment - Stack trace: at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath) at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath) at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp) at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc) at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl) at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) --- Inner Exception --- System.Deployment.Application.InvalidDeploymentException (HashValidation) - File, FRCVideoSplitter.exe.manifest, has a different computed hash than specified in manifest. - Source: System.Deployment - Stack trace: at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash) at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection) at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath) COMPONENT STORE TRANSACTION DETAILS No transaction information is available. |
|
#8
|
|||||
|
|||||
|
Re: FRC Video Splitter (Beta)
And then use computer vision to automatically detect which match it is.
#automation |
|
#9
|
||||
|
||||
|
Re: FRC Video Splitter (Beta)
Ah. I've had that hash issue on other programs. I'll work on the fix.
|
|
#10
|
||||
|
||||
|
Re: FRC Video Splitter (Beta)
Quote:
Try downloading again and installing. |
|
#11
|
||||
|
||||
|
Re: FRC Video Splitter (Beta)
Hi all,
I figured out how to add ffmpeg.exe as a resource. You no longer need to download it! |
|
#12
|
|||||
|
|||||
|
Re: FRC Video Splitter (Beta)
Quote:
I think using computer vision to show when to mark the end of a match would be good too. I've seen archived matches where they don't show the final score. If you can't detect the beginning of a match sound I think that labeling the start of the match 'X' seconds before the unique auto/teleop sound would work well too. |
|
#13
|
||||
|
||||
|
Re: FRC Video Splitter (Beta)
This is a tough call. You want to show the final score, but sometimes there's that 5-10 minute delay while the refs talk confer. You could cut that out, but that's a lot of manual labor and would be a great target for automation.
|
|
#14
|
|||||
|
|||||
|
Re: FRC Video Splitter (Beta)
Yes, cutting out the time when the refs/scorekeepers are doing their thing would be better. You could then automate it by saying match start = 10 seconds before noise, match end =2 minutes after noise (or whatever the correct timings are) and then if the difference between that and the scoreboard screen is larger than 20 seconds or so flag it for manual review or even automate it more to delete that time inbetween...
|
|
#15
|
||||
|
||||
|
Re: FRC Video Splitter (Beta)
So I've finally had some time to play around with this and I must say I'm very impressed with the speed and simplicity of using this program. I'm even more happy (and a bit surprised) that it's compatible with .flv files (the native output of our stream software).
One idea on the whole scoreboard discussion; can ffmpeg merge video clips? If it can, you could just add another (optional) timestamp column to the match list for scoreboard appearance times, then take like a 10 second video clip (or for that matter just a still image would work) from that point and tack it on to the end of the match video. Just a thought. Last edited by cbale2000 : 03-09-2015 at 02:31 PM. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|