Skip to content
Snippets Groups Projects

mediainfo: create a binary to preparse files

Open Gabriel Lafond-Thenaille requested to merge mediainfo into master
2 unresolved threads

The vlc-mediainfo binary take path from stdin separated by '\n' and return a preparsed input_item_t along side a list of input_attachment in a JSON format.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Thomas Guillem
  • Thomas Guillem
  • Thomas Guillem
  • Thomas Guillem
  • Thomas Guillem
  • Thomas Guillem
  • Thomas Guillem
  • Thomas Guillem
    Thomas Guillem @tguillem started a thread on commit 42d13d95
  • bin/mediainfo.c 0 → 100644
    50 struct mediainfo {
    51 libvlc_instance_t *vlc;
    52 vlc_preparser_t *preparser;
    53 vlc_queue_t queue;
    54 uint32_t counter;
    55 int wakeup_fd;
    56 int wait_fd;
    57 };
    58
    59 static int mediainfo_Init(mediainfo_t *mi);
    60 static void mediainfo_Clean(mediainfo_t *mi);
    61 static int mediainfo_Preparse(mediainfo_t *mi, const char *path);
    62
    63 /* mi_media_t */
    64 struct mi_media {
    65 mi_media_t *next;
  • Thomas Guillem
  • Thomas Guillem
  • Thomas Guillem
    Thomas Guillem @tguillem started a thread on commit 42d13d95
  • bin/mediainfo.c 0 → 100644
    441 }
    442 break;
    443 }
    444 }
    445 }
    446 }
    447
    448 /****************************************************************************
    449 * main
    450 *****************************************************************************/
    451
    452 int main(int argc, char **argv)
    453 {
    454 VLC_UNUSED(argc);
    455 VLC_UNUSED(argv);
    456
  • added 3 commits

    • 54ec427f - misc: Create two static library to de/serialize input_item_t with json
    • 1c10a422 - misc: add json serializer for input_attachment
    • a39752a6 - mediainfo: create a binary to preparse files

    Compare with previous version

  • added 1 commit

    • 93e9df9f - mediainfo: create a binary to preparse files

    Compare with previous version

  • Please register or sign in to reply
    Loading