Skip to content

Instantly share code, notes, and snippets.

# Convert Video to audio
ffmpeg -i video.mp4 -c:a pcm_s16le audio.wav
# Concatenate 2 or more video files
ffmpeg -i concat: "part1.avi | part2.avi | part3.avi" output.avi
# Crop the video
ffmpeg -i input.avi -ss 00:00:25 -t 00:00:10 -async 1 ouput.avi
where, -i: input
-ss: start time
Microsoft:
https://docs.microsoft.com/en-us/cognitive-toolkit/object-detection-using-faster-r-cnn
<to create ur own dataset>
https://docs.microsoft.com/en-us/cognitive-toolkit/Object-Detection-using-Fast-R-CNN#train-on-your-own-data
<To create annotation>
https://github.com/Microsoft/VoTT/releases
https://github.com/Microsoft/VoTT/blob/master/README.md
@Tejeshwarabm
Tejeshwarabm / text2json
Created January 22, 2018 09:16
Steps to follow to convert text to json
$ sudo apt install npm
$ sudo npm install dna2json -g
$ dna2json
npm WARN checkPermissions Missing write access to /usr/local/lib
/usr/local/lib
`-- dna2json@1.0.7
+-- first-match@0.0.1
+-- lodash.reduce@3.1.2
| +-- lodash._basecallback@3.3.1