[FFmpeg-user] problem transcoding raw g729 to wav format

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Sep 29 20:45:53 EEST 2017


2017-09-29 19:30 GMT+02:00 Dave Horton <daveh at beachdognet.com>:
>>> Perhaps you could provide an audible sample?
>
> Here is a link to the short raw G729 file I am transcoding:

No warnings here.
I can confirm though that such files cannot be read if they were
cut at non-frame limits, so you have to make sure the pipes
never eat something.

Carl Eugen

$ ffmpeg -f g729 -i callee.raw out.wav
ffmpeg version N-87618-g6f7bd8c Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl
  libavutil      55. 77.101 / 55. 77.101
  libavcodec     57.106.104 / 57.106.104
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57.  9.101 / 57.  9.101
  libavfilter     6.106.100 /  6.106.100
  libswscale      4.  7.103 /  4.  7.103
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[g729 @ 0x2c443e0] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, g729, from 'callee.raw':
  Duration: 00:00:20.48, start: 0.000000, bitrate: 8 kb/s
    Stream #0:0: Audio: g729, 8000 Hz, mono, s16
Stream mapping:
  Stream #0:0 -> #0:0 (g729 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'out.wav':
  Metadata:
    ISFT            : Lavf57.83.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz,
mono, s16, 128 kb/s
    Metadata:
      encoder         : Lavc57.106.104 pcm_s16le
size=     320kB time=00:00:00.26 bitrate=9862.0kbits/s speed=3.63x
video:0kB audio:320kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.023804%


More information about the ffmpeg-user mailing list