Skip to content

wiseman/turboshrimp-xuggler

Repository files navigation

turboshrimp-xuggler

Build Status

This is an AR.Drone PaVE video decoder for turboshrimp that uses xuggler.

Usage

(require '[com.lemondronor.turboshrimp.xuggler :as video])

(def decoder (video/decoder))
(decoder <byte array containing video frame>)

Testing

lein test

A sample PaVE video file is supplied in test-resources/video-long.pave. You can decode and display it with

cat test-resources/video-long.pave | lein run -m showvideo --fps 30 --file

You can see latency reduction in action with

cat test-resources/video-long.pave | lein run -m showvideo --fps 120 --file

You should see output like this:

06:34:36.905 [main] DEBUG com.lemondronor.turboshrimp.pave - Skipped 7 frames
06:34:37.049 [main] DEBUG com.lemondronor.turboshrimp.pave - Skipped 5 frames
06:34:37.191 [main] DEBUG com.lemondronor.turboshrimp.pave - Skipped 2 frames
[etc.]

License

Copyright © 2014, 2015,2016 John Wiseman

Distributed under the MIT license. See the accompanying LICENSE file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published