This is our old Q&A Site. Please post any new questions and answers at


Was wondering if it's possible to point Wireshark, or a Wireshark utility, at an existing pcap UDP capture file and have it do the equivalent of: * Follow UDP Stream * Save As (Raw format) to a specified output file ...from the command line.

Is this doable?


-phil matthews

asked 09 Jan '15, 06:55

philbo_m's gravatar image

accept rate: 0%

Please read the scripting part of my answer to a similar question.

As an alternative, you can run tshark with the options -V and -x, or -T dpml and then and extract whatever you need from that output.

tshark -nr input.pcap -V -x | your_script
tshark -nr input.pcap -T pdml | your_script


permanent link

answered 10 Jan '15, 04:55

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%

Hey Kurt,

Using '-T pdml' + a little bit of post-processing on the element - works like a charm.



(15 Jan '15, 06:49) philbo_m
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 09 Jan '15, 06:55

question was seen: 16,436 times

last updated: 15 Jan '15, 07:35

p​o​w​e​r​e​d by O​S​Q​A