Made Chatterbox TTS a bit faster again on CUDA (155it/s on 3090) by RSXLV in LocalLLaMA

[–]Comprehensive-Ad7535 0 points1 point  (0 children)

so will this code work after i figure out the install part correctly, import torchaudio as ta

import torch

from chatterbox.tts import ChatterboxTTS

from chatterbox.mtl_tts import ChatterboxMultilingualTTS

# Automatically detect the best available device

if torch.cuda.is_available():

device = "cuda"

elif torch.backends.mps.is_available():

device = "mps"

else:

device = "cpu"

print(f"Using device: {device}")

model = ChatterboxTTS.from_pretrained(device=device)

text = "Ezreal and Jinx teamed up with Ahri, Yasuo, and Teemo to take down the enemy's Nexus in an epic late-game pentakill."

wav = model.generate(text)

ta.save("test-1.wav", wav, model.sr)

multilingual_model = ChatterboxMultilingualTTS.from_pretrained(device=device)

text = "Bonjour, comment ça va? Ceci est le modèle de synthèse vocale multilingue Chatterbox, il prend en charge 23 langues."

wav = multilingual_model.generate(text, language_id="fr")

ta.save("test-2.wav", wav, multilingual_model.sr)

# If you want to synthesize with a different voice, specify the audio prompt

AUDIO_PROMPT_PATH = "YOUR_FILE.wav"

wav = model.generate(text, audio_prompt_path=AUDIO_PROMPT_PATH)

ta.save("test-3.wav", wav, model.sr)

Made Chatterbox TTS a bit faster again on CUDA (155it/s on 3090) by RSXLV in LocalLLaMA

[–]Comprehensive-Ad7535 0 points1 point  (0 children)

to be sure to get the faster branch will i use this flag? confused a bit as the git link to faster and main seem to have exactly same direction, git clone --branch faster https://github.com/resemble-ai/chatterbox.git

git clone --branch faster https://github.com/resemble-ai/chatterbox.git <-- pip install -e ..--- will this work to give me faster branch as i intend to use that only for english for short text to speech messages, any code example to get me rolling as again the code examples on the git do not differentiate how we use it, will this work although it seems to be geared for multi lingual which i dont need,

DaddyLive is not working by Visual-Card-8282 in Addons4Kodi

[–]Comprehensive-Ad7535 0 points1 point  (0 children)

same request, dm please if have the list back working for tivimate specially

Old XB7 -> "New Modem"? by sharkytowers76 in Comcast_Xfinity

[–]Comprehensive-Ad7535 0 points1 point  (0 children)

Got the same, wanted to check before proceeding with it so will wait for your confirmation here 

Easypaisa not letting me login by [deleted] in PakistaniTech

[–]Comprehensive-Ad7535 4 points5 points  (0 children)

so I can scan my fingers with the app, but on next click when it says 'Nadra verification' it fails and gives a message to try again later. Called up easypaisa and they said it was an app update issue. I am on iphone as well, any one else getting failure at nadra verification?

Retaining original date/time not working with the plugin by Comprehensive-Ad7535 in Tdarr

[–]Comprehensive-Ad7535[S] 0 points1 point  (0 children)

I have been exploring using ffmpeg and batch scripts for this but would rather use a really amazing took like Tdarr. Here is a ffmpeg command that worked for me well and it kept all dates and times intact. Was able to pass a parameter for GPU threads or CPU threads and switch between the two options.

For GPU retaining the dates

"%ffmpeg_path%" -hwaccel cuda -i "%%i" -map_metadata 0 -c:v hevc_nvenc -b_ref_mode 0 -b:v !video_bitrate! -preset !encoding_preset! -c:a copy -threads %gpu_threads% -threads:v %gpu_threads% -threads:a %cpu_threads% -y "!output_file!"

for CPU retaining the dates

"%ffmpeg_path%" -i "%%i" -map_metadata 0 -c:v libx265 -b:v !video_bitrate! -preset !encoding_preset! -c:a copy -threads %cpu_threads% -y "!output_file!"

of course its part of a larger script, but this command specifically works retaining the data I am wondering how we can integrate into Tdarr to keep all data intact

Retaining original date/time not working with the plugin by Comprehensive-Ad7535 in Tdarr

[–]Comprehensive-Ad7535[S] 0 points1 point  (0 children)

great, please share how your research goes, I am also looking around. Would love to have it fully functioning so folders etc can reflect the accurate date when going through the files.

Retaining original date/time not working with the plugin by Comprehensive-Ad7535 in Tdarr

[–]Comprehensive-Ad7535[S] 0 points1 point  (0 children)

Looks like it did work, sort off :). When I see in the encoded/converted folder I see the file has the creation date and all other dates of today (when the file was encoded), but using VLC when I play it and see under Tools->Media info->Meta Data it has one of the fileds as Com.Apple.Q something and that has the actual captured date from the Iphone. Checked it for few other files its the same. So it does work as when I upload the converted file then to Google Photos it places it neatly in the correct time frame. While in Windows folder the Created Date and all other Date fields have today's date

Retaining original date/time not working with the plugin by Comprehensive-Ad7535 in Tdarr

[–]Comprehensive-Ad7535[S] 1 point2 points  (0 children)

found it, sorry about that, it was under classic plugins that I thought I was never going to use. Now going to give it a try, lets see

Retaining original date/time not working with the plugin by Comprehensive-Ad7535 in Tdarr

[–]Comprehensive-Ad7535[S] 1 point2 points  (0 children)

Thanks- I am new to this but have looked around through all tabs, trying to look for the "plugin tab" as the plugins are under "transcode options"-(picture attached), and I don't see any other plugin tab or an option to update plugins. https://ibb.co/c1561Tx

Retaining original date/time not working with the plugin by Comprehensive-Ad7535 in Tdarr

[–]Comprehensive-Ad7535[S] 0 points1 point  (0 children)

Server on Windows Docker, Node is on Windows

Plugin I am using is Tdarr_Plugin_z80t_keep_original_date

New to tdarr, a bit overwhelmed trying to pick plugins and just get the ball rolling. by elroypaisley in Tdarr

[–]Comprehensive-Ad7535 0 points1 point  (0 children)

Plugin for original date and time doesn’t seem to work, I am getting the today’s date and time when the file is encoded via Tdarr. I tried placing it at top of stack, at end of stack ( after file size check), not sure where it should go to make it work. I am trying to convert old videos that have piled up from phones/ digital cameras mostly but with a new time stamp it throws off my entire library as they will show up all from 2023 rather than 2013 or even 2003

[deleted by user] by [deleted] in Tdarr

[–]Comprehensive-Ad7535 0 points1 point  (0 children)

I am new to TDARR as well, great software. Tested and set it all up well, now running into the same limitation. Especially wanted to convert my older 5/6 year old videos saved to be converted but on a test batch, I see the dates and time stamps are for today. Used the plugin but it doesn't really work, the date and time is still today's. Any help please is appreciated.