Code Monkey home page Code Monkey logo

ffcuesplitter's People

Contributors

alecchangod avatar jeanslack avatar tsweet64 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ffcuesplitter's Issues

Metadata in opus copy mode issues due to multiple streams.

I'm batch splitting a bunch of opus/cue files with your tool in copy mode as they are quite large. The source files have the metadata written to "Stream #0:0:" instead of Output #0. The Stream #0:0: metadata takes priority in most applications for display from what I've seen, which hides important metadata such as the title. I'm only doing this once, so I'm just doing some sed replacements to the --dry run output, replacing the ffmpeg -metadata with -metadata:s:a:0 as a quick fix, but it seemed worth reporting.

Regardless, TY for the great tool! Saved me hours!

"No audio files found" for a valid cue

Getting an FFCueSplitterError with the following code:

split = FileSystemOperations(
    filename = absolute_cue_path
    outputformat = "opus",
    overwrite = "always",
    outputdir = absolute_album_path,
    ffmpeg_add_params = "-b:a 192k -metadata filename=folder.jpg",
    )
split.work_on_temporary_directory()
WARNING:root:Not found: `(01) [Dear, friends] Opening-.flac`. Track is skipped.
WARNING:root:Not found: `(02) [Dear, friends] Phamtom.flac`. Track is skipped.
WARNING:root:Not found: `(03) [Dear, friends] VSレミリア in Last Word.flac`. Track is skipped.
WARNING:root:Not found: `(04) [Dear, friends] Ending.flac`. Track is skipped.
Traceback (most recent call last):
    ...
    split = FileSystemOperations(
            ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\site-packages\ffcuesplitter\cuesplitter.py", line 156, in __init__
    self.open_cuefile()  # requires to open cue file first
    ^^^^^^^^^^^^^^^^^^^
  File "C:\Python311\Lib\site-packages\ffcuesplitter\cuesplitter.py", line 327, in open_cuefile
    self.deflacue_object_handler()
  File "C:\Python311\Lib\site-packages\ffcuesplitter\cuesplitter.py", line 246, in deflacue_object_handler
    raise FFCueSplitterError('No audio files found!')

I've tested it with other albums and it works flawlessly otherwise. It's just this one that gives trouble. The cue plays correctly when using mpv, so I don't believe it's an issue with the files. I've uploaded the relevant files here for replication.

local var referenced before assignment error?

Traceback (most recent call last):
File "/opt/homebrew/lib/python3.10/site-packages/ffcuesplitter/main.py", line 215, in
main()
File "/opt/homebrew/lib/python3.10/site-packages/ffcuesplitter/main.py", line 197, in main
split.open_cuefile()
File "/opt/homebrew/lib/python3.10/site-packages/ffcuesplitter/cuesplitter.py", line 407, in open_cuefile
self.deflacue_object_handler()
File "/opt/homebrew/lib/python3.10/site-packages/ffcuesplitter/cuesplitter.py", line 329, in deflacue_object_handler
filename = (f"{sanitize(track[1].title)}") # title names sanitize
File "/opt/homebrew/lib/python3.10/site-packages/ffcuesplitter/utils.py", line 52, in sanitize
newstr.replace('/', '')
UnboundLocalError: local variable 'newstr' referenced before assignment

How to encode to 320k

Hello

Love this and working great except defaults to 128 VBR

How do I do 320k convert to mp3. I tried

ffcuesplitter -f mp3 -i example.cue --ffmpeg_add_params '-ab 320k'
and got the error:

unrecognized arguments: --ffmpeg_add_params -ab 320k: --ffmpeg_add_params -ab 320k

Pardon my ignorance and thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.