Convert jp4

From ElphelWiki
Jump to: navigation, search

Description

JP4 is a raw format used in elphel cameras. You will need Movie2dng, dcraw & cjpeg.

sudo apt-get install dcraw cjpeg

JP4 to DNG

movie2dng --dng file.jp4

The output is a file.dng

JP4 to PPM

movie2dng --dng file.jp4
dcraw -q 1 -f file.dng

JP4 to JPEG

movie2dng --dng file.jp4
dcraw -c -q 1 -f file.dng | cjpeg -quality 100 > file.jpeg

Links