{"action":"created","issue":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/979","repository_url":"https://api.github.com/repos/bytedeco/javacv","labels_url":"https://api.github.com/repos/bytedeco/javacv/issues/979/labels{/name}","comments_url":"https://api.github.com/repos/bytedeco/javacv/issues/979/comments","events_url":"https://api.github.com/repos/bytedeco/javacv/issues/979/events","html_url":"https://github.com/bytedeco/javacv/issues/979","id":319123410,"number":979,"title":"Green / Yellow Color video after croping","user":{"login":"ritesh94","id":13624902,"avatar_url":"https://avatars2.githubusercontent.com/u/13624902?v=4","gravatar_id":"","url":"https://api.github.com/users/ritesh94","html_url":"https://github.com/ritesh94","followers_url":"https://api.github.com/users/ritesh94/followers","following_url":"https://api.github.com/users/ritesh94/following{/other_user}","gists_url":"https://api.github.com/users/ritesh94/gists{/gist_id}","starred_url":"https://api.github.com/users/ritesh94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritesh94/subscriptions","organizations_url":"https://api.github.com/users/ritesh94/orgs","repos_url":"https://api.github.com/users/ritesh94/repos","events_url":"https://api.github.com/users/ritesh94/events{/privacy}","received_events_url":"https://api.github.com/users/ritesh94/received_events","type":"User","site_admin":false},"labels":[{"id":93998515,"url":"https://api.github.com/repos/bytedeco/javacv/labels/duplicate","name":"duplicate","color":"cccccc","default":true},{"id":93998519,"url":"https://api.github.com/repos/bytedeco/javacv/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":33,"created_at":"2018-05-01T05:54:33Z","updated_at":"2018-05-02T08:45:14Z","closed_at":"2018-05-01T06:07:37Z","author_association":"NONE","body":"I need to crop a video.\r\nBelow are my Gradle dependencies:\r\n```\r\next {\r\n    versions = [\r\n            'ffmpeg': '3.4.2-1.4.1'\r\n    ]\r\n}\r\n    implementation files('libs/javacv-platform-1.4.2-spanshot.jar')\r\n    implementation group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: versions.ffmpeg\r\n    implementation group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: versions.ffmpeg, \r\nclassifier: 'android-arm'\r\n```\r\n\r\nHave tried with the following versions of javacv too:\r\n```\r\ncompile('org.bytedeco:javacv-platform:1.4.1') {   // and 1.3, 1.4 also\r\n        exclude group: 'org.bytedeco.javacpp-presets'\r\n    }\r\n```\r\n\r\nUsing [CrazyOrr project]  (https://github.com/CrazyOrr/FFmpegRecorder/blob/master/app/src/main/java/com/github/crazyorr/ffmpegrecorder/FFmpegRecordActivity.java) as a sample.\r\n\r\nReviewed following links but no luck:\r\n[https://github.com/bytedeco/sample-projects/tree/master/javacv-android-camera-preview](https://github.com/bytedeco/sample-projects/tree/master/javacv-android-camera-preview) \r\n[https://github.com/bytedeco/sample-projects/tree/master/javacv-android-recognize](https://github.com/bytedeco/sample-projects/tree/master/javacv-android-recognize)\r\n\r\n**Have tried**\r\n>   adding /removing : `mFrameRecorder.setPixelFormat(avutil.AV_PIX_FMT_NV21);`\r\n>  removing recorder.setPixelFormat() and adding push(frame, AV_PIX_FMT_NV21) did not work.\r\n\r\nTried with following versions: 1.3, 1.4, 1.4.1, 1.4.2-SNAPSHOT"},"comment":{"url":"https://api.github.com/repos/bytedeco/javacv/issues/comments/385906983","html_url":"https://github.com/bytedeco/javacv/issues/979#issuecomment-385906983","issue_url":"https://api.github.com/repos/bytedeco/javacv/issues/979","id":385906983,"user":{"login":"saudet","id":3328023,"avatar_url":"https://avatars1.githubusercontent.com/u/3328023?v=4","gravatar_id":"","url":"https://api.github.com/users/saudet","html_url":"https://github.com/saudet","followers_url":"https://api.github.com/users/saudet/followers","following_url":"https://api.github.com/users/saudet/following{/other_user}","gists_url":"https://api.github.com/users/saudet/gists{/gist_id}","starred_url":"https://api.github.com/users/saudet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saudet/subscriptions","organizations_url":"https://api.github.com/users/saudet/orgs","repos_url":"https://api.github.com/users/saudet/repos","events_url":"https://api.github.com/users/saudet/events{/privacy}","received_events_url":"https://api.github.com/users/saudet/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T08:45:14Z","updated_at":"2018-05-02T08:45:14Z","author_association":"OWNER","body":"Set `RECORD_LENGTH = 0` so you won't need that much memory."}}
{"actor":{"display_login":"saudet"}}