logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pcap2mjr - Helper tool to convert a pcap dump to a Janus recording.

Authors

       Lorenzo Miniero (lorenzo@meetecho.com)

                                                                                                     PCAP2MJR(1)

Bugs

       If you think you found a bug or want to contribute a feature, you can issue or a pull request on
       https://github.com/meetecho/janus-gateway/issues.

       Anyway, before doing that make sure you read the documentation at https://janus.conf.meetecho.com/docs/
       and that it has not been discussed already at https://groups.google.com/forum/#!forum/meetecho-janus. We
       only use Github for code issues, and NOT for configuration or usage issues: use the group for that.

Description

pcap2mjr  is a simple utility that allows you take .pcap network captures, extract a specific RTP session
       via its SSRC, and convert it to an .mjr Janus recording instead. Its  main  purpose  is  helping  convert
       .pcap captures to media files, or make it easier to replay them via Janus.

       The tool requires a path to the .pcap file to read, and a path to the target .pcap file; besides, it
       needs info on the codec and the SSRC to filter. Notice that if the tool can't detect any RTP packet with
       that SSRC, it will result in an error: if you want the tool to autodetect an RTP stream, pass 0.

Examples

pcap2mjr-copus-s12345678rec1234.pcaprec1234.mjr - Read all RTP packets with SSRC 12345678 from the
       provided .pcap file, and save them to a new .mjr file as an Opus recording

Name

       pcap2mjr - Helper tool to convert a pcap dump to a Janus recording.

Options

-h, --help
              Print help and exit

       -V, --version
              Print version and exit

       -c, --codec=codec
              Codec the recording will contain (e.g., opus, vp8, etc.)

       -s, --ssrc=SSRC(numeric)
              SSRC of the packets in the pcap file to save (pass 0 to autodetected)

       -w, --warnings
              Show warnings for skipped packets (e.g., not RTP or wrong SSRC)

See Also

       https://github.com/meetecho/janus-gateway - Official repository

       https://janus.conf.meetecho.com - Demos and documentation

       https://groups.google.com/forum/#!forum/meetecho-janus - Community

       https://www.meetecho.com/blog/ - Tutorials and blog posts on Janus

Synopsis

pcap2mjr[options]source.pcapdestination.mjr

See Also