Anime4000 / IFME

Powerful x265 GUI Encoder
https://x265.github.io/
GNU General Public License v2.0
239 stars 53 forks source link

Audio channel not saved #180

Closed Ruriko closed 4 years ago

Ruriko commented 5 years ago

When I try to set the audio channel to stereo and I switch to another tab it resets back to auto instead of stereo. Can you fix this?

Anime4000 commented 5 years ago

yes, I can

Ruriko commented 5 years ago

yes, I can

ok let me know when you've updated the program

f2n2is5 commented 5 years ago

When I try to set the audio channel to stereo and I switch to another tab it resets back to auto instead of stereo. Can you fix this?

Hi @Ruriko A work around for this issue is to specify the FFMPEG Audio Channel arguement.

In IFME's Audio Tab, click the file's "Stream" then on the "Codec" section, click on "Advance Encoder options" and add -ac 2 . This overrides IFME's default that the "Encoding Present" defines.

Let me us know if this helps you out.

Add FFMPEG arguement: -ac <# of channels> FFMPEG: https://trac.ffmpeg.org/wiki/AudioChannelManipulation

Ruriko commented 5 years ago

When I try to set the audio channel to stereo and I switch to another tab it resets back to auto instead of stereo. Can you fix this?

Hi @Ruriko A work around for this issue is to specify the FFMPEG Audio Channel arguement.

In IFME's Audio Tab, click the file's "Stream" then on the "Codec" section, click on "Advance Encoder options" and add -ac 2 . This overrides IFME's default that the "Encoding Present" defines.

Let me us know if this helps you out.

Add FFMPEG arguement: -ac <# of channels> FFMPEG: https://trac.ffmpeg.org/wiki/AudioChannelManipulation

It works but the the settings doesn't get saved in a new preset so I can't use it for batch encoding. I'd have to manual input the settings for each video

f2n2is5 commented 5 years ago

@Ruriko I see. If you want it for batch encoding you could try updating the IFME's preset file that you created.

Find your (.JSON) file look for the "Channel" key and enter "2" then save it. Import a folder of media into IFME and then Select All (Ctrl+A). Click on the IFME's Preset drop down and by clicking you trigger a reapply.

(.JSON) Preset Location in Windows: C:\Program Files \Internet Friendly Media Encoder\preset\Your-saved-preset.JSON

Question: Will you batch encoding with multiple audio streams?

Ruriko commented 5 years ago

yes i'll be batch encoding that have multiple audio streams

f2n2is5 commented 5 years ago

@Ruriko Gotcha, let us know if you have success.

I've tested: Importing a (.MKV) file which contained many audio streams into IFME Applying the edited (.JSON) preset

ifme_preset_channel_test01

f2n2is5 commented 5 years ago

yes i'll be batch encoding that have multiple audio streams

@Ruriko I forgot to mention that for the screenshot: I then imported the folder of media into IFME and then Selected All (Ctrl+A) then, I clicked on the IFME's Preset drop down to apply the audio settings.

Anime4000 commented 5 years ago

setting will get apply when cursor leave the control (eg: Drop Down). currently I making a fix, setting get apply when choose, problem I facing other function, how current setting

Ruriko commented 5 years ago

yes i'll be batch encoding that have multiple audio streams

@Ruriko I forgot to mention that for the screenshot: I then imported the folder of media into IFME and then Selected All (Ctrl+A) then, I clicked on the IFME's Preset drop down to apply the audio settings.

yea editing the json works for batch encoding