Skip to content

Instantly share code, notes, and snippets.

@alicanalbayrak
Last active January 8, 2016 14:30
Show Gist options
  • Save alicanalbayrak/233a1164074901fff3fb to your computer and use it in GitHub Desktop.
Save alicanalbayrak/233a1164074901fff3fb to your computer and use it in GitHub Desktop.
System information:
------------------------------------------------------------------------------------------------------------
Linux alicana 3.10.0-229.11.1.el7.x86_64 #1 SMP Thu Aug 6 01:06:18 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Linux standard base information:
------------------------------------------------------------------------------------------------------------
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.1.1503 (Core)
Release: 7.1.1503
Codename: Core
FFMPEG version:
------------------------------------------------------------------------------------------------------------
[alicana@alicana ~]$ ffmpeg -version
ffmpeg version 2.6.3 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
FFPLAY version
------------------------------------------------------------------------------------------------------------
[alicana@alicana ~]$ ffplay -version
ffplay version 2.6.3 Copyright (c) 2003-2015 the FFmpeg developers
built with gcc 4.8.3 (GCC) 20140911 (Red Hat 4.8.3-9)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
FFProbe output for stream address 1
------------------------------------------------------------------------------------------------------------
[rtsp @ 0x15d1a00] SDP:
v=0
o=- 968632124980069 1 IN IP4 10.0.5.0
s=Moxa Streaming Server
i=/dev/Streaming
t=0 0
a=tool:MOXA 1CH Streamming Server V1.0
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Moxa Streaming Server
a=x-qt-text-inf:/dev/Streaming
a=source-filter: incl IN IP4 239.127.0.100 10.0.5.0
m=video 5556 RTP/AVP 97
c=IN IP4 239.127.0.100
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1; profile-level-id=42A01E; sprop-parameter-sets=Z0IAKOkBaCTI,aM44gA==
a=control:track1
m=audio 5558 RTP/AVP 0
c=IN IP4 239.127.0.100
a=rtpmap:0 PCMU/8000/1
a=control:track2
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 784
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 760
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 784
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 760
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 784
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 760
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 784
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 760
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 784
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 760
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 784
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 760
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 784
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 760
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 784
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 760
[h264 @ 0x15d43c0] SEI type 132 size 1944 truncated at 784
Last message repeated 20 times
Input #0, rtsp, from 'rtsp://10.0.5.0:554/multicaststream':
Metadata:
title : Moxa Streaming Server
comment : /dev/Streaming
Duration: N/A, start: 0.064000, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p, 720x576, 25.58 tbr, 90k tbn, 180k tbc
Stream #0:1: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
{
"streams": [
{
"index": 0,
"codec_name": "h264",
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"profile": "Baseline",
"codec_type": "video",
"codec_time_base": "1/180000",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"width": 720,
"height": 576,
"has_b_frames": 0,
"sample_aspect_ratio": "0:1",
"display_aspect_ratio": "0:1",
"pix_fmt": "yuv420p",
"level": 40,
"chroma_location": "left",
"refs": 1,
"is_avc": "0",
"nal_length_size": "0",
"r_frame_rate": "307/12",
"avg_frame_rate": "0/0",
"time_base": "1/90000",
"start_pts": 7020,
"start_time": "0.078000",
"bits_per_raw_sample": "8",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0
}
},
{
"index": 1,
"codec_name": "pcm_mulaw",
"codec_long_name": "PCM mu-law / G.711 mu-law",
"codec_type": "audio",
"codec_time_base": "1/8000",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"sample_fmt": "s16",
"sample_rate": "8000",
"channels": 1,
"bits_per_sample": 8,
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/8000",
"start_pts": 512,
"start_time": "0.064000",
"bit_rate": "64000",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0
}
}
],
"format": {
"filename": "rtsp://10.0.5.0:554/multicaststream",
"nb_streams": 2,
"nb_programs": 0,
"format_name": "rtsp",
"format_long_name": "RTSP input",
"start_time": "0.064000",
"probe_score": 100,
"tags": {
"title": "Moxa Streaming Server",
"comment": "/dev/Streaming"
}
}
}
FFProbe output for stream address 2
------------------------------------------------------------------------------------------------------------
[rtsp @ 0x1e649e0] SDP:
v=0
o=RTSP 1452269313 621 IN IP4 0.0.0.0
s=RTSP server
c=IN IP4 0.0.0.0
t=0 0
a=charset:Shift_JIS
a=range:npt=0-
a=control:*
a=etag:1234567890
m=video 0 RTP/AVP 98
b=AS:0
a=rtpmap:98 H264/90000
a=control:trackID=1
a=x-onvif-track:trackID=1
a=fmtp:98 packetization-mode=1; profile-level-id=4d001f; sprop-parameter-sets=J00AH5Y1AKALcg==,KO4EYg==
m=application 0 RTP/AVP 107
a=control:trackID=11
a=rtpmap:107 vnd.onvif.metadata/90000
Input #0, rtsp, from 'rtsp://10.0.5.1:554/live.sdp':
Metadata:
title : RTSP server
Duration: N/A, start: 0.033000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p, 1280x720, 29.97 tbr, 90k tbn, 180k tbc
Stream #0:1: Data: none
Unsupported codec with id 0 for input stream 1
{
"streams": [
{
"index": 0,
"codec_name": "h264",
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"profile": "Main",
"codec_type": "video",
"codec_time_base": "1/180000",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"width": 1280,
"height": 720,
"has_b_frames": 0,
"sample_aspect_ratio": "0:1",
"display_aspect_ratio": "0:1",
"pix_fmt": "yuv420p",
"level": 31,
"chroma_location": "left",
"refs": 1,
"is_avc": "0",
"nal_length_size": "0",
"r_frame_rate": "30000/1001",
"avg_frame_rate": "0/0",
"time_base": "1/90000",
"start_pts": 2970,
"start_time": "0.033000",
"bits_per_raw_sample": "8",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0
}
},
{
"index": 1,
"codec_type": "data",
"codec_time_base": "0/1",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/90000",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0
}
}
],
"format": {
"filename": "rtsp://10.0.5.1:554/live.sdp",
"nb_streams": 2,
"nb_programs": 0,
"format_name": "rtsp",
"format_long_name": "RTSP input",
"start_time": "0.033000",
"probe_score": 100,
"tags": {
"title": "RTSP server"
}
}
}
FFProbe output for stream address 3
------------------------------------------------------------------------------------------------------------
[rtsp @ 0x14a59e0] SDP:
v=0
o=RTSP 1452270274 805 IN IP4 0.0.0.0
s=RTSP server
c=IN IP4 0.0.0.0
t=0 0
a=charset:Shift_JIS
a=range:npt=0-
a=control:*
a=etag:1234567890
m=video 0 RTP/AVP 98
b=AS:0
a=rtpmap:98 H264/90000
a=control:trackID=1
a=x-onvif-track:trackID=1
a=fmtp:98 packetization-mode=1; profile-level-id=4d401f; sprop-parameter-sets=J01AH5Y1AKALdNwUGBUAAAMD6QAA6mAE,KO4CGIA=
[h264 @ 0x14a8160] Current profile doesn't provide more RBSP data in PPS, skipping
Last message repeated 1 times
Input #0, rtsp, from 'rtsp://10.0.5.2:554/live.sdp':
Metadata:
title : RTSP server
Duration: N/A, start: 0.166633, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt470bg/bt470bg/smpte170m), 1280x720, 29.97 fps, 29.92 tbr, 90k tbn, 59.94 tbc
{
"streams": [
{
"index": 0,
"codec_name": "h264",
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"profile": "Main",
"codec_type": "video",
"codec_time_base": "1001/60000",
"codec_tag_string": "[0][0][0][0]",
"codec_tag": "0x0000",
"width": 1280,
"height": 720,
"has_b_frames": 0,
"sample_aspect_ratio": "0:1",
"display_aspect_ratio": "0:1",
"pix_fmt": "yuvj420p",
"level": 31,
"color_range": "pc",
"color_space": "bt470bg",
"color_transfer": "smpte170m",
"color_primaries": "bt470bg",
"chroma_location": "left",
"refs": 1,
"is_avc": "0",
"nal_length_size": "0",
"r_frame_rate": "359/12",
"avg_frame_rate": "30000/1001",
"time_base": "1/90000",
"start_pts": 14997,
"start_time": "0.166633",
"bits_per_raw_sample": "8",
"disposition": {
"default": 0,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0
}
}
],
"format": {
"filename": "rtsp://10.0.5.2:554/live.sdp",
"nb_streams": 1,
"nb_programs": 0,
"format_name": "rtsp",
"format_long_name": "RTSP input",
"start_time": "0.166633",
"probe_score": 100,
"tags": {
"title": "RTSP server"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment