[FFmpeg-user] ffplay/mpv/mplayer large aac/adts seek regression.

Andy Furniss adf.lists at gmail.com
Fri Jan 1 13:50:35 CET 2016

Doesn't affect ffmpeg -ss but interactive seeking on very large aac
(adts) files is way out with current ffplay, mpv and mplayer.

Pressing "up" to skip forward a minute ends up at 1:37:xx on one sample.

Making the samples smaller reduces the effect so it wouldn't be seen on
a "normal" length sample. The samples I am testing are half gig 3-4 hour
radio recordings.

I bisected testing with ffplay and hit an avconv build right at the end, 
so skipped.

Looks like it could be (full bisect log below).

avpacket: Replace av_free_packet with av_packet_unref

ffmpeg -i CPE-bach-JS-St-john-passion.aac
ffmpeg version N-77563-gb47111b Copyright (c) 2000-2015 the FFmpeg 
   built with gcc 4.9.2 (GCC)
   configuration: --prefix=/usr --disable-doc --enable-gpl 
--enable-libvpx --enable-libschroedinger --enable-libx265 
--enable-libdcadec --enable-libmp3lame --enable-libx264
   libavutil      55. 11.100 / 55. 11.100
   libavcodec     57. 20.100 / 57. 20.100
   libavformat    57. 21.100 / 57. 21.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 22.100 /  6. 22.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
[aac @ 0x240c3c0] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'CPE-bach-JS-St-john-passion.aac':
   Duration: 03:26:32.73, bitrate: 344 kb/s
     Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 344 kb/s
At least one output file must be specified

git bisect start
# bad: [b47111b6579fbe07b09bb360732b140ad6e870db] doc/filters: add 
showwavespic colorize example
git bisect bad b47111b6579fbe07b09bb360732b140ad6e870db
# good: [644179e0d4155ae8f5ddd5c3f6bd003e2e13cf94] Update Changelog
git bisect good 644179e0d4155ae8f5ddd5c3f6bd003e2e13cf94
# good: [8ca97b5e4f470cf24fac5e0599dd63c7af142c22] 
avfilter/avf_showfreqs: Fix memleak of out frame
git bisect good 8ca97b5e4f470cf24fac5e0599dd63c7af142c22
# good: [81d7f118e20c3fec05e484699faa5d58ca381271] vf_psnr: remove %0.2f 
format specifiers for stream summary line.
git bisect good 81d7f118e20c3fec05e484699faa5d58ca381271
# bad: [da7cfef7f0c98c05571c62d344aad83e0e85d0fb] Merge commit 
git bisect bad da7cfef7f0c98c05571c62d344aad83e0e85d0fb
# bad: [446ac80ea594de6fca73dcba65fce8b06810fe96] Merge commit 
git bisect bad 446ac80ea594de6fca73dcba65fce8b06810fe96
# bad: [b7fb7c4542af63fea433a5417e4efe2d8c4422f6] avutil/mathematics: 
make av_gcd more robust
git bisect bad b7fb7c4542af63fea433a5417e4efe2d8c4422f6
# good: [1174eb2f1015ee56ede35f63ad488dd89e3e77d3] Merge commit 
git bisect good 1174eb2f1015ee56ede35f63ad488dd89e3e77d3
# bad: [dd367495578d406ab6456fca7e2a0c4a5bc50b0a] avutil/audio_fifo: add 
git bisect bad dd367495578d406ab6456fca7e2a0c4a5bc50b0a
# bad: [6255bf3d0d2ee843ede8c0d74e4b35d2fd574b48] mpegts: Fix FATE seek test
git bisect bad 6255bf3d0d2ee843ede8c0d74e4b35d2fd574b48
# good: [af7c7037150d572fa791b7465cda68d2ed720e02] Merge commit 
git bisect good af7c7037150d572fa791b7465cda68d2ed720e02
# good: [856b19d5935b544e96156f8e75e23b28c0a9f318] Merge commit 
git bisect good 856b19d5935b544e96156f8e75e23b28c0a9f318
# bad: [7f5af80ba42bbd82da53dfd95236e9d47159a96a] Merge commit 
git bisect bad 7f5af80ba42bbd82da53dfd95236e9d47159a96a
# skip: [ce70f28a1732c74a9cd7fec2d56178750bd6e457] avpacket: Replace 
av_free_packet with av_packet_unref
git bisect skip ce70f28a1732c74a9cd7fec2d56178750bd6e457
# only skipped commits left to test
# possible first bad commit: [7f5af80ba42bbd82da53dfd95236e9d47159a96a] 
Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'
# possible first bad commit: [ce70f28a1732c74a9cd7fec2d56178750bd6e457] 
avpacket: Replace av_free_packet with av_packet_unref

More information about the ffmpeg-user mailing list