2011/8/26 Måns Rullgård <[email protected]>:
[...]
>
> What effect does this change have and what, if anything, does it fix?
>
It fixes duration/bitrate estimation for me:
before:
built on Aug 26 2011 16:33:59 with clang 2.9 (tags/RELEASE_29/final)
configuration: --enable-gpl --enable-libvorbis --enable-libmp3lame
--enable-libfreetype --cc=clang
--samples=/home/aconverse/streams/fate-suite
libavutil 51. 9. 0 / 51. 9. 0
libavcodec 53. 9. 0 / 53. 9. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 4. 0 / 2. 4. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 52. 0. 0 / 52. 0. 0
[mp3 @ 0x1eed380] max_analyze_duration reached
[mp3 @ 0x1eed380] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/aconverse/Downloads/duration-problem.mp3':
Metadata:
encoder : Lavf52.39.2
Duration: 00:14:44.44, start: 0.000000, bitrate: 32 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 32 kb/s
Output #0, wav, to 'old.wav':
Metadata:
encoder : Lavf53.5.0
Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
Stream #0.0 -> #0.0 (mp3 -> pcm_s16le)
Press ctrl-c to stop encoding
size= 26946kB time=156.42 bitrate=1411.2kbits/s
video:0kB audio:26946kB global headers:0kB muxing overhead 0.000159%
after:
avconv version v0.7-743-g5fa588b, Copyright (c) 2000-2011 the Libav developers
built on Aug 26 2011 16:32:48 with clang 2.9 (tags/RELEASE_29/final)
configuration: --enable-gpl --enable-libvorbis --enable-libmp3lame
--enable-libfreetype --cc=clang
--samples=/home/aconverse/streams/fate-suite
libavutil 51. 9. 0 / 51. 9. 0
libavcodec 53. 9. 0 / 53. 9. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 4. 0 / 2. 4. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 52. 0. 0 / 52. 0. 0
[mp3 @ 0x272f380] max_analyze_duration reached
[mp3 @ 0x272f380] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/aconverse/Downloads/duration-problem.mp3':
Metadata:
encoder : Lavf52.39.2
Duration: 00:02:56.88, start: 0.000000, bitrate: 160 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 160 kb/s
Output #0, wav, to 'new.wav':
Metadata:
encoder : Lavf53.5.0
Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
Stream #0.0 -> #0.0 (mp3 -> pcm_s16le)
Press ctrl-c to stop encoding
size= 26946kB time=156.42 bitrate=1411.2kbits/s
video:0kB audio:26946kB global headers:0kB muxing overhead 0.000159%
actual:
avconv version v0.7-742-g1717ba0, Copyright (c) 2000-2011 the Libav developers
built on Aug 26 2011 16:33:59 with clang 2.9 (tags/RELEASE_29/final)
configuration: --enable-gpl --enable-libvorbis --enable-libmp3lame
--enable-libfreetype --cc=clang
--samples=/home/aconverse/streams/fate-suite
libavutil 51. 9. 0 / 51. 9. 0
libavcodec 53. 9. 0 / 53. 9. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 4. 0 / 2. 4. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 52. 0. 0 / 52. 0. 0
[wav @ 0x2ae5380] max_analyze_duration reached
Input #0, wav, from 'old.wav':
Duration: 00:02:36.42, bitrate: 1411 kb/s
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
At least one output file must be specified
Decoded output is remains identical.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel