PCAP2MJR(1)
β¨ 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. pass0and 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 π§
https://github.com/meetecho/janus-gatewayβ the official repositoryhttps://janus.conf.meetecho.comβ demos and documentationhttps://janus.discourse.group/β the communityhttps://www.meetecho.com/blog/β tutorials and blog posts on Janus
π 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
- fedora 43: janus-tools 1.3.1-4.fc43 Β· GPL-3.0-only AND MIT AND BSD-3-Clause
- fedora 43: janus-tools 1.4.2-1.fc43
- fedora 43: janus-tools 1.4.3-1.fc43 Β· GPL-3.0-only AND MIT AND BSD-3-Clause
- fedora 44: janus-tools 1.3.3-6.fc44 Β· GPL-3.0-only AND MIT AND BSD-3-Clause
- fedora 44: janus-tools 1.4.2-1.fc44
- fedora 44: janus-tools 1.4.3-1.fc44 Β· GPL-3.0-only AND MIT AND BSD-3-Clause
- ubuntu stonking: janus-tools 1.4.1+ds-4build1 Β· GPL-3.0-only WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms