Nubuki-all / Enc

A bot among many others to encode and upload videos to telegram.
GNU General Public License v3.0
27 stars 73 forks source link

Add video+audio merge feature #22

Closed mksbil closed 1 month ago

Nubuki-all commented 2 months ago

Kindly provide additional information on the feature.

mksbil commented 2 months ago

✶ Merger 1 : In this Function, All existing audio track will be replaced. And will be added your sent Audio (Single Audio).

✶ Merger 2 : In this Function, Your sent Audio track will be Merged, WITHOUT Replacing Existing Audio Tracks and Subtitles (Multi Audio & Subtitles)

✶ Click the Button of your choice

Add like this bro

Nubuki-all commented 1 month ago

You can already do this with /mux command Simply reply to the video with /mux along with the ffmpeg parameters to replace or add the audio without the "ffmpeg" preceding it (like you set in the FFMPEG) variable and depending on where the audio is;

Do /mux --help for more uses

mksbil commented 1 month ago

Send sample command

Nubuki-all commented 1 month ago

Sure why not?

/mux -map 0:v -map 0:a -map 0:s -map 0:t -map 1:a -codec copy
-i https://t.me/c/0123456789/1234

To merge an audio of tg link with the replied video while keeping the original audio too

mksbil commented 1 month ago

Thanks bro it's working

Nubuki-all commented 1 month ago

Okay, I'm closing now Feel free to re-open if you still have any queries.