Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when click on save, application crashed #51

Open
asadd00 opened this issue Oct 4, 2018 · 5 comments
Open

when click on save, application crashed #51

asadd00 opened this issue Oct 4, 2018 · 5 comments

Comments

@asadd00
Copy link

asadd00 commented Oct 4, 2018

when click on save, application crashed and shows
java.io.FileNotFoundException: /external/video/media/33131: open failed: ENOENT (No such file or directory)

if file is not here then how its appearing in timeline view please look in this matter

Include the following:
  • k4l-video-trimmer version: 1.0.3
  • Device OS version: 6.0.1
  • Devide Manufacturer: Motorola
  • Device Name: Turbo
Reproduction Steps
  1. record video and saved
  2. get content uri and set in 'setVideoURI'
  3. video appeared in timeline view
  4. adjust video clips
  5. click on save
Expected Result

it should save video in destination path

Actual Result

application crashed,
showing exception
java.io.FileNotFoundException: /external/video/media/33131: open failed: ENOENT (No such file or
directory)

Tell us what could be improved:

@agueroveraalvaro
Copy link

Directory might not exist yet

@inforaamitsolutions
Copy link

its because the file from gallery you selected that file format might not be supported with this... try another one with MP4

@jagadishlakkur
Copy link

First convert uri to file path and then pass path to view

String path=FileUtils.getPath(getActivity(), data.getData());

videoTrimmer.setVideoURI(Uri.parse(path));

@rawbi
Copy link

rawbi commented Feb 6, 2021

@asadd00 did you found any solution ?

@ChiragAtharva
Copy link

@asadd00 Any update
i am also facing this crash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants