You can use tshark for this.
tshark is the terminal version of wireshark.
-p seems useless here.
-a duration:3 must be used only for a capture.
you are using -r D:\test\1.pcap, so this is not a capture.
tshark does not like it :
tshark: A maximum capture time was specified, but a capture isn't being done.
and no output file