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

Remove python #3

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

allensuvorov
Copy link

This is work in progress:

  • added 3 functions form David's promts GPT generated code

    • func findFFmpegExecutable() (string, error)
    • func convertMusicFile(filename string, bitRate int) error
    • func parseBitrate(output string) int
  • current status:

    • it works when codec info is removed from the ffmpeg command:
    • however the command codec info works when ffmpeg command called via terminal
    • need to explore further
  • issue - when codec is added to the command these errors are returned:

    • [AVFormatContext @ 0x145f054f0] Unable to choose an output format for '128k'; use a standard extension for the filename or specify the format manually.
    • [out#0 @ 0x600002788240] Error initializing the muxer for 128k: Invalid argument
    • Error opening output file 128k.
    • Error opening output files: Invalid argument

* learn what is ffmpy and mutagen?
* no bitrate check
* no other bells and wistles
* Unable to choose an output format for '128k'; use a standard extension for the filename or specify the format manually.
* how ever the command works with codec when called via terminal
* need to explore further, but commen simplification helped
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.

1 participant