Convert jp4

From ElphelWiki
Revision as of 11:43, 8 February 2011 by Oleg (talk | contribs) (Created page with "== 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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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