wiki:using_ffprobe_to_verify_stream
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
wiki:using_ffprobe_to_verify_stream [2017/06/20 07:33] – walkeradmin | wiki:using_ffprobe_to_verify_stream [2017/06/20 08:06] – [Using FFPROBE] walkeradmin | ||
---|---|---|---|
Line 22: | Line 22: | ||
\\ | \\ | ||
rpm --import http:// | rpm --import http:// | ||
+ | \\ | ||
+ | Now create repository file with .repo extension under / | ||
+ | \\ | ||
+ | \\ | ||
+ | All the users of RHEL, CentOS and Scientific Linux with all other derived distributions. Create a atrpms.repo file in / | ||
+ | \\ | ||
+ | vi / | ||
+ | < | ||
+ | [atrpms] | ||
+ | name=Fedora Core $releasever - $basearch - ATrpms | ||
+ | baseurl=http:// | ||
+ | gpgkey=http:// | ||
+ | enabled=1 | ||
+ | gpgcheck=1 | ||
+ | </ | ||
+ | \\ | ||
+ | Save the file and exit. (https:// | ||
+ | \\ | ||
+ | \\ | ||
+ | ==== Install FFMPEG ==== | ||
+ | ffprobe is part of ffmpeg, so we need to install ffmpeg to get this tool. | ||
+ | \\ | ||
+ | yum install ffmpeg | ||
+ | \\ | ||
+ | Some basic ffmpeg commands | ||
+ | \\ | ||
+ | < | ||
+ | ffmpeg -version: | ||
+ | ffmpeg -formats: | ||
+ | ffmpeg -codecs: | ||
+ | ffmpeg -decoders: | ||
+ | ffmpeg -encoders: | ||
+ | ffmpeg -bsfs: | ||
+ | ffmpeg -protocols: | ||
+ | ffmpeg -filters: | ||
+ | ffmpeg -pix_fmts: | ||
+ | ffmpeg -layouts: | ||
+ | ffmpeg -sample_fmts: | ||
+ | </ | ||
+ | \\ | ||
+ | Now the installation is done we can do a test (https:// | ||
+ | \\ | ||
+ | \\ | ||
+ | ==== Using FFPROBE ==== | ||
+ | We are going to join a stream to read the stream characteristics, | ||
+ | \\ | ||
+ | ffprobe udp:// | ||
+ | \\ | ||
+ | If you successfully join the stream you will get an output similar to the following example. | ||
+ | \\ | ||
+ | < | ||
+ | Input #0, mpegts, from ' | ||
+ | Duration: N/A, start: 5793.912200, | ||
+ | Program 1 | ||
+ | Metadata: | ||
+ | service_name | ||
+ | service_provider: | ||
+ | Stream # | ||
+ | Stream # | ||
+ | </ | ||
+ | \\ | ||
+ | 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.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1