Home Forums BreakawayOne Custom Encoder CLI Examples

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #16926
    timmywa
    Participant

    Hi! I would love to switch all audio from 44,100 to 48,000. I made all the config changes and was hoping that the build-in streaming encoders would also switch to 48khz, but they remain at 44.1khz. I know you can add custom stream encoders and use command lines to do so, but I don’t know how to do that in breakawayOne’s encoder module. I did some googling but couldn’t find a way to do it.. I currently want a 128kb/s MP3 stream and a 64 kb/s HE-AAC stream. Is there some documentation on how to build the command line entries? Thanks.

    #16927
    MrKlorox
    Participant

    Hi. I never figured out how to get HE-AAC to work in the custom encoder, but I got LAME working. Here’s mine:

    encoder:lame.exe -r -s %samplerate% -b %bitrate% -x – –
    Mime Type:audio/mpeg
    Bit Rate: 320
    Sample Rate: 48000

    #16928
    timmywa
    Participant

    When I use that command-line (it’s there by default), it fails to enable. It’d be great if the program was setup to automatically shift the codecs to the appropriate sample rates… This obviously isn’t a huge issue as moving form 44.1 to 48 is not a major game changer. But a lot of audio in radio is moving to 48k/24-bit.

    #16929
    timmywa
    Participant

    I added the Lame.exe to the breakawayone folder and now the custom encoder enables but all i hear is white. noise… so odd

    #16930
    timmywa
    Participant

    I removed the -x switch in the command line and it worked! Found this bit:

    -x

    swap bytes in the input file (and output file when using –decode).
    For sorting out little endian/big endian type problems. If your encodings
    sound like static, try this first.

    #16931
    timmywa
    Participant

    Ah, found another issue with custom encoders… It doesn’t push out or pick up metadata. Hmmm

    #16986
    MrKlorox
    Participant

    Here’s an example from a video Leif recently uploaded. Perhaps this will aid somebody.

    ENCODER: enc_aacplus.exe – – –silent –he –br $bitrate%000 –rawpcm %samplerate% 2 16

    MIME TYPE: audio/aacp

    BIT RATE: 64

    note: That’s two single dashes before –silent. And that’s a double dash next to –s-ilent, –he, –br, and –rawpcm… the forum software reduces them to single dashes.

    #16997
    Milky
    Keymaster

    To help explain the rather unusual syntax of the command line, I have snipped an image from the video, so that you can see it graphically.

    Click the link to view.
    https://ceaforum.net/wp-content/uploads/2023/02/Screenshot-2023-03-01-084520-1.jpg

    • This reply was modified 1 year, 2 months ago by Milky.
    #16998
    timmywa
    Participant

    Is this to enable song title meta data? or what are we showing here?

    #17000
    MrKlorox
    Participant

    Oh, sorry. I haven’t tried it myself, but you were initially looking for 48khz 64kbps HE-AAC streaming using the custom settings. I don’t know if this enables Metadata.

    #17001
    timmywa
    Participant

    All good, I appreciate it! It doesn’t do Metadata. I was fiddling with it, though. And it worked otherwise. Thanks!

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.