-
Notifications
You must be signed in to change notification settings - Fork 160
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
Options "--add-subtitle" and "--main-audio" does not seem to work. #350
Comments
@muhrizali Do the |
@lisamelton No, the options does not seem to have any effect even in the case of single inputs. In case it would be helpful, I have found the section in the log file that I think represents the "job configuration" for the encoding task: There are no subtitle tracks added.
|
Just now, I have tried the same command with a different video file wondering if the issue was present in the original ".mkv" file but the outputs in the log file were identical. The commands have no effect there too. |
Man, you are certainly taking your sweet time. |
@muhrizali My apologies for taking so long to respond. Life sometimes gets in the way. Thank you for the extra information. But I honestly have no idea why this is happening. I can't reproduce this so I suspect something in your inputs is unexpected by my script. I just don't see what that might be based on the scan you provided. This is why I'm in the process of re-writing Again, I'm sorry I can't help you solve this problem now. |
I have done my own little research and found out that the problem is in the version of HandBrakeCLI. The problem arises with the release of version 1.7.x. Though I couldn't be able to test myself, I have read somewhere that previous version series 1.6.x was working fine. |
Confirming that HandbrakeCLI 1.7.x ignored any flags passed in by I downgraded to HandbrakeCLI 1.6.1 and confirmed that I’m on MacOS and typically would use homebrew for installing handbrake, but only the latest version is available, so I manually downloaded it from handbrake.fr. |
I wanted to downgraded to version 1.6.X on my ubuntu Linux but it is a real PITA to build it from the source. Tried it many times with no success. |
Hello, @lisamelton
I have been using your tools for long time now (really love them by the way!). I have encoded thousands of mainly Japanese anime video ".mkv" files and have never encountered this issue. Yesterday, I got a new TV show and decided to use these tools on them to add to my collection.
I was using the following command:
transcode-video --no-auto-burn --add-subtitle all --main-audio jpn ./input/* -o output/
All the video files in the input folder are consistent, meaning they all have similar subtitle and audio tracks.
But the output transcoded files does not seem to follow the instructions. There are no subtitles added in the output but JPN audio track was added.
But later, when I tested the audio track, changing it to
--main-audio eng
, that does not seem to work too, as there was no ENG track in the output file, JPN audio track added again.I have even scanned the first file from input folder:
I am sure I am missing something here, but I am not sure what. I really appreciate if you could guide me a little. I know that the tool is not meant to be used for multiple files, but I have used the batch-transcode-video script at https://github.com/nwronski/batch-transcode-video from @nwronski and it is giving me the same results.
The text was updated successfully, but these errors were encountered: