Video Encoding

From TheBeard Science Project Wiki
Revision as of 20:04, 9 March 2020 by Beard (talk | contribs) (Deinterlacing)

Jump to: navigation, search

Encoding in H.265

I've seen very good quality and significantly smaller file sizes in videos encoded with H.265.

ffmpeg -i infile.mp4 -c:v libx265 outfile.mp4

Deinterlacing

ffmpeg -i 000000.MTS -vf yadif -c:v libx265 outfile.mp4

Timelapse From Image Files

In the terminal, go into your folder full of images.

neuro@gamma:~/timelapse$ ls
DSC05145.JPG  DSC05163.JPG  DSC05181.JPG  DSC05199.JPG  DSC05217.JPG
DSC05146.JPG  DSC05164.JPG  DSC05182.JPG  DSC05200.JPG  DSC05218.JPG
DSC05147.JPG  DSC05165.JPG  DSC05183.JPG  DSC05201.JPG  DSC05219.JPG
DSC05148.JPG  DSC05166.JPG  DSC05184.JPG  DSC05202.JPG  DSC05220.JPG
DSC05149.JPG  DSC05167.JPG  DSC05185.JPG  DSC05203.JPG  DSC05221.JPG
DSC05150.JPG  DSC05168.JPG  DSC05186.JPG  DSC05204.JPG  DSC05222.JPG
DSC05151.JPG  DSC05169.JPG  DSC05187.JPG  DSC05205.JPG  DSC05223.JPG
DSC05152.JPG  DSC05170.JPG  DSC05188.JPG  DSC05206.JPG  DSC05224.JPG
DSC05153.JPG  DSC05171.JPG  DSC05189.JPG  DSC05207.JPG  DSC05225.JPG
DSC05154.JPG  DSC05172.JPG  DSC05190.JPG  DSC05208.JPG  DSC05226.JPG
DSC05155.JPG  DSC05173.JPG  DSC05191.JPG  DSC05209.JPG  DSC05227.JPG
DSC05156.JPG  DSC05174.JPG  DSC05192.JPG  DSC05210.JPG  DSC05228.JPG
DSC05157.JPG  DSC05175.JPG  DSC05193.JPG  DSC05211.JPG  DSC05229.JPG
DSC05158.JPG  DSC05176.JPG  DSC05194.JPG  DSC05212.JPG  DSC05230.JPG
DSC05159.JPG  DSC05177.JPG  DSC05195.JPG  DSC05213.JPG  DSC05231.JPG
DSC05160.JPG  DSC05178.JPG  DSC05196.JPG  DSC05214.JPG  DSC05232.JPG
DSC05161.JPG  DSC05179.JPG  DSC05197.JPG  DSC05215.JPG  DSC05233.JPG
DSC05162.JPG  DSC05180.JPG  DSC05198.JPG  DSC05216.JPG