Re: Change 48 khz sample rate limit
David Willmore <[email protected]> Wed, 22 Feb 2023 17:51:51 -0500
| Newsgroups | gmane.comp.multimedia.ogg.vorbis.devel |
|---|---|
| Message-ID | <CA+s+PWQTaekDv3YnSD7aGYbkmiof0ePoRd8gQ5KKFze7R-gRmA@mail.gmail.com> |
--===============3203534990373516955== Content-Type: multipart/alternative; boundary="00000000000097c36b05f551beb2" --00000000000097c36b05f551beb2 Content-Type: text/plain; charset="UTF-8" Mr. Vella brings up a good point. Both Vorbis and Opus are human perceptual codecs, so they may destroy parts of your signal that they deem not important to human perception. If you're looking to compress an arbitrary waveform for storage, you may want to consider FLAC--which will give you back a bit-exact version of your original signal, but may not compress as well. On Wed, Feb 22, 2023 at 2:49 PM Lucas Clemente Vella <[email protected]> wrote: > You asked in the Vorbis list, but your text only mentions OGG. The > codec commonly used in OGG containers that is limited to 48 khz is > Opus. Maybe you are trying to use the wrong codec (i.e. Opus instead > of Vorbis)? > > Using a 44.1 khz wav file, I was able to encode a 192 khz ogg-vorbis > file with the following command: > $ oggenc --resample 192000 input.wav > > Of course, if your original material is already at 192 khz, there > should be no need for resampling. > > BTW, a 192 khz signal may be audio, but certainly not human audio. Is > that one of those songs for cats or dogs? > > -- > Lucas Clemente Vella > [email protected] > _______________________________________________ > Vorbis-dev mailing list > [email protected] > http://lists.xiph.org/mailman/listinfo/vorbis-dev > --00000000000097c36b05f551beb2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Mr. Vella brings up a good point.=C2=A0 Both Vorbis and Op= us are human perceptual codecs, so they may destroy parts of your signal th= at they deem not important to human perception.=C2=A0 If you're looking= to compress an arbitrary waveform for storage, you may want to consider FL= AC--which will give you back a bit-exact version of your original signal, b= ut may not compress as well.<br></div><br><div class=3D"gmail_quote"><div d= ir=3D"ltr" class=3D"gmail_attr">On Wed, Feb 22, 2023 at 2:49 PM Lucas Cleme= nte Vella <<a href=3D"mailto:[email protected]">[email protected]</a>> = wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0= px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You asked= in the Vorbis list, but your text only mentions OGG. The<br> codec commonly used in OGG containers that is limited to 48 khz is<br> Opus. Maybe you are trying to use the wrong codec (i.e. Opus instead<br> of Vorbis)?<br> <br> Using a 44.1 khz wav file, I was able to encode a 192 khz ogg-vorbis<br> file with the following command:<br> $ oggenc --resample 192000 input.wav<br> <br> Of course, if your original material is already at 192 khz, there<br> should be no need for resampling.<br> <br> BTW, a 192 khz signal may be audio, but certainly not human audio. Is<br> that one of those songs for cats or dogs?<br> <br> -- <br> Lucas Clemente Vella<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a><= br> _______________________________________________<br> Vorbis-dev mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= g</a><br> <a href=3D"http://lists.xiph.org/mailman/listinfo/vorbis-dev" rel=3D"norefe= rrer" target=3D"_blank">http://lists.xiph.org/mailman/listinfo/vorbis-dev</= a><br> </blockquote></div> --00000000000097c36b05f551beb2-- --===============3203534990373516955== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Vorbis-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/vorbis-dev --===============3203534990373516955==--