Opened 14 years ago
Closed 13 years ago
#1874 closed defect (fixed)
ffplay displays "nan" as an current time
| Reported by: | ami_stuff | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | swresample |
| Version: | git-master | Keywords: | resample |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
http://www.datafilehost.com/download-d0d50729.html
C:\>ffplay ffplay_nan.mov
ffplay version N-46146-g11d695d Copyright (c) 2003-2012 the FFmpeg developers
built on Oct 29 2012 18:06:25 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runt
ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass -
-enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enab
le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libo
pus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheo
ra --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
ble-zlib
libavutil 52. 1.100 / 52. 1.100
libavcodec 54. 69.100 / 54. 69.100
libavformat 54. 35.100 / 54. 35.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 20.109 / 3. 20.109
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ffplay_nan.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2012-10-30 18:27:06
Duration: 00:01:12.00, start: 0.000000, bitrate: 400 kb/s
Stream #0:0(eng): Audio: pcm_s24be (in24 / 0x34326E69), 8000 Hz, 2 channels,
s32, 384 kb/s
Metadata:
creation_time : 2012-10-30 18:27:06
handler_name : Procedura obs│ugi skrˇtˇw danych Apple
Stream #0:1(eng): Video: mjpeg (mjpa / 0x61706A6D), yuvj422p, 160x120 [SAR 7
2:72 DAR 4:3], 16 kb/s, 0.25 fps, 0.25 tbr, 1 tbn, 1 tbc
Metadata:
creation_time : 2012-10-30 18:27:06
handler_name : Procedura obs│ugi skrˇtˇw danych Apple
Frame changed from size:0x0 to size:160x120
nan A-V: nan fd= 0 aq= 1567KB vq= 40KB sq= 0B f=0/0
Change History (14)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
it seems to be related to mmx or something (tested with 2 builds - one mine)
C:\>ffplay ffplay_nan.mov
ffplay version N-46146-g11d695d Copyright (c) 2003-2012 the FFmpeg developers
built on Oct 29 2012 18:06:25 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runt
ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass -
-enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enab
le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libo
pus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheo
ra --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
ble-zlib
libavutil 52. 1.100 / 52. 1.100
libavcodec 54. 69.100 / 54. 69.100
libavformat 54. 35.100 / 54. 35.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 20.109 / 3. 20.109
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ffplay_nan.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2012-10-30 18:27:06
Duration: 00:01:12.00, start: 0.000000, bitrate: 400 kb/s
Stream #0:0(eng): Audio: pcm_s24be (in24 / 0x34326E69), 8000 Hz, 2 channels,
s32, 384 kb/s
Metadata:
creation_time : 2012-10-30 18:27:06
handler_name : Procedura obs│ugi skrˇtˇw danych Apple
Stream #0:1(eng): Video: mjpeg (mjpa / 0x61706A6D), yuvj422p, 160x120 [SAR 7
2:72 DAR 4:3], 16 kb/s, 0.25 fps, 0.25 tbr, 1 tbn, 1 tbc
Metadata:
creation_time : 2012-10-30 18:27:06
handler_name : Procedura obs│ugi skrˇtˇw danych Apple
Frame changed from size:0x0 to size:160x120
nan A-V: nan fd= 0 aq= 1567KB vq= 48KB sq= 0B f=0/0
C:\>ffplay -cpuflags -mmx ffplay_nan.mov
ffplay version N-46146-g11d695d Copyright (c) 2003-2012 the FFmpeg developers
built on Oct 29 2012 18:06:25 with gcc 4.7.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runt
ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass -
-enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enab
le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libo
pus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheo
ra --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
ble-zlib
libavutil 52. 1.100 / 52. 1.100
libavcodec 54. 69.100 / 54. 69.100
libavformat 54. 35.100 / 54. 35.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 20.109 / 3. 20.109
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ffplay_nan.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2012-10-30 18:27:06
Duration: 00:01:12.00, start: 0.000000, bitrate: 400 kb/s
Stream #0:0(eng): Audio: pcm_s24be (in24 / 0x34326E69), 8000 Hz, 2 channels,
s32, 384 kb/s
Metadata:
creation_time : 2012-10-30 18:27:06
handler_name : Procedura obs│ugi skrˇtˇw danych Apple
Stream #0:1(eng): Video: mjpeg (mjpa / 0x61706A6D), yuvj422p, 160x120 [SAR 7
2:72 DAR 4:3], 16 kb/s, 0.25 fps, 0.25 tbr, 1 tbn, 1 tbc
Metadata:
creation_time : 2012-10-30 18:27:06
handler_name : Procedura obs│ugi skrˇtˇw danych Apple
Frame changed from size:0x0 to size:160x120
3.92 A-V: -0.082 fd= 0 aq= 1567KB vq= 48KB sq= 0B f=0/0
follow-up: 7 comment:3 by , 14 years ago
But can you confirm that this problem is only reproducible on Windows?
comment:5 by , 14 years ago
| Reproduced by developer: | set |
|---|---|
| Status: | new → open |
comment:6 by , 14 years ago
the same problem with:
http://samples.mplayerhq.hu/DVD-Audio/DVD-Audio-testfile.wav
comment:7 by , 13 years ago
Replying to cehoyos:
But can you confirm that this problem is only reproducible on Windows?
Please try to reproduce with "ffplay -cpuflags -sse2 DVD-Audio-testfile.wav".
comment:8 by , 13 years ago
The time counter seems to run normally here:
$ ffplay -cpuflags -sse2 DVD-Audio-testfile.wav -autoexit
ffplay version N-53771-g636c2dd Copyright (c) 2003-2013 the FFmpeg developers
built on Jun 2 2013 21:41:50 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl --disable-indev=jack
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 14.100 / 55. 14.100
libavformat 55. 8.102 / 55. 8.102
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 74.101 / 3. 74.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[wav @ 0x7f0ea8000920] max_analyze_duration 5000000 reached at 5001333 microseconds
Input #0, wav, from 'DVD-Audio-testfile.wav':
Duration: 00:00:13.70, bitrate: 4615 kb/s
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 96000 Hz, 2 channels, s32, 4608 kb/s
13.72 : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
comment:9 by , 13 years ago
| Version: | unspecified → git-master |
|---|
Only reproducible with a 32bit executable:
$ ffplay -cpuflags -sse2 DVD-Audio-testfile.wav -autoexit
ffplay version N-53782-g2976e2a Copyright (c) 2003-2013 the FFmpeg developers
built on Jun 3 2013 08:30:44 with gcc 4.7 (SUSE Linux)
configuration: --cc='gcc -m32'
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 14.100 / 55. 14.100
libavformat 55. 8.102 / 55. 8.102
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 74.101 / 3. 74.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
[wav @ 0xf55004a0] max_analyze_duration 5000000 reached at 5001333 microseconds
Input #0, wav, from 'DVD-Audio-testfile.wav':
Duration: 00:00:13.70, bitrate: 4615 kb/s
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 96000 Hz, 2 channels, s32, 4608 kb/s
-nan M-A: -nan fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
comment:10 by , 13 years ago
| Component: | undetermined → swresample |
|---|---|
| Keywords: | resample added |
| Priority: | normal → important |
I suspect this is a regression since 65722e7
$ ffplay -cpuflags -sse-sse2 DVD-Audio-testfile.wav -autoexit
ffplay version N-40210-g65722e7 Copyright (c) 2003-2012 the FFmpeg developers
built on Jun 3 2013 11:53:10 with gcc 4.7.1 20120723 [gcc-4_7-branch revision 189773]
configuration: --disable-everything --cc='gcc -m32' --enable-protocol=file --enable-demuxer=wav --enable-decoder='pcm_s24le,h264' --enable-filter=aresample
libavutil 51. 48.100 / 51. 48.100
libavcodec 54. 17.100 / 54. 17.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 72.100 / 2. 72.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 11.100 / 0. 11.100
[wav @ 0xf5500480] max_analyze_duration 5000000 reached at 5001333
Input #0, wav, from 'DVD-Audio-testfile.wav':
Duration: 00:00:13.70, bitrate: 4615 kb/s
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 96000 Hz, 2 channels, s32, 4608 kb/s
-nan A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
comment:12 by , 13 years ago
comment:14 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | open → closed |



Works fine here (no "nan"). Could this be Windows-specific?