Running libvideo-metadata

Hello,

I am a little confused how I am supposed to build and compile libvideo-metadata.

What is the proper way to build libvideo-metadata with Alchemy?

Thanks,
-Kato

Hello,

I am assuming you are building for a Linux host.

You can build individual Alchemy packages using -A <package_name>, for example:

./build.sh -p pdraw-linux -A libvideo-metadata -j4

or for the vmeta-extract program:

./build.sh -p pdraw-linux -A vmeta-extract -j4

This builds the package including all its dependencies (package names are found in the LOCAL_MODULE variable in atom.mk files). The result can be found in out/pdraw-linux/staging/

Hi @Akaaba,
This post helped me get vmeta-extract built as not familiar with Alchemy however can you let me know then how to use vmeta-extract?
I can use this:
./out/pdraw-linux/staging/native-wrapper.sh vmeta-extract -h
to successfully run and view the help options.
But when I try and run it on a video file like this:
./out/pdraw-linux/staging/native-wrapper.sh vmeta-extract --pretty --json ~/videos/parrot_vid_2.MP4

I don’t seem to get any output and just get the help information output.
I must be doing something wrong.
I’m running on Ubuntu 18.04 and PDraw installed fine as per these instructions:
https://developer.parrot.com/docs/pdraw/installation.html

Thanks,
Paul

Hi,

the --json option requires the output JSON file name as argument.
So in your case:
./out/pdraw-linux/staging/native-wrapper.sh vmeta-extract --pretty --json out.json ~/videos/parrot_vid_2.MP4

1 Like