Skip to content

Conversation

@tianjunwork
Copy link
Owner

@tianjunwork tianjunwork commented Apr 20, 2024

Add audio delay in cli. The delay value is in ms.
For accessing storage: adb shell pm grant is.xyz.mpv android.permission.READ_EXTERNAL_STORAGE

am start -a android.intent.action.VIEW -t video/any -p is.xyz.mpv -d "http://pricom.com.au/CutestLittleVegetarian.mp4" --ei "audio_delay_ms" 2000

This eventually sets --audio-delay 2 to mpv. set is a input command, --audio-delay is one of the options, which takes value in second.

value <0 means: audio ahead
value >0 means: audio delay

Signed-off-by: Jun Tian <jun.tian@fb.com>
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

Successfully merging this pull request may close these issues.

2 participants