Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmeta-extract outputs invalid JSON #1

Open
and-viceversa opened this issue Aug 24, 2021 · 0 comments
Open

vmeta-extract outputs invalid JSON #1

and-viceversa opened this issue Aug 24, 2021 · 0 comments

Comments

@and-viceversa
Copy link

Using the tutorial here I export video metadata like

./out/pdraw-macos/staging//native-wrapper.sh vmeta-extract --json ~/Desktop/out.json ~/path/to/my/movie.MP4

The resulting out.json appears to be invalid. There is no comma delimiter between the session and frame objects.

e.g.

{
"session":{
  "friendly_name":"XXXX",
  "maker":"Parrot",
  "model":"XXXX",
  "model_id":"XXXX",
  "serial_number":"XXXX",
  "software_version":"1.7.7",
  "build_id":"anafi-mark3-1.7.7",
  "title":"Fri, 02 Jul 2021 20:34:17 +0200",
  "media_date":"2021-07-02T20:34:17+02:00",
  "run_date":"2021-07-02T20:34:15+02:00",
  "run_id":"2F1C83D2841B2BC9D33BFFAB809D4068",
  "boot_id":"D95E444E9444CC1A12915274CD01F7D6",
  "takeoff_loc":{
    "latitude":XXXX,
    "longitude":XXXX,
    "altitude":XXXX
  },
  "video_mode":"Standard"
}          # <--- comma required here
"frame":[
{
  "time":0,
  "metadata":{
    "drone_quat":{
      "w":0.6580810546875,
      "x":-0.0042724609375,
      "y":-0.0009765625,
      "z":-0.75286865234375
    },

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant