PCAP2MJR(1)

πŸ“¦
version 1.4.3 Β· 2 versions
, in fedora 43, fedora 44, ubuntu stonking

✨ PCAP2MJR β€” the manual, bestie edition ✨

okay so you found pcap2mjr, a General Commands Manual page, and honestly? she's a tiny little helper with main character energy. let's get into it 🫢


πŸ’– NAME πŸ’–

pcap2mjr β€” a helper tool that converts a pcap dump into a Janus recording. that's it. that's the job. slay. πŸ’…


🌸 SYNOPSIS 🌸

pcap2mjr [options] source.pcap destination.mjr

πŸ¦‹ DESCRIPTION πŸ¦‹

so pcap2mjr is a simple utility that lets you take .pcap network captures, pull out one specific RTP session (by its SSRC, obviously), and turn it into an .mjr Janus recording instead. her whole purpose in life? helping you convert .pcap captures into media files, or making it easier to replay them through Janus. iconic behaviour, no notes. ✨

the tool needs a path to the .pcap file it's reading, and a path to the target .pcap file. and besides all that, it also needs info on the codec and the SSRC to filter on. πŸŽ€

⚠️ heads up bestie: if the tool can't detect any RTP packet with that SSRC, you're getting an error, periodt. so if you want it to autodetect an RTP stream for you, pass 0. πŸ’€

πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help β€” prints help and dips. bye! πŸ‘‹
  • -V, --version β€” prints the version and exits.
  • -c, --codec=codec β€” the codec the recording is gonna contain (like, opus, vp8, etc.). 🎧
  • -s, --ssrc=SSRC(numeric) β€” the SSRC of the packets in the pcap file that you wanna save. pass 0 and it gets autodetected. πŸ”
  • -w, --warnings β€” shows warnings for skipped packets (you know, the ones that aren't RTP, or have the wrong SSRC). 🚨

🌈 EXAMPLES 🌈

pcap2mjr -c opus -s 12345678 rec1234.pcap rec1234.mjr

read all the RTP packets with SSRC 12345678 out of the provided .pcap file, and save them into a brand new .mjr file as an Opus recording. ate. πŸ”₯


πŸ’€ BUGS πŸ’€

if you think you found a bug, or you wanna contribute a feature, you can drop an issue or a pull request at https://github.com/meetecho/janus-gateway/issues.

but anyway β€” before you do any of that, make sure you've read the docs at https://janus.conf.meetecho.com/docs/ and that your thing hasn't already been discussed at https://janus.discourse.group/. fr fr, we only use Github for code issues, and NOT for configuration or usage questions. for that stuff, use the group. πŸ™ˆ


🧚 SEE ALSO 🧚


πŸŽ€ AUTHORS πŸŽ€

Lorenzo Miniero (lorenzo@meetecho.com) β€” the legend herself. πŸ‘‘


and that's the whole page, bestie!! PCAP2MJR(1) out. tysm for reading, go convert some pcaps, drink water, and remember: no cap, you're doing amazing. πŸ’œπŸŒΈβœ¨

πŸ“¦ where this page comes from