Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally store audio without container; Unlock audio formats wav and wavpack #15

Merged
merged 2 commits into from
Jul 24, 2021

Conversation

MKO1640
Copy link
Contributor

@MKO1640 MKO1640 commented Jul 22, 2021

This patch will make it possible to store audio without putting it into any container. At the same time, it will unlock choosing the audio format from either "flac" (default), "wav" or "wavpack".

The patch supersedes #14.

@codecov
Copy link

codecov bot commented Jul 22, 2021

Codecov Report

Merging #15 (fbe8928) into main (686aac2) will decrease coverage by 0.93%.
The diff coverage is 28.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   35.57%   34.63%   -0.94%     
==========================================
  Files           7        7              
  Lines         357      384      +27     
==========================================
+ Hits          127      133       +6     
- Misses        230      251      +21     
Flag Coverage Δ
unittests 34.63% <28.12%> (-0.94%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
saraswati/cli.py 0.00% <0.00%> (ø)
saraswati/recorder.py 43.02% <27.58%> (-3.60%) ⬇️
saraswati/model.py 96.55% <100.00%> (+0.12%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 686aac2...fbe8928. Read the comment docs.

@amotl amotl changed the title add non container formats flac wavpack and wav. Optionally store audio without container; Unlock audio formats wav and wavpack Jul 22, 2021
Copy link
Member

@amotl amotl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Michael,

thanks a stack for this excellent contribution. I just added some minor comments about "naming things". Thank you in advance for addressing them.

With kind regards,
Andreas.

saraswati/cli.py Outdated Show resolved Hide resolved
saraswati/recorder.py Outdated Show resolved Hide resolved
saraswati/setup/systemd/saraswati.default Outdated Show resolved Hide resolved
saraswati/cli.py Outdated Show resolved Hide resolved
saraswati/cli.py Outdated Show resolved Hide resolved
saraswati/model.py Outdated Show resolved Hide resolved
@MKO1640 MKO1640 requested a review from amotl July 22, 2021 22:53
@MKO1640
Copy link
Contributor Author

MKO1640 commented Jul 22, 2021

Madness your speed borders on magic.
I'm just busy with something else but will then check it out extensively.
With kind regards,
Michael.

@MKO1640
Copy link
Contributor Author

MKO1640 commented Jul 23, 2021

Quick test with all format options:
wav = checked
flac = checked
wavpack = checked
flac+ogg = checked
waw+ogg = checked
flac+mka = checked
waw+mka = checked
wavpack+ogg = broken - gst_parse_error: Delayed linking failed. (7) (./grammar.y(506): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstWavpackEnc:wavpackenc0
wavpac+mka = broken - failed delayed linking some pad of GstWavpackEnc named wavpackenc0 to pad audio_%u of GstSplitMuxSink named muxer

Status : I go back to the drawing board

@amotl
Copy link
Member

amotl commented Jul 23, 2021 via email

@MKO1640
Copy link
Contributor Author

MKO1640 commented Jul 23, 2021

Okay, thats a pity. Despite an intensive search, I have also not found a solution.
I learned a lot about gstreamer while searching for myself, which is also good.
Do I still have to do something on my side?
I've added a few forgotten commits.

best regards
Michael

@amotl
Copy link
Member

amotl commented Jul 23, 2021 via email

- Add capability for storing audio without putting it into container
- Add audio formats "wav" and "WavPack"
@amotl amotl merged commit aecf8f2 into hiveeyes:main Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants