Audacity & OPUS Files? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Where to get Audacity Stable?How do I install a .so file? - newbieUse native Unity menus in AudacityMove or resize huge Audacity project files?How to install audacity software in Ubuntu?invisible audacity session running won't let me start audacityRun Java AppletCompile opus-tools with opus 1.2.1 (Ubuntu 17.04)Audacity menu options grayed outCompile opus-tools with opus 1.2.1

Why is superheterodyning better than direct conversion?

Road tyres vs "Street" tyres for charity ride on MTB Tandem

How to split my screen on my Macbook Air?

Problems with Ubuntu mount /tmp

What is special about square numbers here?

Did God make two great lights or did He make the great light two?

University's motivation for having tenure-track positions

How to copy the contents of all files with a certain name into a new file?

How do I add random spotting to the same face in cycles?

How is simplicity better than precision and clarity in prose?

Does Parliament need to approve the new Brexit delay to 31 October 2019?

He got a vote 80% that of Emmanuel Macron’s

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Simulation of a banking system with an Account class in C++

How should I replace vector<uint8_t>::const_iterator in an API?

What is this lever in Argentinian toilets?

Finding the path in a graph from A to B then back to A with a minimum of shared edges

How to delete random line from file using Unix command?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Didn't get enough time to take a Coding Test - what to do now?

Can the DM override racial traits?

Why does the Event Horizon Telescope (EHT) not include telescopes from Africa, Asia or Australia?

system() function string length limit

Is there a writing software that you can sort scenes like slides in PowerPoint?



Audacity & OPUS Files?



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Where to get Audacity Stable?How do I install a .so file? - newbieUse native Unity menus in AudacityMove or resize huge Audacity project files?How to install audacity software in Ubuntu?invisible audacity session running won't let me start audacityRun Java AppletCompile opus-tools with opus 1.2.1 (Ubuntu 17.04)Audacity menu options grayed outCompile opus-tools with opus 1.2.1



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















How can I get Audacity to work with Opus files? Is there a plugin I can get?



I've heard that I can point Audacity to a framework for encoding/decoding and delegate the work to the framework, since Audacity doesn't support .opus yet.



How should I go about adding .opus support to Audacity?



Edit 0: (After trying the external program and the file not appearing):
Export AudioProgram Output



Edit 1: After Recompiling
A file with the file name now appears in the folder, but it appears to be unplayable.
After Recompiling










share|improve this question



















  • 1





    audacity should open an .opus file just fine (does so here) As far as exporting to .opus then use external program option (ffmpeg), read here forum.audacityteam.org/…

    – doug
    Jun 27 '17 at 2:57











  • @doug I have taken the substantial liberty of expanding on your succinct comment to produce a full answer...

    – andrew.46
    Jun 27 '17 at 9:19

















2















How can I get Audacity to work with Opus files? Is there a plugin I can get?



I've heard that I can point Audacity to a framework for encoding/decoding and delegate the work to the framework, since Audacity doesn't support .opus yet.



How should I go about adding .opus support to Audacity?



Edit 0: (After trying the external program and the file not appearing):
Export AudioProgram Output



Edit 1: After Recompiling
A file with the file name now appears in the folder, but it appears to be unplayable.
After Recompiling










share|improve this question



















  • 1





    audacity should open an .opus file just fine (does so here) As far as exporting to .opus then use external program option (ffmpeg), read here forum.audacityteam.org/…

    – doug
    Jun 27 '17 at 2:57











  • @doug I have taken the substantial liberty of expanding on your succinct comment to produce a full answer...

    – andrew.46
    Jun 27 '17 at 9:19













2












2








2


1






How can I get Audacity to work with Opus files? Is there a plugin I can get?



I've heard that I can point Audacity to a framework for encoding/decoding and delegate the work to the framework, since Audacity doesn't support .opus yet.



How should I go about adding .opus support to Audacity?



Edit 0: (After trying the external program and the file not appearing):
Export AudioProgram Output



Edit 1: After Recompiling
A file with the file name now appears in the folder, but it appears to be unplayable.
After Recompiling










share|improve this question
















How can I get Audacity to work with Opus files? Is there a plugin I can get?



I've heard that I can point Audacity to a framework for encoding/decoding and delegate the work to the framework, since Audacity doesn't support .opus yet.



How should I go about adding .opus support to Audacity?



Edit 0: (After trying the external program and the file not appearing):
Export AudioProgram Output



Edit 1: After Recompiling
A file with the file name now appears in the folder, but it appears to be unplayable.
After Recompiling







17.04 audacity ogg-opus






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 3 '17 at 0:56







Sarah Szabo

















asked Jun 25 '17 at 15:45









Sarah SzaboSarah Szabo

411921




411921







  • 1





    audacity should open an .opus file just fine (does so here) As far as exporting to .opus then use external program option (ffmpeg), read here forum.audacityteam.org/…

    – doug
    Jun 27 '17 at 2:57











  • @doug I have taken the substantial liberty of expanding on your succinct comment to produce a full answer...

    – andrew.46
    Jun 27 '17 at 9:19












  • 1





    audacity should open an .opus file just fine (does so here) As far as exporting to .opus then use external program option (ffmpeg), read here forum.audacityteam.org/…

    – doug
    Jun 27 '17 at 2:57











  • @doug I have taken the substantial liberty of expanding on your succinct comment to produce a full answer...

    – andrew.46
    Jun 27 '17 at 9:19







1




1





audacity should open an .opus file just fine (does so here) As far as exporting to .opus then use external program option (ffmpeg), read here forum.audacityteam.org/…

– doug
Jun 27 '17 at 2:57





audacity should open an .opus file just fine (does so here) As far as exporting to .opus then use external program option (ffmpeg), read here forum.audacityteam.org/…

– doug
Jun 27 '17 at 2:57













@doug I have taken the substantial liberty of expanding on your succinct comment to produce a full answer...

– andrew.46
Jun 27 '17 at 9:19





@doug I have taken the substantial liberty of expanding on your succinct comment to produce a full answer...

– andrew.46
Jun 27 '17 at 9:19










2 Answers
2






active

oldest

votes


















3














As Doug has pointed out Audacity has the ability to easily import Opus files under Ubuntu 17.04 and also the ability to export as Opus with a small work around. To illustrate:



1. Importing Opus Files with Audacity



Audacity easily imports Opus files either by:



  1. Drag and drop the Opus files directly onto the main Audacity window

  2. File --> Import --> Audio from the Audacity main window

This has tested without flaw on my installation of Audacity 2.1.2 under Ubuntu 17.04.



2. Exporting Opus Files with Audacity



Audacity can export as Opus but does not have the capability to directly export as Opus or to use the conventional 'Custom FFmpeg Export' setting.



Instead go to:



File --> Export --> External Program


and change the Command options to something like the following:



enter image description here



And to make copying and pasting a little easier here is the command line:



ffmpeg -i - -c:a libopus -b:a 128k "%f"


And this should give you the results you are after...



Notes:




  • Audacity: Exporting to an External Program sends audio via a command-line to an external application, either for processing or for encoding as a file.





share|improve this answer

























  • I tried the command in the export audio/external program window, but the file doesn't appear. I get an output from libopus, I'll post the output.

    – Sarah Szabo
    Jul 2 '17 at 19:44











  • @SarahSzabo Your copy of FFmpeg does not have support for encoding with libopus, is this the repository version for 17.04? I will double check when I get home away from this Windows computer...

    – andrew.46
    Jul 2 '17 at 22:55











  • This was the output of ffmpeg -version: ffmpeg -version ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (Ubuntu 6.3.0-12ubuntu2) 20170406 I just got it from git.

    – Sarah Szabo
    Jul 2 '17 at 23:07












  • @SarahSzabo OIC. Bear in mind that Zesty already has a decent and reasonably fully featured version of FFmpeg in the standard repositories, you might be better off using this? However if you have compiled your own copy recompile adding --enable-libopus to your ./configure string and make sure you have the opus '-devel' packages installed: sudo apt-get install libopus-dev ...

    – andrew.46
    Jul 2 '17 at 23:55












  • I installed the opus-devel packages, and then recompiled with the flags specified. I edited the post to clarify.

    – Sarah Szabo
    Jul 3 '17 at 0:58


















1














There is need for ffmpeg to export opus.
First, install opus-tools with:



sudo apt install opus-tools


Then, one can simply use something like:



opusenc --bitrate 192 - "%f"


instead of the ffmpeg command.



This works fine with Audacity 2.1.3 and opusenc 0.1.9.



