On Thu, Jul 18, 2019 at 15:23:32 +0200, Robert Keir wrote:
> I need to convert with the following settings:
>
> Bitrate of 19.1kbps
> 1 channel
> Sample rate of 16.0khz
>
> How would that look in:
>
> ffmpeg -i audio.mp3 -c:a libopus newfilename.ogg
The bitrate probably doesn't matter to the
First of all (again), stop top-posting here!
On 18-7-2019 15:36, Robert Keir wrote:
> I'm trying to convert an mp3 file to ogg file to send through to a WhatApp
> contact through their API. The Whatsapp API only accepts " audio ogg-file in
> opus codec".
So if I understand correctly, you're
> I'm trying to convert an mp3 file to ogg file to send through to a WhatApp
> contact through their API. The Whatsapp API only accepts " audio ogg-file in
> opus codec". I convert it using
>
> ffmpeg -i audio.mp3 -c:a libopus newfilename.ogg
>
> newfilename.ogg does not play in whatsapp when
al Message-
From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Ted Park
Sent: Thursday, July 18, 2019 3:31 PM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg
format)?
> Thank you. I'm new and still learning. :-)
> Thank you. I'm new and still learning. :-)
That’s good, but in that spirit, you should look up what top-posting is and
avoid doing it in this mailing list.
> I need to convert with the following settings:
>
> Bitrate of 19.1kbps
> 1 channel
> Sample rate of 16.0khz
That would look like
tsApp"?
Thanks for all your help.
-Original Message-
From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of Ted Park
Sent: Thursday, July 18, 2019 3:09 PM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg
format)?
&
> Except for the dash you forgot ( -c:a libopus) this is indeed a very basic
> conversion to opus.
Good catch, it probably tried to write a file named “c:a” and asked for an
explicit format
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
> I get this error in windows when converting mp3 to ogg (opus codec)
Ah, i was a bit too late, but yes, take Reino’s advice and you should be all
set… but,
> Whatsapp is only accepting opus contained in ogg.
I highly doubt this??? WhatsApp sends any file it doesn't care iirc. Unless you
want
Robert Keir (12019-07-18):
> I get this error in windows when converting mp3 to ogg (opus codec)
1. Do not make screenshots of text, copy-paste the text itself.
2. Re-read this bit in the mail you answered:
>> Except for the dash you forgot ( -c:a libopus)
3. Do not top-post here. If you do
On 18-7-2019 14:37, Robert Keir wrote:
> I need to convert an MP3 to OGG (opus codec). I need to execute this (below)
> in PHP.
>
> ffmpeg -i filename.mp3 c:a libopus newfilename.ogg
>
> Is this correct?
Except for the dash you forgot ( -c:a libopus) this is indeed a very basic
conversion to
> ffmpeg -i filename.mp3 c:a libopus newfilename.ogg
Seems fine to me, you might want to add some encoding options and obviously
wrap it in a shell exec function or backticks(?) to do it in PHP. Sorry I’m not
up to speed on PHP, but that notwithstanding you didn’t even mention which
version of
Hi There,
I need to convert an MP3 to OGG (opus codec). I need to execute this (below)
in PHP.
ffmpeg -i filename.mp3 c:a libopus newfilename.ogg
Is this correct?
Can you please let me know.
Thanks,
Rob
___
ffmpeg-user mailing
12 matches
Mail list logo