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

Stall even with --untimed with fuzzed file. #1474

Closed
tholin opened this issue Jan 15, 2015 · 1 comment
Closed

Stall even with --untimed with fuzzed file. #1474

tholin opened this issue Jan 15, 2015 · 1 comment

Comments

@tholin
Copy link

tholin commented Jan 15, 2015

Running this file like mpv --no-config --untimed --vo null --ao=null:untimed random_hang.mp3 will stall for a few minutes until it eventually exit. Most of that time is spent idle with all threads parked. It's not what I expect from untimed playback.
https://www.dropbox.com/s/0k2g7am3gy2hllz/random_hang.mp3

$ time ~/repository/mpv-build_vanilla_debug/mpv/build/mpv --no-config --untimed --vo null --ao=null:untimed random_hang.mp3 
Playing: random_hang.mp3
[ffmpeg/audio] mp3: Header missing
[ffmpeg/audio] mp3: Header missing
[ffmpeg/audio] mp3: Header missing
[ffmpeg/demuxer] mp3: Estimating duration from bitrate, this may be inaccurate
 (+) Audio --aid=1 (mp3)
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
AO: [null] 44100Hz mono 1ch s16p
AO: [null] 44100Hz stereo 2ch s16p
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
A: 00:00:00 / 00:00:00 (19%)
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
A: 00:00:00 / 00:00:00 (36%)
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
A: 00:00:00 / 00:00:00 (42%)
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
A: 00:00:00 / 00:00:00 (42%)
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
[ffmpeg/audio] mp3: Header missing
Error decoding audio.
A: 00:00:00 / 00:00:00 (42%)

Exiting... (End of file)

real    3m20.371s
user    0m0.020s
sys     0m0.006s
@ghost
Copy link

ghost commented Jan 15, 2015

Yeah, fails to decode audio, and then decides to do nothing.

@ghost ghost closed this as completed in 4e419b2 Jan 15, 2015
ghost pushed a commit that referenced this issue Jan 24, 2015
This makes it retry later.

Fixes #1474.
ghost pushed a commit that referenced this issue Jan 25, 2015
This makes it retry later.

Fixes #1474.
olifre pushed a commit to olifre/mpv that referenced this issue Feb 28, 2015
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