User Tools

Site Tools


wiki:using_ffprobe_to_verify_stream

This is an old revision of the document!


Using ffprobe to verify stream

Jun 2017


Using netstat and ip, we can see what multicasts are present on an interface, we can use iperf to join that multicast, and tcpdump to record it.

Another tool we can use is ffprobe, which is part of ffmpeg. ffprobe allows us to analyse the stream to verify it is what we expect (the correct resolution, codec, audio etc).

Installation

Before we can use ffprobe we will have to install ffmpeg. However, to do this we will have to also add the ATRPMS repository to CentOS.

Adding ATRPMS Repository

ATRPMS is a 3’rd party rpm repository providing up to date packages for Red Hat based systems. We can used it for directly downloading packages or we can use one of the available package manager tools.

To enable atrpms yum repository first login to system using root access. Now import ATrpms signing key for verifying packages using following command.

  rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms


Now create repository file with .repo extension under /etc/yum.repos.d/ directory and add following content as per your operating system.

All the users of RHEL, CentOS and Scientific Linux with all other derived distributions. Create a atrpms.repo file in /etc/yum.repos.d directory and add following content.

  vi /etc/yum.repos.d/atrpms.repo


[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
enabled=1
gpgcheck=1


Save the file and exit.

wiki/using_ffprobe_to_verify_stream.1497940543.txt.gz · Last modified: 2023/03/09 22:35 (external edit)