Skip to content

Instantly share code, notes, and snippets.

@dfinke
Created December 17, 2025 18:25
Show Gist options
  • Select an option

  • Save dfinke/2846a4d08dd8348f360b1a3a7c0ad0e9 to your computer and use it in GitHub Desktop.

Select an option

Save dfinke/2846a4d08dd8348f360b1a3a7c0ad0e9 to your computer and use it in GitHub Desktop.
PowerShell scrript to extract Timeline Markers from Camtasia project - the tscproj JSON
# 1. Load the project file
$project = Get-Content "YourProject.tscproj" -Raw | ConvertFrom-Json
# 2. Set the frame rate (editRate) from the project settings
$fps = $project.editRate
# 3. Extract markers and convert frame locations to timestamps
$project.timeline.parameters.toc.keyframes | Select-Object `
@{Name="Timestamp"; Expression={"{0:hh\:mm\:ss}" -f [timespan]::fromseconds($_.time / $fps)}}, `
@{Name="MarkerText"; Expression={$_.value}} |
Format-Table -AutoSize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment