#3509(ffplay:new): ffplay unable to play 352800 Hz wav file
#3509: ffplay unable to play 352800 Hz wav file ---------------------------------------+-------------------------------- Reporter: pross | Owner: Type: defect | Status: new Priority: normal | Component: ffplay Version: unspecified | Keywords: Blocked By: | Blocking: Reproduced by developer: 0 | Analyzed by developer: 0 ---------------------------------------+-------------------------------- ffplay is unable to play 352800 Hz wav file. the same file plays back in audacity perfectly. How to reproduce: {{{ % ffplay test_352800hz.wav ffplay version N-61942-gbad5447 Copyright (c) 2003-2014 the FFmpeg developers built on Mar 30 2014 15:16:47 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9) configuration: libavutil 52. 70.100 / 52. 70.100 libavcodec 55. 55.104 / 55. 55.104 libavformat 55. 36.100 / 55. 36.100 libavdevice 55. 11.100 / 55. 11.100 libavfilter 4. 3.100 / 4. 3.100 libswscale 2. 5.102 / 2. 5.102 libswresample 0. 18.100 / 0. 18.100 Input #0, wav, from 'test_352800hz.wav':q= 0KB sq= 0B f=0/0 Metadata: title : The Girl Is Mine (With Paul McCartney) artist : Thriller date : 1999-26-08 encoder : Lavf55.36.100 (libsndfile-1.0.25) Duration: 00:00:01.57, bitrate: 11290 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 352800 Hz, 2 channels, s16, 11289 kb/s SDL_OpenAudio (2 channels): Could not setup PulseAudio stream SDL_OpenAudio (1 channels): Could not setup PulseAudio stream No more channel combinations to try, audio open failed Failed to open file 'test_352800hz.wav' or configure filtergraph nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/3509> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3509: ffplay unable to play 352800 Hz wav file -------------------------------------+---------------------------------- Reporter: pross | Owner: Type: defect | Status: new Priority: normal | Component: ffplay Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by cehoyos): This works fine here so I would assume a problem with SDL. {{{ $ ffplay test_352800hz.wav -autoexit ffplay version N-61950-g0f2588d Copyright (c) 2003-2014 the FFmpeg developers built on Mar 31 2014 00:15:32 with gcc 4.7 (SUSE Linux) configuration: --enable-gpl libavutil 52. 70.100 / 52. 70.100 libavcodec 55. 55.104 / 55. 55.104 libavformat 55. 36.100 / 55. 36.100 libavdevice 55. 11.100 / 55. 11.100 libavfilter 4. 3.100 / 4. 3.100 libswscale 2. 5.102 / 2. 5.102 libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100 Input #0, wav, from 'test_352800hz.wav':q= 0KB sq= 0B f=0/0 Metadata: title : The Girl Is Mine (With Paul McCartney) artist : Thriller date : 1999-26-08 encoder : Lavf55.36.100 (libsndfile-1.0.25) Duration: 00:00:01.57, bitrate: 11290 kb/s Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 352800 Hz, 2 channels, s16, 11289 kb/s 1.56 M-A: -0.000 fd= 0 aq= 17KB vq= 0KB sq= 0B f=0/0 }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/3509#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3509: ffplay unable to play 352800 Hz wav file -------------------------------------+---------------------------------- Reporter: pross | Owner: Type: defect | Status: new Priority: normal | Component: ffplay Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by cehoyos): After further tests - with {{{export SDL_AUDIODRIVER=pulse}}} instead of {{{export SDL_AUDIODRIVER=alsa}}} which I have in my .bashrc - it appears to me that this is just a limitation of pulse (which audacity maybe doesn't use), I can also reproduce it with {{{mplayer test_352800hz.wav -ao alsa}}} vs {{{mplayer test_352800hz.wav -ao pulse}}}. -- Ticket URL: <https://trac.ffmpeg.org/ticket/3509#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3509: ffplay unable to play 352800 Hz wav file -------------------------------------+---------------------------------- Reporter: pross | Owner: Type: defect | Status: new Priority: normal | Component: ffplay Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by mastered): Pulse has hard limit of 192kHz sample rate -- Ticket URL: <https://trac.ffmpeg.org/ticket/3509#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3509: ffplay unable to play 352800 Hz wav file (pulse audio has a hard limit of 192kHz) -------------------------------------+---------------------------------- Reporter: pross | Owner: Type: defect | Status: new Priority: normal | Component: ffplay Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- -- Ticket URL: <https://trac.ffmpeg.org/ticket/3509#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3509: ffplay unable to play 352800 Hz wav file (pulse audio has a hard limit of 192kHz) -------------------------------------+---------------------------------- Reporter: pross | Owner: Type: defect | Status: new Priority: normal | Component: ffplay Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by DonMoir): For me, I have a hard limit of 200khz, so choosing to just half / quarter the sample rate when over 200khz for efficiency since the sample rate is so high to begin with. Would like to get some more samples with over 200khz if available. -- Ticket URL: <https://trac.ffmpeg.org/ticket/3509#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3509: ffplay unable to play 352800 Hz wav file (pulse audio has a hard limit of 192kHz) -------------------------------------+---------------------------------- Reporter: pross | Owner: Type: defect | Status: new Priority: normal | Component: ffplay Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by pross): http://www.2l.no/hires/ Look for 'DXD' (24/352.8 kHz PCM .WAV) -- Ticket URL: <https://trac.ffmpeg.org/ticket/3509#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3509: ffplay unable to play 352800 Hz wav file (pulse audio has a hard limit of 192kHz) -------------------------------------+---------------------------------- Reporter: pross | Owner: Type: defect | Status: new Priority: normal | Component: ffplay Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by DonMoir): Thanks, perfect -- Ticket URL: <https://trac.ffmpeg.org/ticket/3509#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3509: ffplay unable to play 352800 Hz wav file (pulse audio has a hard limit of 192kHz) -------------------------------------+---------------------------------- Reporter: pross | Owner: Type: defect | Status: closed Priority: normal | Component: ffplay Version: unspecified | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Changes (by cus): * status: new => closed * resolution: => fixed Comment: This should be fixed in 0c8d8c0c80671fd592697fee5ca7e645c26d2da9, reopen if not. -- Ticket URL: <https://trac.ffmpeg.org/ticket/3509#comment:8> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg