[FFmpeg-user] speex to ac3 in mkv
Madovsky
infos at madovsky.org
Sun Feb 3 15:43:30 CET 2013
> Madovsky <infos <at> madovsky.org> writes:
>
>> ffmpeg -i rtmp://server/app/live -acodec ac3 -ar 48000
>> -b:a 128k -vcodec copy -y output.mkv
>
> Please always add complete, uncut console output when
> posting failing command lines here.
>
Ok
> Do the following also fail?
> $ ffmpeg -i rtmp://server/app/live -ar 48000 out.ac3
works
> $ ffmpeg -i rtmp://server/app/live -ar 48000 out.mp2
works
>
> Carl Eugen
console log:
===============
ffmpeg -i "rtmp://server/app/live live=1" -acodec ac3 -ar 48000 -b:a
128k -vcodec copy -y output.mkv
ffmpeg version N-49519-g99eedfc Copyright (c) 2000-2013 the FFmpeg
developers
built on Feb 1 2013 16:33:20 with gcc 4.3.2 (GCC) 20081105 (Red Hat
4.3.2-7)
configuration: --enable-static --enable-gpl --enable-nonfree --enable-libfaac
--enable-libx264 --enable-pthreads --enable-postproc --enable-libspeex --enable-librtmp
--enable-runtime-cpudetect --enable-libfreetype
libavutil 52. 17.100 / 52. 17.100
libavcodec 54. 91.100 / 54. 91.100
libavformat 54. 61.104 / 54. 61.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 35.100 / 3. 35.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
rtmp server sent error
[flv @ 0x3559fe0] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://server/app/live live=1':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: flv1, yuv420p, 320x240, 16.58 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: speex, 16000 Hz, mono, s16
Output #0, matroska, to 'output.mkv':
Metadata:
encoder : Lavf54.61.104
Stream #0:0: Video: flv1 (FLV1 / 0x31564C46), yuv420p, 320x240, q=2-31,
1k tbn, 1k tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, mono, fltp, 128
kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (libspeex -> ac3)
Press [q] to stop, [?] for help
frame= 313 fps= 19 q=-1.0 Lsize= 949kB time=00:00:18.54 bitrate=
419.4kbits/s
video:655kB audio:287kB subtitle:0 global headers:0kB muxing overhead
0.777962%
Received signal 2: terminating.
============
fyi I use librtmp
Thanks
Franck
More information about the ffmpeg-user
mailing list