LuckSiege / LuckSiege/PictureSelector

选择视频出现未知?损坏?文件

Open
#2,436 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

## Current use version?
#### 当前使用的版本是多少?

```
implementation 'io.github.lucksiege:pictureselector:v3.0.9'
```

## Will this problem occur in demo?
#### Demo能否复现这问题?

```
demo也复现
```

## Describe the problem or provide an error log?
#### 描述问题或提供错误log?

##### 视频选择时出现损坏? 的视频
##### 文件管理中也没有发现这个视频
![image](https://user-images.githubusercontent.com/7221064/181677429-893316ff-71bb-4ff6-b834-0309164b76ab.png)
##### App选择
![image](https://user-images.githubusercontent.com/7221064/181677518-12459662-73dd-4b34-b646-811dfea94b09.png)
##### 得到的文件信息

```
I/openAlbum: 文件名: VIDEO_20210302_134842.mp4
I/openAlbum: 是否压缩:false
I/openAlbum: 压缩:null
I/openAlbum: 初始路径:content://media/external/video/media/10950
I/openAlbum: 绝对路径:/storage/emulated/0/DCIM/ve/VIDEO_20210302_134842.mp4
I/openAlbum: 是否裁剪:false
I/openAlbum: 裁剪:null
I/openAlbum: 是否开启原图:false
I/openAlbum: 原图路径:null
I/openAlbum: 沙盒路径:null
I/openAlbum: 水印路径:null
I/openAlbum: 视频缩略图:null
I/openAlbum: 原始宽高: 544x960
I/openAlbum: 图片availablePath: content://media/external/video/media/10950
I/openAlbum: 裁剪宽高: 0x0
I/openAlbum: 文件大小: 3004186
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the problem in the demo with implementation 'io.github.lucksiege:pictureselector:v3.0.9'. Trace video selection using the reported content:// URI and compare it with the logged absolute path and MediaStore entry. Done means the affected video is not shown as damaged or unknown and its returned file information is consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.