This is Python script that generates an HTML view of the contents of a capture file.
You need Python2 and Wireshark.
python pcap2html.py <input_file>
<input_file> is a capture file.
python pcap2html.py ~/Desktop/mycapture.pcap
The conversion requires an intermediate transformation to XML, which is currently done in memory. As a result, conversion of large files may be very slow.