Closed moonmoonmoonmoon closed 2 months ago
Yes, you can use the slice command from ouster-cli to achieve this please refer to this example in our latest doc.
for example try this:
ouster-cli source large.pcap slice 0:100 save small-pcap-1.pcap # save the first 100 frame
ouster-cli source large.pcap slice 100:200 save small-pcap-2.pcap # save the 2nd 100 frame to a different file
# and so on
Alternatively you can use the underlying python API used by the cli command for more control.
Hope this helps!
Hello, everyone. I want to split a pcap file into multiple pcap files. Are there any APIs available to achieve this?