Using ffmpeg, ffprobe, and the fluent-ffmpeg libraries to get file JSON, single group of pictures and inspect a video file Link to essay
- clone this respository to your local machine
https://github.com/maubertw/group-of-pictures.git - Run
npm installif you have npm locally ornpm install --save-dev nodemonif you don't - Run
npm start
-- This link will show the JSON video metadata for the CoolVideo file
http://localhost:3000/videos/CoolVideo.mp4/group-of-pictures.json
-- Here you can get a single group of pictures by index (excluding 0)
(http://localhost:3000/videos/CoolVideo.mp4/group-of-pictures/<index>.mp4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
http://localhost:3000/videos/CoolVideo.mp4/group-of-pictures