wiki:using_ffprobe_to_verify_stream

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
wiki:using_ffprobe_to_verify_stream [2017/06/20 07:36] walkeradminwiki:using_ffprobe_to_verify_stream [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 38: Line 38:
 </file> </file>
 \\  \\ 
-Save the file and exit.+Save the file and exit. (https://tecadmin.net/setup-atrpms-repository-on-centos-redhat-and-fedora/)
 \\  \\ 
 \\  \\ 
 +==== Install FFMPEG ====
 +ffprobe is part of ffmpeg, so we need to install ffmpeg to get this tool.
 +\\ 
 +    yum install ffmpeg
 +\\ 
 +Some basic ffmpeg commands
 +\\ 
 +<file>
 +ffmpeg -version:            show version
 +ffmpeg -formats:            show available formats
 +ffmpeg -codecs:             show available codecs
 +ffmpeg -decoders:           show available decoders
 +ffmpeg -encoders:           show available encoders
 +ffmpeg -bsfs:               show available bit stream filters
 +ffmpeg -protocols:          show available protocols
 +ffmpeg -filters:            show available filters
 +ffmpeg -pix_fmts:           show available pixel formats
 +ffmpeg -layouts:            show standard channel layouts
 +ffmpeg -sample_fmts:        show available audio sample formats
 +</file>
 +\\ 
 +Now the installation is done we can do a test (https://tecadmin.net/install-ffmpeg-on-centos/#)
 +\\ 
 +\\ 
 +==== Using FFPROBE ====
 +We are going to join a stream to read the stream characteristics, use the following syntax.
 +\\ 
 +    ffprobe udp://239.0.200.1:10001
 +\\ 
 +If you successfully join the stream you will get an output similar to the following example.
 +\\ 
 +<file>
 +Input #0, mpegts, from 'udp://239.0.200.1:10001':
 +  Duration: N/A, start: 5793.912200, bitrate: 128 kb/s
 +  Program 1
 +    Metadata:
 +      service_name    : VSPP ABR Test
 +      service_provider: Ericsson
 +    Stream #0:0[0x3e9]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 180k tbc
 +    Stream #0:1[0x7d1]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 128 kb/s
 +</file>
 +\\ 
 +When you start ffprobe, you will likely see some errors, I am not sure what this is, but it could be errors that are generated until the first I frame is found.
 +\\ 
 +\\ 
 +
wiki/using_ffprobe_to_verify_stream.1497940568.txt.gz · Last modified: 2023/03/09 22:35 (external edit)