[FFmpeg-trac] #4042(undetermined:new): ffmpeg is not able to convert mp2 audio
FFmpeg
trac at avcodec.org
Sun Oct 19 01:44:00 CEST 2014
#4042: ffmpeg is not able to convert mp2 audio
--------------------------------+----------------------------------------
Reporter: f_rush | Owner:
Type: defect | Status: new
Priority: normal | Component: undetermined
Version: 2.4.2 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+----------------------------------------
Comment (by f_rush):
here is mencoder options:
{{{ mencoder tv:// -tv
driver=v4l2:device=/dev/video1:alsa:adevice=hw.1:forceaudio:volume=80 -ovc
copy -oac lavc -lavcopts vcodec=libvorbis -vf harddup -o video2.mpg }}}
here is convert attempt:
{{{
ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 5 2014 09:31:05 with gcc 4.9.1 (Debian 4.9.1-16)
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector-
strong -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro'
--cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl
--enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac
--enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm
--enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping
--enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger
--enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter
--enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb
--enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64
-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-
gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus
--enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-
mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi
--enable-avresample --disable-htmlpages --disable-podpages --enable-
libiec61883 --enable-libfdk-aac --enable-vaapi --enable-libx265 --enable-
libdc1394 --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[avi @ 0x1d2cfa0] non-interleaved AVI
Input #0, avi, from 'abi.mpg':
Metadata:
encoder : MEncoder SVN-r37289
Duration: 01:32:15.60, start: 0.000000, bitrate: 123104 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480,
122872 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p,
224 kb/s
Output #0, mp2, to 'abi.mp2':
Metadata:
encoder : Lavf56.4.101
Stream #0:0: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
Metadata:
encoder : Lavc56.1.100 mp2
Stream mapping:
Stream #0:1 -> #0:0 (mp2 (native) -> mp2 (native))
Press [q] to stop, [?] for help
size= 37kB time=00:08:36.10 bitrate= 0.6kbits/s
video:0kB audio:37kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.000000%
Received signal 2: terminating.
}}}
confirm that result file is incorrect. here is information about output
file (conversion process was manually stopped after several minutes,
that's why it's much shorter and anyway it should not affect the process
itself )
{{{
[mp3 @ 0x19f9b20] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'abi.mp2':
Duration: 00:00:00.82, start: 0.000000, bitrate: 372 kb/s
Stream #0:0: Audio: mp2, 48000 Hz, stereo, s16p, 372 kb/s
At least one output file must be specified
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4042#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list