{"action":"created","issue":{"url":"https://api.github.com/repos/shahen94/react-native-video-processing/issues/142","repository_url":"https://api.github.com/repos/shahen94/react-native-video-processing","labels_url":"https://api.github.com/repos/shahen94/react-native-video-processing/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/shahen94/react-native-video-processing/issues/142/comments","events_url":"https://api.github.com/repos/shahen94/react-native-video-processing/issues/142/events","html_url":"https://github.com/shahen94/react-native-video-processing/issues/142","id":280256485,"number":142,"title":"Not located file in compress and trim (No such file or directory)","user":{"login":"faelsolucoes","id":22418848,"avatar_url":"https://avatars2.githubusercontent.com/u/22418848?v=4","gravatar_id":"","url":"https://api.github.com/users/faelsolucoes","html_url":"https://github.com/faelsolucoes","followers_url":"https://api.github.com/users/faelsolucoes/followers","following_url":"https://api.github.com/users/faelsolucoes/following{/other_user}","gists_url":"https://api.github.com/users/faelsolucoes/gists{/gist_id}","starred_url":"https://api.github.com/users/faelsolucoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faelsolucoes/subscriptions","organizations_url":"https://api.github.com/users/faelsolucoes/orgs","repos_url":"https://api.github.com/users/faelsolucoes/repos","events_url":"https://api.github.com/users/faelsolucoes/events{/privacy}","received_events_url":"https://api.github.com/users/faelsolucoes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-12-07T19:50:26Z","updated_at":"2018-02-01T19:17:54Z","closed_at":"2017-12-18T04:43:05Z","author_association":"NONE","body":"Hello!\r\n\r\nI use componente ImagePicker to select image/video/photo and it work, but I received the path of vídeo this component and try to use in \"ProcessingManager.trim\" or \"ProcessingManager.compress\" but result in error. I finded strange because I used in \"ProcessingManager.getVideoInfo\" and it worked.\r\n\r\nError:\r\nObject {\r\n  \"e\": [Error: compress error: failed. ffmpeg version 3.3.5 Copyright (c) 2000-2017 the FFmpeg developers  built with gcc 4.8 (GCC)  configuration: --target-os=linux --cross-prefix=/Users/kesha/Projects/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/Users/kesha/Projects/ffmpeg-android/toolchain-android/sysroot --enable-libx264 --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-yasm --disable-doc --disable-shared --enable-static --enable-nonfree --disable-network --enable-gpl --enable-ffmpeg --enable-small --disable-filters --enable-filter=copy --enable-filter=trim --enable-filter=crop --enable-filter=scale --enable-filter=format --pkg-config=/Users/kesha/Projects/ffmpeg-android/ffmpeg-3.3-pkg-config --prefix=/Users/kesha/Projects/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/Users/kesha/Projects/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/Users/kesha/Projects/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags= --extra-libs='-lx264 -lm'  libavutil      55. 58.100 / 55. 58.100  libavcodec     57. 89.100 / 57. 89.100  libavformat    57. 71.100 / 57. 71.100  libavdevice    57.  6.100 / 57.  6.100  libavfilter     6. 82.100 /  6. 82.100  libswscale      4.  6.100 /  4.  6.100  libswresample   2.  7.100 /  2.  7.100  libpostproc    54.  5.100 / 54.  5.100file:///data/user/0/com.younner.winkmeup/cache/ExperienceData/%2540faelsolucoes%252FWinkMeUp/ImagePicker/aa32b2bb-e16a-43b8-bd4e-26492110d6c2.mp4: No such file or directory],\r\n}\r\n\r\nExample file path: file:///data/user/0/com.younner.winkmeup/cache/ExperienceData/%2540faelsolucoes%252FWinkMeUp/ImagePicker/aa32b2bb-e16a-43b8-bd4e-26492110d6c2.mp4\r\n\r\nI created an APP to Android and iOS:\r\nreact-native = 0.50.3\r\nreact = 16.0.0\r\nreact-native-video-processing = 1.13.0\r\n\r\nI use this path in my APP without problems. Why didn't component not find the file ?\r\nThis component not working IN RN 0.5x ?\r\n\r\nThanks,\r\nRafael Dorneles\r\n"},"comment":{"url":"https://api.github.com/repos/shahen94/react-native-video-processing/issues/comments/362372261","html_url":"https://github.com/shahen94/react-native-video-processing/issues/142#issuecomment-362372261","issue_url":"https://api.github.com/repos/shahen94/react-native-video-processing/issues/142","id":362372261,"user":{"login":"shukerullah","id":963765,"avatar_url":"https://avatars3.githubusercontent.com/u/963765?v=4","gravatar_id":"","url":"https://api.github.com/users/shukerullah","html_url":"https://github.com/shukerullah","followers_url":"https://api.github.com/users/shukerullah/followers","following_url":"https://api.github.com/users/shukerullah/following{/other_user}","gists_url":"https://api.github.com/users/shukerullah/gists{/gist_id}","starred_url":"https://api.github.com/users/shukerullah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shukerullah/subscriptions","organizations_url":"https://api.github.com/users/shukerullah/orgs","repos_url":"https://api.github.com/users/shukerullah/repos","events_url":"https://api.github.com/users/shukerullah/events{/privacy}","received_events_url":"https://api.github.com/users/shukerullah/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T19:17:53Z","updated_at":"2018-02-01T19:17:53Z","author_association":"NONE","body":"I am using `react-native-image-picker` too, and it return path which is not readable for `ProcessingManager.compress`. Any solution @shahen94 @faelsolucoes ?\r\n\r\nHere `react-native-image-picker` response\r\n```\r\n{\r\n  path: '/storage/emulated/0/DCIM/Camera/VID_20180201_234922.mp4',\r\n  uri: 'content://media/external/video/media/22414'\r\n}\r\n```"}}
{"actor":{"display_login":"shukerullah"}}