{"id":2793,"date":"2015-06-06T10:45:12","date_gmt":"2015-06-06T01:45:12","guid":{"rendered":"http:\/\/serenegiant.com\/blog\/?p=2793"},"modified":"2015-06-11T10:08:38","modified_gmt":"2015-06-11T01:08:38","slug":"android5-x%e3%81%a7%e3%82%b9%e3%82%af%e3%83%aa%e3%83%bc%e3%83%b3%e9%8c%b2%e7%94%bb%e9%9f%b3%e5%a3%b0%e4%bb%98%e3%81%8d","status":"publish","type":"post","link":"https:\/\/serenegiant.com\/blog\/?p=2793","title":{"rendered":"Android5.x\u3067\u30b9\u30af\u30ea\u30fc\u30f3\u9332\u753b(\u97f3\u58f0\u4ed8\u304d)"},"content":{"rendered":"<p>Android5.x\u3067MediaProjection\/VirtualDisplay\u3092\u4f7f\u3063\u3066\u7aef\u672b\u306e\u753b\u9762\u3092.mp4\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u9332\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092GitHub\u306b\u516c\u958b\u3057\u305f\u3088\u3002\u30eb\u30fc\u30c8\u5316\u4e0d\u8981\u3060\u3088\u3002<\/p>\n<p>\u30ea\u30f3\u30af\u306f\u3053\u3061\u3089<a href=\"https:\/\/github.com\/saki4510t\/ScreenRecordingSample\" target=\"_blank\">ScreenRecordingSample<\/a><\/p>\n<p>\u4e2d\u8eab\u306f\u53d6\u308a\u7acb\u3066\u3066\u8aac\u660e\u3059\u308b\u3088\u3046\u306a\u3082\u3093\u3058\u3083\u306a\u3044\u3093\u3060\u3051\u3069\u7279\u5fb4\u3068\u3057\u3066\u306f\u3001<\/p>\n<ul>\n<li>\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3063\u3066\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u9332\u753b\u3092\u7d99\u7d9a<br \/>\n\t\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u306e\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u3092\u7d42\u4e86\u3055\u305b\u305f\u3060\u3051\u3067\u306f\u9332\u753b\u7d42\u4e86\u3057\u307e\u305b\u3093\u3002\u660e\u793a\u7684\u306b\u9332\u753b\u3092\u7d42\u4e86\u3055\u305b\u306a\u3044\u9650\u308a\u6c38\u9060\u3068\u9332\u753b\u3057\u307e\u3059\u3002\u30a8\u30e9\u30fc\u30c1\u30a7\u30c3\u30af\u306f\u3057\u3066\u306a\u3044\u304b\u3089\u7a7a\u304d\u5bb9\u91cf\u304c\u7121\u304f\u306a\u3063\u305f\u6642\u306b\u3069\u3046\u306a\u308b\u304b\u306f\u77e5\u308a\u307e\u305b\u3093^^;<br \/>\n\u3042\u3068\u3001\u30bf\u30b9\u30af\u30ad\u30e9\u30fc\u3068\u304b\u3067\u30b5\u30fc\u30d3\u30b9\u3092\u843d\u3068\u3055\u308c\u3061\u3083\u3046\u3068\u305f\u3076\u3093\u518d\u751f\u3067\u304d\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u304c\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3059\u3002\n\t<\/li>\n<li>\u97f3\u58f0\u4ed8\u304d\u3067\u9332\u753b<br \/>\n\t\u30b3\u30fc\u30c9\u3092\uff11\u7b87\u6240\u3044\u3058\u308c\u3070\u97f3\u58f0\u306a\u3057\u3082\u53ef<\/li>\n<li>MediaCodec\/MediaMuxer\u3092\u4f7f\u3063\u3066\u9332\u753b<br \/>\n\t\u307e\u3041\u5927\u4f53\u306f\u4ee5\u524d\u304b\u3089\u516c\u958b\u3057\u3066\u3044\u308bAudioVideoRecordingSample\u3063\u3066\u306e\u3068\u4e00\u7dd2\u3067\u3001\u30ab\u30e1\u30e9\u304b\u3089\u306e\u6620\u50cf\u306e\u4ee3\u308f\u308a\u306b\u7aef\u672b\u306e\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u5185\u5bb9\u3092\u3092VirtualDisplay\u3067\u304b\u3063\u3071\u3089\u3063\u3066\u9332\u753b\u3057\u307e\u3059<\/li>\n<\/ul>\n<p>\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u9332\u753b\u958b\u59cb\/\u7d42\u4e86\u3059\u308b\u305f\u3081\u306e\u30dc\u30bf\u30f3\uff11\u500b\u3042\u308b\u3060\u3051\u306e\u624b\u629c\u304dUI\u3060\u3051\u3069\u3001Android\u7aef\u672b\u306e\u64cd\u4f5c\u8aac\u660e\u7528\u306e\u52d5\u753b\u3092\u5b9f\u969b\u306b\u64cd\u4f5c\u3057\u306a\u304c\u3089\u8aac\u660e\u3057\u306a\u304c\u3089\u4f5c\u3063\u305f\u308a\u3059\u308b\u306e\u306b\u3082\u4f7f\u3048\u308b\u304b\u3082\u3002<br \/>\nUSTREAM\u3067\u518d\u751f\u3057\u3066\u3044\u308b\u52d5\u753b\u3068\u304b\u3082\u9332\u753b\u51fa\u6765\u3061\u3083\u3063\u305f\u308a\u3057\u3066(*_*)\u3002\u3067\u3082\u60aa\u3044\u3053\u3068\u306b\u4f7f\u3063\u3061\u3083\u30c0\u30e1\u3060\u304b\u3089\u306d^^;<\/p>\n<p>Android5.x\u9650\u5b9a\u3060\u3051\u3069\u30012\u6642\u9593\u307b\u3069\u3067\u7c21\u5358\u306b\u5b9f\u88c5\u3067\u304d\u3061\u3083\u3063\u305f\u3002\u30a8\u30f3\u30b3\u30fc\u30c0\u30fc\u5468\u308a\u306f\u5927\u90e8\u5206\u6d41\u7528\u3057\u3066\u3044\u308b\u304b\u3089\u3063\u3066\u306e\u3082\u3042\u308b\u3051\u3069\u306d\u3002\u30a6\u30a4\u30b8\u30a7\u30c3\u30c8\u306b\u3057\u3066\u3082\u3044\u3044\u304b\u306a\u3041^^<\/p>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u8aac\u660e\u304c\u6b32\u3057\u3044\u306a\u3041\u3063\u3066\u4eba\u306f\u30b3\u30e1\u30f3\u30c8\u306b\u66f8\u3044\u3066\u306d\u3002<\/p>\n<p>2015\/06\/07\u8ffd\u8a18\uff1a<br \/>\n\u3075\u3068\u601d\u3044\u3064\u3044\u3066\u3082\u30462\u6642\u9593\u7a0b\u304b\u3051\u3066\u30a6\u30a4\u30b8\u30a7\u30c3\u30c8\u304b\u3089\u8d77\u52d5\u30fb\u505c\u6b62\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u305f\u3002\u304a\u3049\u301c\u3053\u308c\u306f\u4fbf\u5229\u3063\u3061\u3083\u3002<\/p>\n<p>\u3067\uff12\u3064\u307b\u3069\u554f\u984c\u3092\u767a\u898b^^;<\/p>\n<ol>\n<li>MediaProjectionManager\u3067\u30b9\u30af\u30ea\u30fc\u30f3\u30ad\u30e3\u30d7\u30c1\u30e3\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u8981\u6c42\u3057\u305f\u6642\u306b\u8868\u793a\u3055\u308c\u308b\u30c0\u30a4\u30a2\u30ed\u30b0\u3067\u300c\u6b21\u56de\u304b\u3089\u8868\u793a\u3057\u306a\u3044\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3061\u3083\u3046\u3068\u30a2\u30d7\u30ea\u3092\u524a\u9664\u3059\u308b\u307e\u3067\u89e3\u9664\u3059\u308b\u3059\u3079\u304c\u306a\u3044 \uff76\uff9e\u2501\u2501(;\uff9f\u0414\uff9f)\u2501\u2501\uff9d!!<br \/>\nUSB\u3068\u304b\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u306e\u5834\u5408\u306b\u306f\u3001\u8a2d\u5b9a\u306e\u30a2\u30d7\u30ea\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3067\u300c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306e\u8d77\u52d5\u300d\u3092\u30af\u30ea\u30a2\u3057\u305f\u308a\u30a2\u30d7\u30ea\u306e\u30c7\u30fc\u30bf\u3092\u6d88\u53bb\u3057\u305f\u3089\u518d\u5ea6\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u3093\u3060\u3051\u3069\u3001\u305d\u3093\u306a\u306e\u95a2\u4fc2\u306d\u3047\u301c<\/li>\n<li>\u7aef\u672b\u306e\u753b\u9762\u3092\u96fb\u6e90\u30dc\u30bf\u30f3\u3067\u5207\u3063\u3066\u3082\u9332\u753b\u306f\u7d99\u7d9a\u3067\u304d\u307e\u3059\u3002\u3067\u554f\u984c\u306f\u6b21\u8d77\u52d5\u3057\u305f\u6642\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u304b\u30d1\u30bf\u30fc\u30f3\u8a8d\u8a3c\u306e\u753b\u9762\u3082\u5168\u90e8\u9332\u753b\u3067\u304d\u3061\u3083\u3046\u3002 \u3048\u3047\u301c\uff01\uff1f\u307e\u3041\u30d3\u30c7\u30aa\u53d6\u8aac\u4f5c\u308b\u306a\u3089\u4f55\u3067\u3082\u304b\u3093\u3067\u3082\u53d6\u308c\u305f\u65b9\u304c\u4fbf\u5229\u306a\u3093\u3060\u3051\u3069\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306b\u306f\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u306a\u6c17\u304c\u2026<br \/>\n\u901a\u77e5\u9818\u57df\u898b\u308c\u3070\u30b9\u30af\u30ea\u30fc\u30f3\u30ad\u30e3\u30d7\u30c1\u30e3\u30fb\u30fb\u30fb\u3068\u3044\u3046\u304bMediaProjection\/VirtualDisplay\u304c\u52d5\u3044\u3066\u3044\u308b\u306e\u304c\u308f\u304b\u308b\u3093\u3060\u3051\u3069\u3001\u30ea\u30c6\u30e9\u30b7\u30fc\u3084\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u610f\u8b58\u4f4e\u3044\u4eba\u306e\u7aef\u672b\u306b\u5165\u308c\u3061\u3083\u3048\u3070\u30e1\u30fc\u30eb\u3067\u3082\u30d6\u30e9\u30a6\u30b6\u3067\u3082USTREAM\u3067\u3082\u4f55\u3067\u3082\u9332\u753b\u3057\u653e\u984c\u306b\u306a\u3063\u3066\u3057\u307e\u3046(\u309c\u30ec\u309c) \u7aef\u672b\u306e\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u3067\u9332\u753b\u958b\u59cb\u306a\u3093\u3066\u3053\u3068\u3082\u6280\u8853\u7684\u306b\u306f\u7c21\u5358\u3060\u3057\u3002\n<\/li>\n<\/ol>\n<p>\u3046\u301c\u3093\u3001\u6b63\u3057\u304f\u4f7f\u3048\u3070\u4fbf\u5229\u306a\u3093\u3060\u3051\u3069\u306a\u3041\u3002\u307e\u3041Android4.4\u4ee5\u4e0a\u3060\u3068\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u5b9f\u884c\u3059\u308bscreenrecord\u3063\u3066\u306e\u3082\u3042\u308b\u3057\u3001Google Play\u306b\u306f\u30b9\u30af\u30ea\u30fc\u30f3\u30ad\u30e3\u30d7\u30c1\u30e3\u306e\u30a2\u30d7\u30ea\u3082\u305d\u308c\u306a\u308a\u306b\u3042\u308b\u3057\u3001\u3048\u3048\u3093\u304b\u306a\uff1f<\/p>\n<p>2015\/06\/11\u8ffd\u8a18\uff1a<br \/>\n\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u9332\u753b\u4e2d\u306b\u753b\u9762\u3092\u56de\u8ee2\u3055\u305b\u308b\u3068\u9332\u753b\u304c\u4e2d\u65ad\u3057\u3061\u3083\u3044\u307e\u3059\u3002\u7aef\u672b\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3067\u304d\u308b\u3088\u3046\u306b\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u53d6\u3063\u3066\u9332\u753b\u4e2d\u306f\u56de\u8ee2\u3057\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u5909\u66f4\u3059\u308b\u3063\u3066\u306e\u304c\u4e00\u756a\u306a\u3093\u304b\u306a\uff1f\u3067\u3082\u7121\u7406\u3084\u308a\u56de\u3057\u3061\u3083\u3046\u30a2\u30d7\u30ea\u3082\u3042\u308b\u3057\u306a\u3041(\u309c\u30ec\u309c)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android5.x\u3067MediaProjection\/VirtualDisplay\u3092\u4f7f\u3063\u3066\u7aef\u672b\u306e\u753b\u9762\u3092.mp4\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u9332\u753b\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092GitHub\u306b\u516c\u958b\u3057\u305f\u3088\u3002\u30eb\u30fc\u30c8\u5316\u4e0d\u8981\u3060\u3088\u3002 \u30ea\u30f3\u30af\u306f\u3053\u3061\u3089Scr\u2026<a id=\"my_more\" href=\"https:\/\/serenegiant.com\/blog\/?p=2793\" class=\"more\">&#x3E;&#x3E; \u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,156],"tags":[],"class_list":["post-2793","post","type-post","status-publish","format-standard","hentry","category-android","category-mediacodec"],"_links":{"self":[{"href":"https:\/\/serenegiant.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serenegiant.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serenegiant.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serenegiant.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serenegiant.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2793"}],"version-history":[{"count":5,"href":"https:\/\/serenegiant.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2793\/revisions"}],"predecessor-version":[{"id":2811,"href":"https:\/\/serenegiant.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2793\/revisions\/2811"}],"wp:attachment":[{"href":"https:\/\/serenegiant.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serenegiant.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serenegiant.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}