[FFmpeg-trac] #1495(swresample:open): resample / ac3 encoding regression (was: H263+MP3 -> .vob (MPEG2 + AC3) = corrupt audio)
FFmpeg
trac at avcodec.org
Sat Jun 30 11:16:25 CEST 2012
#1495: resample / ac3 encoding regression
-------------------------------------+-------------------------------------
Reporter: grolschie | Owner:
Type: defect | Status: open
Priority: important | Component:
Version: git-master | swresample
Keywords: regression | Resolution:
ac3 | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* keywords: => regression ac3
* status: new => open
* component: undetermined => swresample
* reproduced: 0 => 1
Comment:
Regression since 4ccf6e3, not reproducible with wav and mp2
{{{
$ ffmpeg -i input_stream.flv -ar 48k out.ac3
ffmpeg -i input_stream.flv -ar 48k out.ac3
ffmpeg version N-42057-g8a85660 Copyright (c) 2000-2012 the FFmpeg
developers
built on Jun 30 2012 10:59:19 with gcc 4.3.2
configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame
--enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs
--enable-libfaac --enable-nonfree
libavutil 51. 63.100 / 51. 63.100
libavcodec 54. 31.100 / 54. 31.100
libavformat 54. 14.100 / 54. 14.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 3. 0.100 / 3. 0.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, flv, from 'input_stream.flv':
Metadata:
metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
hasKeyframes : true
hasVideo : true
hasAudio : true
hasMetadata : true
canSeekToEnd : true
datasize : 1978772
videosize : 1716367
audiosize : 254789
lasttimestamp : 30
lastkeyframetimestamp: 30
lastkeyframelocation: 1975246
encoder : Lavf54.11.100
Duration: 00:00:30.27, start: 0.000000, bitrate: 366 kb/s
Stream #0:0: Video: flv1, yuv420p, 450x360, 200 kb/s, 25 tbr, 1k tbn,
1k tbc
Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
[graph 0 input from stream 0:1 @ 0x90cbf80] tb:1/1000 samplefmt:s16
samplerate:22050 chlayout:0x3
[auto-inserted resampler 0 @ 0x90d3f60] chl:stereo fmt:s16 r:22050Hz ->
chl:stereo fmt:flt r:48000Hz
Output #0, ac3, to 'out.ac3':
Metadata:
metadatacreator : Yet Another Metadata Injector for FLV - Version 1.4
hasKeyframes : true
hasVideo : true
hasAudio : true
hasMetadata : true
canSeekToEnd : true
datasize : 1978772
videosize : 1716367
audiosize : 254789
lasttimestamp : 30
lastkeyframetimestamp: 30
lastkeyframelocation: 1975246
encoder : Lavf54.14.100
Stream #0:0: Audio: ac3, 48000 Hz, stereo, flt, 192 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (mp3 -> ac3)
Press [q] to stop, [?] for help
size= 698kB time=00:00:29.75 bitrate= 192.0kbits/s
video:0kB audio:698kB subtitle:0 global headers:0kB muxing overhead
0.000000%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1495#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list