Opened 12 years ago
Closed 12 years ago
#2238 closed defect (invalid)
ffplay: add SDL_AUDIO_FREQUENCY variable
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
for some reason (maybe hardware drive or some bug in libsdl) audio frequencies > than 48000 does not play correctly on my system with ffplay, so I would like to request env variable where I could set max freq which would be allowed for ffplay to use (for example 48000).
Change History (5)
follow-up: 2 comment:1 by , 12 years ago
follow-up: 3 comment:2 by , 12 years ago
Replying to Cigaes:
Adding a feature to work around an unknown problem, possibly in other software, does not seem like a sane idea. You should at the very least make sure whether this is a hardware, driver, SDL or ffmpeg bug.
since I have AC'97 (integrated) sound card then I'm probably limited to 96kHz, so mentioned variable would fix a problem for me
(I can reproduce the same problem with WinAMP as well with selected DirectSound output)
follow-up: 4 comment:3 by , 12 years ago
Replying to ami_stuff:
since I have AC'97 (integrated) sound card then I'm probably
I do not feel that "probably" is enough to warrant work on such a feature.
limited to 96kHz, so mentioned variable would fix a problem for me
I just tried: here, ffplay can perfectly well play audio beyond the capabilities of the hardware.
(I can reproduce the same problem with WinAMP as well with selected DirectSound output)
That confirms that it is not a ffplay bug.
Until you can confirm what exactly is the problem, implementing anything would be shooting in the dark, that is not a proper way of maintaining software.
comment:4 by , 12 years ago
Replying to Cigaes:
I just tried: here, ffplay can perfectly well play audio beyond the capabilities of the hardware.
Did you test on Windows (DirectSound)?
comment:5 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
I can get a correct audio output for freq > 48kHz when I browse in Window's explorer (after running FFplay), so there is a sound of "click" generated by Windows and this releases playback in FFplay :/
Adding a feature to work around an unknown problem, possibly in other software, does not seem like a sane idea. You should at the very least make sure whether this is a hardware, driver, SDL or ffmpeg bug.