Skip to content

Instantly share code, notes, and snippets.

@alicanalbayrak
Created January 10, 2016 11:31
Show Gist options
  • Save alicanalbayrak/10e7d4837bf55aefb008 to your computer and use it in GitHub Desktop.
Save alicanalbayrak/10e7d4837bf55aefb008 to your computer and use it in GitHub Desktop.
[rtsp @ 0x18d09e0] SDP:
v=0
o=RTSP 1452432743 127 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"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment