Open Command prompt and go to to wireshark directory like
cd C:\Program Files\Wireshark tshark -nr input.pcap -T fields -e ip.src -e ip.dst -E separator=, > ouput.csv
here you have to provide input.pcap file with directory and you will get output in csv format.