pcap_to_ts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pcap_to_ts [2016/12/15 08:48] walkeradminpcap_to_ts [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== PCAP to TS ====== ====== PCAP to TS ======
 +<color orange>Capture and Convert MFEL streams</color>
 ---- ----
 \\  \\ 
Line 28: Line 28:
     The format for tcpdump is - tcpdump -i <interface> -s 65535 -w <some-file>     The format for tcpdump is - tcpdump -i <interface> -s 65535 -w <some-file>
     tcpdump -i eth2 -B 64000 dst host 239.0.12.1 and port 1234 and multicast -w /home/ts_capture_test.pcap     tcpdump -i eth2 -B 64000 dst host 239.0.12.1 and port 1234 and multicast -w /home/ts_capture_test.pcap
 +
          
 +    Example:
 +    tcpdump -i eth2 -B 64000 dst host 239.0.100.1 and port 1234 and multicast -w /home/hd_tennis_10Mbs.pcap
 +
 +
     if the syntax is correct, the tcpdump will start:     if the syntax is correct, the tcpdump will start:
     tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes     tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture size 65535 bytes
Line 50: Line 55:
 ---- ----
 ==== Convert .pcap to .ts ==== ==== Convert .pcap to .ts ====
-\\ <color red>This is done on your computer, not on the MFEL</color>\\ \\ +<color red>This is done on your computer, not on the MFEL</color> 
 +\\  
 +\\ 
 Having created a .pcap file means we have all of the information we need to replay and analyse any captured stream. However before we access the stream we need to extract the Transport Stream from the .pcap file and save it as a .ts. Having created a .pcap file means we have all of the information we need to replay and analyse any captured stream. However before we access the stream we need to extract the Transport Stream from the .pcap file and save it as a .ts.
 \\  \\ 
 \\  \\ 
 There is a tool available called <color red>Extractor.exe</color> that we can use to extract the TS from the .pcap file. There is a tool available called <color red>Extractor.exe</color> that we can use to extract the TS from the .pcap file.
 +\\ 
 +\\ 
 +Download the extractor file here {{ :extractor.zip |}}
 \\  \\ 
 \\  \\ 
Line 64: Line 74:
     extractor source_file.pcap output.ts multicast port     extractor source_file.pcap output.ts multicast port
 \\  \\ 
-If I have a source file called <color red>mfel.pcap</color> and I want to extract this to <color red>mfel.ts</color red>, assuming the original multicast details are 239.0.12.1:1234 then my command line will be:+If I have a source file called <color red>mfel.pcap</color> and I want to extract this to <color red>mfel.ts</color>, assuming the original multicast details are 239.0.12.1:1234 then my command line will be:
 \\  \\ 
 \\  \\ 
pcap_to_ts.1481791704.txt.gz · Last modified: 2023/03/09 22:35 (external edit)