Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/i-redbyte/simple-video-info
Test server for receiving information about the uploaded video
https://github.com/i-redbyte/simple-video-info
Last synced: 20 days ago
JSON representation
Test server for receiving information about the uploaded video
- Host: GitHub
- URL: https://github.com/i-redbyte/simple-video-info
- Owner: i-redbyte
- Created: 2019-12-09T19:05:35.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-12T11:28:56.000Z (almost 4 years ago)
- Last Synced: 2024-10-16T06:35:28.525Z (2 months ago)
- Language: Go
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple video info server
=======A simple server that allows you to download video and get brief information about it
How run app
======
- First, install ffmpeg 3.x libraries on your system.(For example for Mac OS:**brew install sy1vain/ffmpeg/[email protected]**)
- For run: go run -tags ffmpeg33 *.go
- For build: go build -tags ffmpeg33
- Request example: curl -X POST \
http://localhost:4000/api/uploadVideo \
-F file=@/path_to_video_file
- Response example:```json
{
"video": {
"name": "h263",
"width": 176,
"height": 144,
"bitRate": 124428,
"duration": "36.133984375s"
},
"audio": {
"name": "amrnb",
"bitRate": 12804,
"duration": "36.021s"
}
}
```