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

--end=999:00:00 causes the audio not to play #4650

Closed
rr- opened this issue Jul 23, 2017 · 0 comments
Closed

--end=999:00:00 causes the audio not to play #4650

rr- opened this issue Jul 23, 2017 · 0 comments

Comments

@rr-
Copy link
Member

rr- commented Jul 23, 2017

mpv version and platform

mpv 0.26.0-15-gbbfd9b5a29 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
 built on Sun Jul 23 22:16:53 CEST 2017
ffmpeg library versions:
   libavutil       55.58.100
   libavcodec      57.89.100
   libavformat     57.71.100
   libswscale      4.6.100
   libavfilter     6.82.100
   libswresample   2.7.100
ffmpeg version: 3.3.2

Reproduction steps

mpv --no-config test.mkv --end=999:00:00

Expected behavior

Audio works

Actual behavior

Audio is muted

If I reduce the time to something saner, say, 2:00:00, it works even if this time exceeds the file duration.

My use case as to why I'm setting this property to such a value:

  1. I'm playing a file through libmpv
  2. I want to play some ranges in it (think A-B loops that play once)
  3. I achieve that through seeking, setting options/end property and unpausing the playback
  4. At the same time I prevent the file from unloading after reaching the options/end value by using --keep-open
  5. Sometimes I just want to unpause the file without imposing any ending points. Since I can't seem to be able to set the options/end property to an empty string or NULL, I set it to some deliberately high value.

Log file

https://0x0.st/DO-.txt

Sample files

Can provide if asked to

@ghost ghost closed this as completed in 8ef5001 Aug 8, 2017
This issue was closed.
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

1 participant