Test a stream like a technician: ffprobe, VLC codec info, mpv stats
When a channel stutters, has no sound or looks softer than it should, an IPTV stream test tells you why faster than any amount of guessing. Three free tools do the job: ffprobe, which comes with FFmpeg; VLC's codec information and statistics; and mpv's statistics overlay. They read the same data your TV app receives and show the codec, resolution, frame rate, interlacing, HDR signalling, audio format and bitrate. They run on Windows, macOS and Linux, and they work with any IPTV subscription that gives you an M3U link or an Xtream Codes login.
The aim is to separate three kinds of fault: the stream itself, the network that carries it, and the device that plays it. Each tool answers a different part of that question, and together they give support something concrete to work with.
What you need for an IPTV stream test
- A computer on the same network as your TV device, preferably wired, so that you test the stream and not your Wi-Fi.
- FFmpeg (which includes ffprobe), VLC and mpv, installed from their official websites or your system's package manager.
- The direct URL of one channel. With an Xtream Codes login, a live channel's URL usually has the form
http://example-server.com:8080/live/username/password/12345.ts, where the number is the channel's stream ID. In an M3U playlist, the URL is the line under the channel's#EXTINFentry. - A free connection on your plan. Every test opens a stream, so it counts as a device watching while it runs. Stop playback on the TV first if your plan covers a single device.
That URL contains your username and password. Keep it out of screenshots, forum posts and shared logs, and clear it from your shell history if other people use the computer.
ffprobe: the stream's identity card
ffprobe connects, reads the start of the stream and prints what it finds. This command asks only for the fields that matter for playback and prints one line per track:
ffprobe -hide_banner -v error -show_entries stream=index,codec_type,codec_name,profile,width,height,r_frame_rate,field_order,color_transfer,channels,sample_rate -of compact "http://example-server.com:8080/live/username/password/12345.ts"
How to read the fields:
- codec_name: the video codec (h264, hevc, sometimes mpeg2video on broadcast feeds) and the audio codec (aac, ac3, eac3 or mp2). HEVC, and 10-bit HEVC in particular, needs a device that can decode it in hardware.
- profile:
Main 10on HEVC means 10-bit video, which HDR requires. - width and height: 1280x720, 1920x1080 or 3840x2160. If a channel labeled 4K reports 1920x1080, no setting on your TV will make it sharper.
- r_frame_rate: 25/1 and 50/1 are typical in 50 Hz regions; 30000/1001 and 60000/1001 mean 29.97 and 59.94 frames per second.
- field_order:
progressive, orttorbbfor interlaced video, which the player has to deinterlace. - color_transfer:
bt709is standard dynamic range,smpte2084is the PQ curve used by HDR10, andarib-std-b67is HLG. - channels: 2 for stereo, 6 for 5.1 surround.
Add -show_programs when a stream carries several programs or audio languages and you want to see how they are grouped. For live streams, the overall bitrate field is often empty, so measure it separately.
Measure the bitrate and check real-time delivery
Two ffmpeg commands answer what ffprobe can't. The first copies the stream for two minutes without decoding it and throws the result away:
ffmpeg -hide_banner -rw_timeout 15000000 -i "http://example-server.com:8080/live/username/password/12345.ts" -t 120 -c copy -f null -
Watch the speed= value in the status line. It may start above 1x while the server sends what it already holds, then it should settle close to 1x, because a live channel can't arrive faster than it is produced. Long stretches clearly below 1x mean the data isn't arriving as fast as it plays: a network or server problem, not your TV. The -rw_timeout value is in microseconds, so 15000000 makes ffmpeg stop with an error after 15 seconds without data instead of waiting forever.
The second command saves one minute to a file:
ffmpeg -hide_banner -i "http://example-server.com:8080/live/username/password/12345.ts" -t 60 -c copy sample.ts
Divide the file size in megabytes by 60 and multiply by 8 to get the average bitrate in Mbps: a 45 MB file works out at 6 Mbps. The sample is useful in its own right. Play it from your disk. If the saved file stutters too, the fault is in the stream as delivered, and no change to your network or TV will fix it. Delete the file when you're done.
VLC: codec information and live statistics
Open the stream with Media > Open Network Stream (Ctrl+N), paste the URL and play it. Then open Tools > Codec Information (Ctrl+J). The Codec tab lists each track with its codec, resolution, frame rate and audio layout. The Statistics tab is the one for diagnosis:
- Input bitrate is what arrives from the network, and Content bitrate is what VLC extracts from it. If the input bitrate sinks toward zero just before a freeze, delivery stalled.
- Discarded (corrupted) and Dropped (discontinued) count damaged or missing data. Numbers that keep climbing point to the source or the route.
- Under video, Lost frames that rise while the input stays healthy mean the computer couldn't decode or show them in time.
Two more VLC tools help. Tools > Messages (Ctrl+M), with the verbosity raised, shows HTTP errors and reconnections as they happen. Network caching (ms), found in the preferences under Input / Codecs once Show settings is set to All, is 1,000 ms by default; raising it to 3,000 shows whether a bigger cushion hides the problem. If you see comb-like lines on movement, the channel is interlaced: try Video > Deinterlace.
mpv: the statistics overlay
Start the stream from a terminal with mpv "http://example-server.com:8080/live/username/password/12345.ts". Press i to show statistics for a few seconds, or I (Shift+i) to keep them on screen. While they are visible, number keys switch pages: 1 for the main page, 2 for frame timings, 3 for the input cache and 5 for details of the selected tracks.
- The main page shows the codec, resolution and frame rate, whether hardware decoding is active, and the video bitrate. mpv calculates that bitrate between keyframes, so it moves in steps and describes the recent past.
- The cache page shows how many seconds are buffered. A cache that keeps falling to zero means the network can't keep up; a steady cache with dropped frames points to decoding.
- The terminal status line shows
Cache:with the seconds buffered, and aDropped:count when frames are lost.
Hardware decoding is off by default in mpv. Press Ctrl+h to toggle it during playback, or start with --hwdec=auto. If the dropped frames stop when it is on, the computer's processor was the limit, not the stream. Other options that help a test: --cache-pause-wait=3 makes mpv rebuild three seconds of cache after a stall instead of the default one second, --deinterlace=yes handles 1080i channels, and --log-file=mpv-test.log writes a log you can review afterwards. Logs contain the stream URL, so remove your login from any log before you share it.
Turn the readings into an answer
| Symptom | What the tools show | Likely cause |
|---|---|---|
| Spinner, then playback resumes | Cache falls to zero; ffmpeg speed below 1x | Delivery: your network, the route or the server |
| Jerky video, no spinner | Steady cache, rising dropped or lost frames | Decoding or display on the device |
| The saved sample stutters too | Discarded or dropped counts rising in VLC | The stream as delivered |
| No sound on some channels | Audio codec ac3 or eac3 | Device or soundbar settings for Dolby audio |
| Uneven motion in sport | Frame rate 50/1 on a TV running at 60 Hz | Frame rate mismatch; turn on frame rate matching |
| Comb lines on movement | field_order tt or bb | An interlaced channel; turn on deinterlacing |
Write a support request that gets answered
A good report lets support reproduce the problem. Include the channel name, the date and time with your time zone, the ffprobe lines for the video and audio tracks, the average bitrate from your sample, whether ffmpeg held 1x, whether the saved sample stutters, and the device and app you use on the TV. Leave out the URL and your password. Contact details are on the support page, and the VLC guide explains how to add your subscription to VLC for everyday viewing.