Copy:* no longer works since 1.0

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
denarced
Posts: 3
Joined: Sat Jan 14, 2017 6:41 am

Copy:* no longer works since 1.0

Post by denarced »

I've used "copy:*" for audio encoder for a while but after 1.0 update it no longer works. There's an error message something to the tune "invalid encoder". I switched to plain "copy". It works. Hopefully it even does the same thing.

I'm using Ubuntu 16.04 64bit with the ppa.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Copy:* no longer works since 1.0

Post by rollin_eng »

Could you please post your logs, instructions can be found here:

viewtopic.php?f=6&t=31236
denarced
Posts: 3
Joined: Sat Jan 14, 2017 6:41 am

Re: Copy:* no longer works since 1.0

Post by denarced »

Just to be clear my original post was more of an FYI because I don't have a problem anymore. I can grab them if you'd like to take a look. Should I?
denarced
Posts: 3
Joined: Sat Jan 14, 2017 6:41 am

Re: Copy:* no longer works since 1.0

Post by denarced »

Here's the activity log: http://pastebin.com/tpeF7EE6. I have changed file names and the title.
Here's the command that led to it:

Code: Select all

HandBrakeCLI \
    -i in.mkv \
    -o out.mkv \
    -e x264 \
    -b 2500 \
    -m \
    -v \
    --two-pass \
    --turbo \
    --vfr \
    --aencoder 'copy:*' \
    -s "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25"
As previously stated, changing "--aencoder 'copy:*'" to "--aencoder 'copy'" gets rid of the error. Please let me know if there's a difference between them. My goal is to leave the audio as it is, to merely pass it through.
Deleted User 11865

Re: Copy:* no longer works since 1.0

Post by Deleted User 11865 »

Not sure why 'copy:*' ever worked for you, but it was never meant to. The correct encoder is 'copy', and you set which codecs can be passed through via --audio-copy-mask (I believe all supported passthru codecs are enabled by default).
Post Reply