File length

39 views
Skip to first unread message

Ira R

unread,
Mar 19, 2022, 9:32:09 PM3/19/22
to audiowmark
Hi,

Great project, thank you so much for open sourcing it! 

It looks like output file length is proportional to strength. Curious why?

Thanks,

Ira

Stefan Westerfeld

unread,
Mar 20, 2022, 3:49:19 PM3/20/22
to audio...@googlegroups.com
Hi!

Am 20.03.22 um 02:32 schrieb Ira R:
> Great project, thank you so much for open sourcing it!
>
> It looks like output file length is proportional to strength. Curious why?

No, the strength should not affect the output file length at all. To be
more precise, the output file should have the same number of channels,
number of samples and bit depth, no matter what strength is used. These
should be identical to the input file. The output file format is always
an uncompressed wav file.

Cu... Stefan
--
Stefan Westerfeld, http://space.twc.de/~stefan

Irina R

unread,
Mar 25, 2022, 6:04:33 PM3/25/22
to audiowmark
Oh, sorry, false alarm. The output files are all the same size.

My use case is, I have a 5M .ogg file. The watermarked file is 61M. How do I convert it back to a 5M .ogg file, preferably streaming? Please bear with me, I am new to audo.

Stefan Westerfeld

unread,
Mar 26, 2022, 3:45:00 PM3/26/22
to audio...@googlegroups.com
Hi!

Typically you need to use oggenc after watermarking, either in two steps
like this:

$ audiowmark add in.ogg out.wav f0
$ oggenc -q 8 out.wav

which will write out.ogg with quality 8, or streaming like this

$ audiowmark add in.ogg - f0 | oggenc -q 8 - > out.ogg

Cu... Stefan

Am 25.03.22 um 23:04 schrieb Irina R:
> <http://space.twc.de/~stefan>
>
> --
> You received this message because you are subscribed to the Google
> Groups "audiowmark" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to audiowmark+...@googlegroups.com
> <mailto:audiowmark+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/audiowmark/967afcb5-69c4-450d-87d2-b90c40af10cbn%40googlegroups.com
> <https://groups.google.com/d/msgid/audiowmark/967afcb5-69c4-450d-87d2-b90c40af10cbn%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages