LuckSiege / LuckSiege/PictureSelector

选择视频,没有实现压缩吗?

Open
#2,568 9 comments 6 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?
#### 当前使用的版本是多少?

```
v3.10.7
```

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

```
能,看到demo里面自定义压缩引擎只实现了图片的压缩方案!!!

希望大佬 能够拓展一下,支持视频的压缩,目前Android手机录2分钟的视频,大小已经超过500M!!!
```

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

```
com.luck.pictureselector I/PictureSelectorTag: 是否压缩:false
com.luck.pictureselector I/PictureSelectorTag: 压缩:null
com.luck.pictureselector I/PictureSelectorTag: 初始路径:content://media/external/video/media/46942
com.luck.pictureselector I/PictureSelectorTag: 绝对路径:/storage/emulated/0/Movies/VID_20221103205613257.mp4
```

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 reviewing the demo's custom compression engine and the existing image-compression path, then trace how a selected video reaches the compression decision shown in the logs. Done means video selections can use a supported compression flow rather than reporting compression as null, with the demo reproducing the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.