A .NET-based API service that analyzes video content using machine learning models to extract scene information, transcribe audio, and provide detailed scene descriptions.
git clone https://github.com/yourusername/user-content-indexer-api.git
cd user-content-indexer-api
dotnet restore
dotnet build
dotnet run
GET /UserContentIndexer
Header: videoPath=/path/to/your/video.mp4
The API returns a JSON structure containing:
{
"videoname": "string",
"imageDescriptions": [
{
"videodescription": "string",
"tags": {
"primarySubjectTags": "string",
"atmosphereTags": "string",
"styleTags": "string",
"cameraAngleTags": "string"
},
"previewImage": "string",
"startOfScene": "timespan",
"endOfScene": "timespan"
}
],
"whisperResults": [
{
"text": "string",
"start": "timespan",
"end": "timespan"
}
]
}
The project follows a clean architecture pattern with:
The system provides timing information for:
Models are automatically downloaded from Hugging Face on first use:
The system includes comprehensive error handling for:
Extensive logging is implemented using Microsoft.Extensions.Logging:
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Apache-2.0 license
A .NET-based API service that analyzes video content using machine learning models to extract scene information, transcribe audio, and provide detailed scene descriptions.
git clone https://github.com/yourusername/user-content-indexer-api.git
cd user-content-indexer-api
dotnet restore
dotnet build
dotnet run
GET /UserContentIndexer
Header: videoPath=/path/to/your/video.mp4
The API returns a JSON structure containing:
{
"videoname": "string",
"imageDescriptions": [
{
"videodescription": "string",
"tags": {
"primarySubjectTags": "string",
"atmosphereTags": "string",
"styleTags": "string",
"cameraAngleTags": "string"
},
"previewImage": "string",
"startOfScene": "timespan",
"endOfScene": "timespan"
}
],
"whisperResults": [
{
"text": "string",
"start": "timespan",
"end": "timespan"
}
]
}
The project follows a clean architecture pattern with:
The system provides timing information for:
Models are automatically downloaded from Hugging Face on first use:
The system includes comprehensive error handling for:
Extensive logging is implemented using Microsoft.Extensions.Logging:
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Apache-2.0 license