OpenShot / openshot-qt

OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
http://www.openshot.org
Other
4.25k stars 530 forks source link

How change audio codec on output ? #283

Closed Oxygenum closed 6 years ago

Oxygenum commented 8 years ago

In advanced settings im see only ac3 audio codec ? How change it to mp3 or aac ?

synapticjuice commented 8 years ago

yes I have same problem. I'm using Openshot 2.1 on Ubuntu 16.04. There is no drop down menu under "export video - advanced - audio settings - audio codec". Openshot 1.4.3 has a drop down that lets you select AAC from the list. I have tried typing in AAC into Openshot 2.1 but this brings the error Sorry, there was an error exporting your video: exception class 'openshot.InvalidCodec' After searching and playing with the software I have not found the answer. Frustrating.

Oxygenum commented 8 years ago

Hi ! My solution for mp3 on output... Type : libmp3lame instead ac3 Work in Linux with installed lame mp3 encoding library...

BR MK/Oxygenum

synapticjuice commented 8 years ago

anyone know how to solve for AAC?

ricardojlrufino commented 7 years ago

ac3 is not allowed in whatsapp web, libmp3lame works !!

jmunin commented 7 years ago

Hi, libmp3lame works in Windows 10 too, no need to install anything!! But a drop down menu would be very necessary.

ibro99 commented 7 years ago

For AAC output, use libvo_aacenc for the output codec. It accepts FFmpeg codecs. You can view supported output codec using ffmpeg -codecs | grep '^.E'

zhitaoh commented 7 years ago

I installed libfdk_aac on my Ubuntu and confirmed that the AAC encoder works with avconv. But my OpenShot 2.3.4 still complains about "openshot.InvalidCodec" when exporting to AAC audio using libfdk_acc. On the other hand, MP3 export using libmp3lame works. Any ideas?

arbidroid commented 7 years ago

I have the same problem. I can encode audo with AAC using ffmpeg but OpenShot complains with "openshot.InvalidCodec". Could someone that got this working please explain how he or she did it?

Geesbugg commented 7 years ago

I solved it, I select the AVI with mp4 codec so it was mp3.

DylanC commented 6 years ago

Original question has been solved here.

laraconda commented 6 years ago

To use ACC: Install the package libavcodec-extra. Type libvo_aacenc instead of ac3.

ezonakiusagi commented 5 years ago

To use AAC in Openshot 2.4.3, just type "aac" in: "Advanced"->"Audio Settings"->"Audio Codec".

It would be so much better if there was drop down menu of available codecs.

DylanC commented 5 years ago

@ezonakiusagi - I agree. I've turned your comment into an enhancement. :+1:

hubyhuby commented 3 years ago

+1 Would be nice to have a drop down with available audio exports. Like with video export formats. It is especially important since AC3 doesn t seem to work on most smartphone in 2020

Tomoms commented 3 years ago

A drop down menu would be nice indeed, but I'd like to point out that using libvo_aacenc is not suggested by the libav wiki. libfdk_aac is the best codec, although it's not free. To use it in OpenShot, just install it and type libfdk_aac (although I believe in most distros the package is named libfdk-aac) in the audio codec textbox.

Colorjet3 commented 1 year ago

I am going to submit an enhancement request to the development team to add the "Drop Down" option to the "Audio Codec" so we are not 2nd guessing what Openshot supports vs. having to know how to change it manually and then break something. Additionally, I am going to request a drop down option for the "Bit Rate / Quality" as well.

@hubyhuby and @Tomoms. If you guys have some suggestions as well please feel free to add it here and I will compile all in one request.

Update: As you are thinking about this please check the User Guide for all relevant information that is available that may not have been available back in 2021 or earlier:

  1. Go to https://www.openshot.org/user-guide/
  2. Search for Export and read from there.
Tomoms commented 1 year ago

@Colorjet3 I haven't got any other suggestion. It seems a good idea to submit an enhancement request for this feature, thanks!