{"action":"created","issue":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/524","repository_url":"https://api.github.com/repos/bytedeco/javacv","labels_url":"https://api.github.com/repos/bytedeco/javacv/issues/524/labels{/name}","comments_url":"https://api.github.com/repos/bytedeco/javacv/issues/524/comments","events_url":"https://api.github.com/repos/bytedeco/javacv/issues/524/events","html_url":"https://github.com/bytedeco/javacv/issues/524","id":181813352,"number":524,"title":"The issue of used FFmpegFrameGrabber to grab image from rtmp stream","user":{"login":"liangkuai","id":17432305,"avatar_url":"https://avatars.githubusercontent.com/u/17432305?v=3","gravatar_id":"","url":"https://api.github.com/users/liangkuai","html_url":"https://github.com/liangkuai","followers_url":"https://api.github.com/users/liangkuai/followers","following_url":"https://api.github.com/users/liangkuai/following{/other_user}","gists_url":"https://api.github.com/users/liangkuai/gists{/gist_id}","starred_url":"https://api.github.com/users/liangkuai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangkuai/subscriptions","organizations_url":"https://api.github.com/users/liangkuai/orgs","repos_url":"https://api.github.com/users/liangkuai/repos","events_url":"https://api.github.com/users/liangkuai/events{/privacy}","received_events_url":"https://api.github.com/users/liangkuai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-08T08:36:20Z","updated_at":"2016-10-08T13:37:11Z","closed_at":null,"body":"Hello!\r\nMy program is to use multithreading connet multiple rtmp stream, then grab image to analyse. When I use single-thread, program is normal. But multithreading is always error.\r\n```\r\nMetadata:\r\n  duration              0.00\r\n  width                 320.00\r\n  height                240.00\r\n  videodatarate         124.44\r\n  framerate             25.00\r\n  videocodecid          7.00\r\n  audiodatarate         3.36\r\n  audiosamplerate       44100.00\r\n  audiosamplesize       16.00\r\n  stereo                TRUE\r\n  audiocodecid          10.00\r\n  major_brand           M4V \r\n  minor_version         1\r\n  compatible_brands     isomavc1M4A M4V mp42\r\n  encoder               Lavf57.0.100\r\n  filesize              0.00\r\n  0                     INVALID TYPE 0x05\r\n  1                     INVALID TYPE 0x05\r\n  2                     INVALID TYPE 0x05\r\n  3                     INVALID TYPE 0x05\r\n  4                     INVALID TYPE 0x05\r\n  5                     INVALID TYPE 0x05\r\n  6                     INVALID TYPE 0x05\r\n  7                     INVALID TYPE 0x05\r\n  8                     INVALID TYPE 0x05\r\n  9                     INVALID TYPE 0x05\r\n  10                    INVALID TYPE 0x05\r\n  11                    INVALID TYPE 0x05\r\n  12                    INVALID TYPE 0x05\r\n  13                    INVALID TYPE 0x05\r\n  14                    INVALID TYPE 0x05\r\n  15                    INVALID TYPE 0x05\r\n  length                16.00\r\nMetadata:\r\n  author                PowerSmart\r\n  duration              3600.00\r\n  datarate              500.00\r\n  livetime              1470020146.00\r\n  timeshift             0.00\r\n  width                 640.00\r\n  height                480.00\r\n  videodatarate         0.00\r\n  framerate             25.00\r\n  videocodecid          7.00\r\n  audiosamplerate       32000.00\r\n  audiosamplesize       0.00\r\n  stereo                TRUE\r\n  audiocodecid          10.00\r\n  filesize              0.00\r\n[NULL @ 000000000050af80] non-existing SPS 0 referenced in buffering period\r\n[h264 @ 000000000050af80] non-existing SPS 0 referenced in buffering period\r\nMetadata:\r\n  duration              0.00\r\n  width                 320.00\r\n  height                240.00\r\n  videodatarate         133.96\r\n  framerate             25.00\r\n  videocodecid          7.00\r\n  audiodatarate         3.36\r\n  audiosamplerate       44100.00\r\n  audiosamplesize       16.00\r\n  stereo                TRUE\r\n  audiocodecid          10.00\r\n  major_brand           M4V \r\n  minor_version         1\r\n  compatible_brands     isomavc1M4A M4V mp42\r\n  encoder               Lavf57.0.100\r\n  filesize              0.00\r\n  0                     INVALID TYPE 0x05\r\n  1                     INVALID TYPE 0x05\r\n  2                     INVALID TYPE 0x05\r\n  3                     INVALID TYPE 0x05\r\n  4                     INVALID TYPE 0x05\r\n  5                     INVALID TYPE 0x05\r\n  6                     INVALID TYPE 0x05\r\n  7                     INVALID TYPE 0x05\r\n  8                     INVALID TYPE 0x05\r\n  9                     INVALID TYPE 0x05\r\n  10                    INVALID TYPE 0x05\r\n  11                    INVALID TYPE 0x05\r\n  12                    INVALID TYPE 0x05\r\n  13                    INVALID TYPE 0x05\r\n  14                    INVALID TYPE 0x05\r\n  15                    INVALID TYPE 0x05\r\n  length                16.00\r\n[h264 @ 000000000050af80] non-existing SPS 0 referenced in buffering period\r\nInput #0, flv, from 'rtmp://live.hkstv.hk.lxdns.com/live/hks':\r\n  Metadata:\r\n    author          : PowerSmart\r\n    copyright       : \r\n    description     : \r\n    datarate        : 500\r\n    livetime        : 1470020146\r\n    timeshift       : 0\r\n  Duration: 01:00:00.00, start: 0.000000, bitrate: N/A\r\n    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 640x480, 15.17 fps, 15 tbr, 1k tbn, 30 tbc\r\n    Stream #0:1: Audio: aac (LC), 32000 Hz, stereo, fltp\r\n[h264 @ 00000000004ea420] non-existing SPS 0 referenced in buffering period\r\n[h264 @ 00000000004ebf80] non-existing SPS 0 referenced in buffering period\r\nInput #0, flv, from 'rtmp://10.10.2.176/live/bds2 live=1':\r\n  Metadata:\r\n    major_brand     : M4V \r\n    minor_version   : 1\r\n    compatible_brands: isomavc1M4A M4V mp42\r\n    encoder         : Lavf57.0.100\r\n    length          : 16\r\n  Duration: 00:00:00.00, start: 0.000000, bitrate: N/A\r\n    Stream #0:0: Video: h264 (High), yuv420p, 320x240 [SAR 4:3 DAR 16:9], 137 kb/s, 25\r\n```"},"comment":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/comments/252424954","html_url":"https://github.com/bytedeco/javacv/issues/524#issuecomment-252424954","issue_url":"https://api.github.com/repos/bytedeco/javacv/issues/524","id":252424954,"user":{"login":"liangkuai","id":17432305,"avatar_url":"https://avatars.githubusercontent.com/u/17432305?v=3","gravatar_id":"","url":"https://api.github.com/users/liangkuai","html_url":"https://github.com/liangkuai","followers_url":"https://api.github.com/users/liangkuai/followers","following_url":"https://api.github.com/users/liangkuai/following{/other_user}","gists_url":"https://api.github.com/users/liangkuai/gists{/gist_id}","starred_url":"https://api.github.com/users/liangkuai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangkuai/subscriptions","organizations_url":"https://api.github.com/users/liangkuai/orgs","repos_url":"https://api.github.com/users/liangkuai/repos","events_url":"https://api.github.com/users/liangkuai/events{/privacy}","received_events_url":"https://api.github.com/users/liangkuai/received_events","type":"User","site_admin":false},"created_at":"2016-10-08T13:37:11Z","updated_at":"2016-10-08T13:37:11Z","body":"How to judge the problem is files or FFmpeg?"}}
{"actor":{"display_login":"liangkuai"}}