EDIT



ffmpeg does not support quality settings for opus. Here is part of the output using today's 3.4 git snapshot of ffmpeg when trying something like



ffmpeg -i - -c:a libopus -q:a 7 "%f"


as command:



[libopus @ 0x3f065c0] No bit rate set. Defaulting to 96000 bps.
[libopus @ 0x3f065c0] Quality-based encoding not supported, please specify a bitrate and VBR setting.





share|improve this answer

























  • Oops, not sure where I got scrambled with the quality settings, I have deleted this section. BTW your answer might be better suited as a comment?

    – andrew.46
    Oct 22 '17 at 19:01











  • I tried to post a comment, but it looks like I haven't earned enough reputation to be allowed to comment others entries, so I edited my post...

    – hanky
    Oct 23 '17 at 16:22












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f929055%2faudacity-opus-files%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














As Doug has pointed out Audacity has the ability to easily import Opus files under Ubuntu 17.04 and also the ability to export as Opus with a small work around. To illustrate:



1. Importing Opus Files with Audacity



Audacity easily imports Opus files either by:



  1. Drag and drop the Opus files directly onto the main Audacity window

  2. File --> Import --> Audio from the Audacity main window

This has tested without flaw on my installation of Audacity 2.1.2 under Ubuntu 17.04.



2. Exporting Opus Files with Audacity



Audacity can export as Opus but does not have the capability to directly export as Opus or to use the conventional 'Custom FFmpeg Export' setting.



Instead go to:



File --> Export --> External Program


and change the Command options to something like the following:



enter image description here



And to make copying and pasting a little easier here is the command line:



ffmpeg -i - -c:a libopus -b:a 128k "%f"


And this should give you the results you are after...



Notes:




  • Audacity: Exporting to an External Program sends audio via a command-line to an external application, either for processing or for encoding as a file.





share|improve this answer

























  • I tried the command in the export audio/external program window, but the file doesn't appear. I get an output from libopus, I'll post the output.

    – Sarah Szabo
    Jul 2 '17 at 19:44











  • @SarahSzabo Your copy of FFmpeg does not have support for encoding with libopus, is this the repository version for 17.04? I will double check when I get home away from this Windows computer...

    – andrew.46
    Jul 2 '17 at 22:55











  • This was the output of ffmpeg -version: ffmpeg -version ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (Ubuntu 6.3.0-12ubuntu2) 20170406 I just got it from git.

    – Sarah Szabo
    Jul 2 '17 at 23:07












  • @SarahSzabo OIC. Bear in mind that Zesty already has a decent and reasonably fully featured version of FFmpeg in the standard repositories, you might be better off using this? However if you have compiled your own copy recompile adding --enable-libopus to your ./configure string and make sure you have the opus '-devel' packages installed: sudo apt-get install libopus-dev ...

    – andrew.46
    Jul 2 '17 at 23:55












  • I installed the opus-devel packages, and then recompiled with the flags specified. I edited the post to clarify.

    – Sarah Szabo
    Jul 3 '17 at 0:58















3














As Doug has pointed out Audacity has the ability to easily import Opus files under Ubuntu 17.04 and also the ability to export as Opus with a small work around. To illustrate:



1. Importing Opus Files with Audacity



Audacity easily imports Opus files either by:



  1. Drag and drop the Opus files directly onto the main Audacity window

  2. File --> Import --> Audio from the Audacity main window

This has tested without flaw on my installation of Audacity 2.1.2 under Ubuntu 17.04.



2. Exporting Opus Files with Audacity



Audacity can export as Opus but does not have the capability to directly export as Opus or to use the conventional 'Custom FFmpeg Export' setting.



Instead go to:



File --> Export --> External Program


and change the Command options to something like the following:



enter image description here



And to make copying and pasting a little easier here is the command line:



ffmpeg -i - -c:a libopus -b:a 128k "%f"


And this should give you the results you are after...



Notes:




  • Audacity: Exporting to an External Program sends audio via a command-line to an external application, either for processing or for encoding as a file.





share|improve this answer

























  • I tried the command in the export audio/external program window, but the file doesn't appear. I get an output from libopus, I'll post the output.

    – Sarah Szabo
    Jul 2 '17 at 19:44











  • @SarahSzabo Your copy of FFmpeg does not have support for encoding with libopus, is this the repository version for 17.04? I will double check when I get home away from this Windows computer...

    – andrew.46
    Jul 2 '17 at 22:55











  • This was the output of ffmpeg -version: ffmpeg -version ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (Ubuntu 6.3.0-12ubuntu2) 20170406 I just got it from git.

    – Sarah Szabo
    Jul 2 '17 at 23:07












  • @SarahSzabo OIC. Bear in mind that Zesty already has a decent and reasonably fully featured version of FFmpeg in the standard repositories, you might be better off using this? However if you have compiled your own copy recompile adding --enable-libopus to your ./configure string and make sure you have the opus '-devel' packages installed: sudo apt-get install libopus-dev ...

    – andrew.46
    Jul 2 '17 at 23:55












  • I installed the opus-devel packages, and then recompiled with the flags specified. I edited the post to clarify.

    – Sarah Szabo
    Jul 3 '17 at 0:58













3












3








3







As Doug has pointed out Audacity has the ability to easily import Opus files under Ubuntu 17.04 and also the ability to export as Opus with a small work around. To illustrate:



1. Importing Opus Files with Audacity



Audacity easily imports Opus files either by:



  1. Drag and drop the Opus files directly onto the main Audacity window

  2. File --> Import --> Audio from the Audacity main window

This has tested without flaw on my installation of Audacity 2.1.2 under Ubuntu 17.04.



2. Exporting Opus Files with Audacity



Audacity can export as Opus but does not have the capability to directly export as Opus or to use the conventional 'Custom FFmpeg Export' setting.



Instead go to:



File --> Export --> External Program


and change the Command options to something like the following:



enter image description here



And to make copying and pasting a little easier here is the command line:



ffmpeg -i - -c:a libopus -b:a 128k "%f"


And this should give you the results you are after...



Notes:




  • Audacity: Exporting to an External Program sends audio via a command-line to an external application, either for processing or for encoding as a file.





share|improve this answer















As Doug has pointed out Audacity has the ability to easily import Opus files under Ubuntu 17.04 and also the ability to export as Opus with a small work around. To illustrate:



1. Importing Opus Files with Audacity



Audacity easily imports Opus files either by:



  1. Drag and drop the Opus files directly onto the main Audacity window

  2. File --> Import --> Audio from the Audacity main window

This has tested without flaw on my installation of Audacity 2.1.2 under Ubuntu 17.04.



2. Exporting Opus Files with Audacity



Audacity can export as Opus but does not have the capability to directly export as Opus or to use the conventional 'Custom FFmpeg Export' setting.



Instead go to:



File --> Export --> External Program


and change the Command options to something like the following:



enter image description here



And to make copying and pasting a little easier here is the command line:



ffmpeg -i - -c:a libopus -b:a 128k "%f"


And this should give you the results you are after...



Notes:




  • Audacity: Exporting to an External Program sends audio via a command-line to an external application, either for processing or for encoding as a file.






share|improve this answer














share|improve this answer



share|improve this answer








edited Oct 22 '17 at 19:00

























answered Jun 27 '17 at 9:14









andrew.46andrew.46

22.4k1470150




22.4k1470150












  • I tried the command in the export audio/external program window, but the file doesn't appear. I get an output from libopus, I'll post the output.

    – Sarah Szabo
    Jul 2 '17 at 19:44











  • @SarahSzabo Your copy of FFmpeg does not have support for encoding with libopus, is this the repository version for 17.04? I will double check when I get home away from this Windows computer...

    – andrew.46
    Jul 2 '17 at 22:55











  • This was the output of ffmpeg -version: ffmpeg -version ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (Ubuntu 6.3.0-12ubuntu2) 20170406 I just got it from git.

    – Sarah Szabo
    Jul 2 '17 at 23:07












  • @SarahSzabo OIC. Bear in mind that Zesty already has a decent and reasonably fully featured version of FFmpeg in the standard repositories, you might be better off using this? However if you have compiled your own copy recompile adding --enable-libopus to your ./configure string and make sure you have the opus '-devel' packages installed: sudo apt-get install libopus-dev ...

    – andrew.46
    Jul 2 '17 at 23:55












  • I installed the opus-devel packages, and then recompiled with the flags specified. I edited the post to clarify.

    – Sarah Szabo
    Jul 3 '17 at 0:58

















  • I tried the command in the export audio/external program window, but the file doesn't appear. I get an output from libopus, I'll post the output.

    – Sarah Szabo
    Jul 2 '17 at 19:44











  • @SarahSzabo Your copy of FFmpeg does not have support for encoding with libopus, is this the repository version for 17.04? I will double check when I get home away from this Windows computer...

    – andrew.46
    Jul 2 '17 at 22:55











  • This was the output of ffmpeg -version: ffmpeg -version ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (Ubuntu 6.3.0-12ubuntu2) 20170406 I just got it from git.

    – Sarah Szabo
    Jul 2 '17 at 23:07












  • @SarahSzabo OIC. Bear in mind that Zesty already has a decent and reasonably fully featured version of FFmpeg in the standard repositories, you might be better off using this? However if you have compiled your own copy recompile adding --enable-libopus to your ./configure string and make sure you have the opus '-devel' packages installed: sudo apt-get install libopus-dev ...

    – andrew.46
    Jul 2 '17 at 23:55












  • I installed the opus-devel packages, and then recompiled with the flags specified. I edited the post to clarify.

    – Sarah Szabo
    Jul 3 '17 at 0:58
















I tried the command in the export audio/external program window, but the file doesn't appear. I get an output from libopus, I'll post the output.

– Sarah Szabo
Jul 2 '17 at 19:44





I tried the command in the export audio/external program window, but the file doesn't appear. I get an output from libopus, I'll post the output.

– Sarah Szabo
Jul 2 '17 at 19:44













@SarahSzabo Your copy of FFmpeg does not have support for encoding with libopus, is this the repository version for 17.04? I will double check when I get home away from this Windows computer...

– andrew.46
Jul 2 '17 at 22:55





@SarahSzabo Your copy of FFmpeg does not have support for encoding with libopus, is this the repository version for 17.04? I will double check when I get home away from this Windows computer...

– andrew.46
Jul 2 '17 at 22:55













This was the output of ffmpeg -version: ffmpeg -version ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (Ubuntu 6.3.0-12ubuntu2) 20170406 I just got it from git.

– Sarah Szabo
Jul 2 '17 at 23:07






This was the output of ffmpeg -version: ffmpeg -version ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (Ubuntu 6.3.0-12ubuntu2) 20170406 I just got it from git.

– Sarah Szabo
Jul 2 '17 at 23:07














@SarahSzabo OIC. Bear in mind that Zesty already has a decent and reasonably fully featured version of FFmpeg in the standard repositories, you might be better off using this? However if you have compiled your own copy recompile adding --enable-libopus to your ./configure string and make sure you have the opus '-devel' packages installed: sudo apt-get install libopus-dev ...

– andrew.46
Jul 2 '17 at 23:55






@SarahSzabo OIC. Bear in mind that Zesty already has a decent and reasonably fully featured version of FFmpeg in the standard repositories, you might be better off using this? However if you have compiled your own copy recompile adding --enable-libopus to your ./configure string and make sure you have the opus '-devel' packages installed: sudo apt-get install libopus-dev ...

– andrew.46
Jul 2 '17 at 23:55














I installed the opus-devel packages, and then recompiled with the flags specified. I edited the post to clarify.

– Sarah Szabo
Jul 3 '17 at 0:58





I installed the opus-devel packages, and then recompiled with the flags specified. I edited the post to clarify.

– Sarah Szabo
Jul 3 '17 at 0:58













1














There is need for ffmpeg to export opus.
First, install opus-tools with:



sudo apt install opus-tools


Then, one can simply use something like:



opusenc --bitrate 192 - "%f"


instead of the ffmpeg command.



This works fine with Audacity 2.1.3 and opusenc 0.1.9.



EDIT



ffmpeg does not support quality settings for opus. Here is part of the output using today's 3.4 git snapshot of ffmpeg when trying something like



ffmpeg -i - -c:a libopus -q:a 7 "%f"


as command:



[libopus @ 0x3f065c0] No bit rate set. Defaulting to 96000 bps.
[libopus @ 0x3f065c0] Quality-based encoding not supported, please specify a bitrate and VBR setting.





share|improve this answer

























  • Oops, not sure where I got scrambled with the quality settings, I have deleted this section. BTW your answer might be better suited as a comment?

    – andrew.46
    Oct 22 '17 at 19:01











  • I tried to post a comment, but it looks like I haven't earned enough reputation to be allowed to comment others entries, so I edited my post...

    – hanky
    Oct 23 '17 at 16:22
















