i'm capturing network packets( a transport stream) along with its arrival time using winpcap library. But I'm facing some issues.Whenever I play audio on my machine or copy a large file from network, the timing information of my captured packets gets distorted.Some packets timestamp are very close to each other while others are a bit far.Is there any solution (software/hardware) to rectify this.I need accurate timestamping of network packets.
capturing network packets with accurate timestamp
1.2k views Asked by Ashish At
1
There are 1 answers
Related Questions in VISUAL-C++
- Visual Studio C++, breakpoints not stopping debugging DLL (GODOT GDExtention)
- MSVC Compiler Template Sizeof...() not working
- Visual Studio C++ Access to path is denied
- How can I use CsvHelper to parse a string into a list of tokens?
- Unable to add request headers via CHttpFile - C++/MFC
- Is there a worked example of using CStrBufT with a CString?
- wxMediaCtrl causes access read violation when loading
- Why do I get weird class method redefinition errors when I compile with Visual C++ 2022?
- How to make VCPKG copies dependencies pdb files in output directory
- Difference between INT_MIN , INT8_MIN , INT16_MIN. For MAX too
- 'pip install mariadb' states that it cannot find include file 'mysql.h' on my Windows 10 dekstop
- Windows Custom Credential Provider is not displaying tile on logon for all users in a pc
- Why does MSVC never return struct in RAX for member-functions?
- Configure target system
- UI Interface Crashes and Hanging Issues in MFC Application
Related Questions in NETWORK-PROGRAMMING
- "(Reason: CORS header ‘Access-Control-Allow-Origin’ missing)" while trying to access Actix webserver from Wix site
- My server TCP doesn't receive messages from the client in C
- I am currently trying to implement a rudimentary firewall from a video I watched but the nimda worm detection is not working and i do not know why?
- Is there a way to trigger a network buffer flush in Python?
- Redirect outbound traffic to a different port
- Post request response time spikes
- How to connect docker container to vpn site to site
- EADDRNOTAVAIL Node JS
- How to handle Okhttp3 POST Failing after changing location? Roaming issue?
- Why my message doesn't write into the socket when I try to read the response after sending it?
- Networkx Multiple Circular Layouts Combined Together
- trivial socket program failing at accept() with errno 22
- getaddrinfo() returning unexpected results
- JmDNS create() function not working on my device
- What C code will determine the network adapter being used by an open socket?
Related Questions in PACKET-CAPTURE
- Detect and capture openconnect traffic using eBPF/XDP
- AWS SDK transcribe streaming not working for OPUS
- modifying sent and received packets on my machine using scapy
- is the RST ACK packet in wireshark normal?
- Packet Sniffing on Mirrored Port - Missing Packets when UDP Message > 50kb (Python, Scapy)
- Packet Arrival time Drifting Linearly at the Receiving Endpoint
- Scapy Error sending packet (promiscuous mode)
- tcpdump is buffering incoming packets and storing into pcap file
- Troubleshooting ASHA Protocol Audio Streaming Issue: LEAP Error in CoreBluetooth BLE Connection
- Packet Arrival time different in recieving endpoint
- Filtering for Quic Client Hello packets with tcpdump
- How to detect the real IP addresses of an hacker in ARP Spoofing using Wireshark?
- When sending a file with a WiFi adapter, the number of packets sent according to Powershell is much lower than the expected value
- How to run scapy python scripts in linux?
- Send packet with SharpPCAP on Loopback device
Related Questions in HARDWARE-INTERFACE
- What could be causing TPM_RC_COMMAND_SIZE error (0x80010000000a00000142) in response to TPM_GETRANDOM?
- Python Serial: WinError 10053 on a hardware connection (DOBOT MG400)
- How can I programmatically decide what class to create an object as?
- Adjust STEM detectors gain
- USBIP appears to send and receive extra URBs compared to what’s actually being sent by the device
- How to create an event listener in java to check hardware changes in MacOS operating systems?
- Is there any way to get serial number of ledger nano devices| Ledger Nano S,Ledger Nano X|Using Golang
- Receive data from serial port on higher baud rates using C#
- CAN Bus RX Errors
- Linux device interaction
- Detect "Windows" key of qwerty keyboard in Android
- tornado blocked by tight loop inside async function on windows but not linux
- What is an OS' HAL?
- Advice dealing with Undefined Behavior in Python using Ctypes - OSError:exception:access violation reading 0x00000000000000000
- CK (tCK, nCK) unit ambiguity in DDR3 standard/datasheets?
Related Questions in TRANSPORT-STREAM
- Can I use TSDuck's tsp tool for HLS with token-based authentication?
- Unable to extract KLV data from .mpg file
- Gstreamer include SDT table
- FFMpeg multithreading while decoding udp stream
- How can I play a transport stream file in Angular?
- Formation of CRC-32 for SDT to ts. file
- Extract specific segment from m3u8 playlist using
- How to play a .ts file in Edge browser with Apache2
- Why does converting a .ts stream to .mp4 result in a longer duration
- After converting an HLS M3U8 into an MP4, how to find out if there were TS segments missing, originally?
- FFmpeg custom build support for converting .ts to .mp4 files
- Downsampling / Filtering Data Stream with FFMPEG
- Reading MPEG Transport steam (Binary file) PID value, quickly in Python
- Can't write packet with unknown timestamp av_interleaved_write_frame(): Invalid argument
- Assign PTS to packet based on position in stream
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You could raise the process priority of the capture application to High using the Task Manager.
But you really need to consider what you are trying to achieve and why. Do you want to know when the packet arrives at the NIC, when it is processed by the kernel, when the kernel places it in the capture program's socket buffer, when the capture program reads it out of its buffer, when the kernel places it in some other programs socket buffer, or when some other program reads it from its socket buffer?
All those time stamps are different, and when the system is under load the differences will necessarily become larger. Timing information from capture program will most likely reflect that time when the capture program read the packet out of its own socket buffer. Increasing the capture application's process priority will make that happen more smoothly, but it will make the handling of packets by any other applications less reliable.