[FFmpeg-user] Fwd: decoding raw g.729 [was: Encoding raw alaw to PCM]

Amit Dor-Shifer amit.dor.shifer at gmail.com
Fri Oct 28 15:58:53 CEST 2011


---------- Forwarded message ----------
From: Danie Wessels <danie.wessels at live.co.za>
Date: Fri, Oct 28, 2011 at 10:10 PM
Subject: Re: [FFmpeg-user] Encoding raw alaw to PCM
To: ffmpeg-user at ffmpeg.org




> > Subject: Re: [FFmpeg-user] Encoding raw alaw to PCM
:
> > > Amit Dor-Shifer <amit.dor.shifer <at> gmail.com> writes:

> > > > Attachment (test-123.sample): application/octet-stream, 2340 bytes

> > > Is there a software that can decode this sample?

> > > Carl Eugen
:
> If you were on Windows, you should be able to do (with ffmpeg):
> ffmpeg.exe -c pcm_alaw -i test-123.sample test.mp3
:
> Danie
> _______________________________________________
> ffmpeg-user mailing list

But I was wrong... That will only convert it to another wave file
In my case, double the size, but still wav despite the extention.
(But this is what you wanted, I believe)
Then to get it to .mp3 I needed to do it as follows.:

ffmpeg.exe  -c pcm_alaw  -i test123.sample  test.wav
ffmpeg.exe  -i test.wav  test123.mp3

So in your case the test.wav would be your answer.

Danie

It might be that I've been misleading with the former subject, Danie. The
a/m sample is g729 raw audio packets. Attempting the cmdline you've offered
yields:

test-123.sample: Invalid data found when processing input

Both on windows (ffmpeg-git-e403a97-win64-shared) and linux.
Where you actually successful in executing this cmdline?


More information about the ffmpeg-user mailing list