1














There is need for ffmpeg to export opus.
First, install opus-tools with:



sudo apt install opus-tools


Then, one can simply use something like:



opusenc --bitrate 192 - "%f"


instead of the ffmpeg command.



This works fine with Audacity 2.1.3 and opusenc 0.1.9.



EDIT



ffmpeg does not support quality settings for opus. Here is part of the output using today's 3.4 git snapshot of ffmpeg when trying something like



ffmpeg -i - -c:a libopus -q:a 7 "%f"


as command:



[libopus @ 0x3f065c0] No bit rate set. Defaulting to 96000 bps.
[libopus @ 0x3f065c0] Quality-based encoding not supported, please specify a bitrate and VBR setting.





share|improve this answer

























  • Oops, not sure where I got scrambled with the quality settings, I have deleted this section. BTW your answer might be better suited as a comment?

    – andrew.46
    Oct 22 '17 at 19:01











  • I tried to post a comment, but it looks like I haven't earned enough reputation to be allowed to comment others entries, so I edited my post...

    – hanky
    Oct 23 '17 at 16:22














1












1








1







There is need for ffmpeg to export opus.
First, install opus-tools with:



sudo apt install opus-tools


Then, one can simply use something like:



opusenc --bitrate 192 - "%f"


instead of the ffmpeg command.



This works fine with Audacity 2.1.3 and opusenc 0.1.9.



EDIT



ffmpeg does not support quality settings for opus. Here is part of the output using today's 3.4 git snapshot of ffmpeg when trying something like



ffmpeg -i - -c:a libopus -q:a 7 "%f"


as command:



[libopus @ 0x3f065c0] No bit rate set. Defaulting to 96000 bps.
[libopus @ 0x3f065c0] Quality-based encoding not supported, please specify a bitrate and VBR setting.





share|improve this answer















There is need for ffmpeg to export opus.
First, install opus-tools with:



sudo apt install opus-tools


Then, one can simply use something like:



opusenc --bitrate 192 - "%f"


instead of the ffmpeg command.



This works fine with Audacity 2.1.3 and opusenc 0.1.9.



EDIT



ffmpeg does not support quality settings for opus. Here is part of the output using today's 3.4 git snapshot of ffmpeg when trying something like



ffmpeg -i - -c:a libopus -q:a 7 "%f"


as command:



[libopus @ 0x3f065c0] No bit rate set. Defaulting to 96000 bps.
[libopus @ 0x3f065c0] Quality-based encoding not supported, please specify a bitrate and VBR setting.






share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 10 at 21:51









Serge Stroobandt

2,2412034




2,2412034










answered Oct 21 '17 at 17:13









hankyhanky

212




212












  • Oops, not sure where I got scrambled with the quality settings, I have deleted this section. BTW your answer might be better suited as a comment?

    – andrew.46
    Oct 22 '17 at 19:01











  • I tried to post a comment, but it looks like I haven't earned enough reputation to be allowed to comment others entries, so I edited my post...

    – hanky
    Oct 23 '17 at 16:22


















  • Oops, not sure where I got scrambled with the quality settings, I have deleted this section. BTW your answer might be better suited as a comment?

    – andrew.46
    Oct 22 '17 at 19:01











  • I tried to post a comment, but it looks like I haven't earned enough reputation to be allowed to comment others entries, so I edited my post...

    – hanky
    Oct 23 '17 at 16:22

















Oops, not sure where I got scrambled with the quality settings, I have deleted this section. BTW your answer might be better suited as a comment?

– andrew.46
Oct 22 '17 at 19:01





Oops, not sure where I got scrambled with the quality settings, I have deleted this section. BTW your answer might be better suited as a comment?

– andrew.46
Oct 22 '17 at 19:01













I tried to post a comment, but it looks like I haven't earned enough reputation to be allowed to comment others entries, so I edited my post...

– hanky
Oct 23 '17 at 16:22






I tried to post a comment, but it looks like I haven't earned enough reputation to be allowed to comment others entries, so I edited my post...

– hanky
Oct 23 '17 at 16:22


















draft saved

draft discarded
















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f929055%2faudacity-opus-files%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?