Tutorial Dubbing Video Otomatis! Bisa Bahasa Jawa! (Tutorial Python Pemula)
ฝัง
- เผยแพร่เมื่อ 18 ต.ค. 2024
- Kali ini kita akan dijelaskan tutorial dubbing video otomatis, bisa bahasa jawa lagi! Salah satu tutorial python pemula ini cocok banget buat temen-temen yang ingin membuat aplikasi python sederhana, jadi bisa belajar sekaligus bikin aplikasi! Semoga bermanfaat yaa!
Buat yang pengen liat python projects lainnya bisa cek disini yaa:
/ @ngodein
-----------------------------------------------------------------------------------------------------------
The example video used for this Auto Dubbing Tutorial is a Creative Commons license video, which means by TH-cam terms, granting the entire TH-cam community the right to reuse and edit that video.
bang, izin nanya, apakah kode saya sudah benar?
import pydub
import speech_recognition as sr
import googletrans as gt
from gtts import gTTS as tts
myaudio = pydub.AudioSegment.from_wav("ajar.wav")
jedawaktu = pydub.silent.detect_nonsilent(myaudio, min_silence_len=200, silence_tresh=-75)
jedawaktu = [(int(start/1000),int(stop/1000)) for start, stop in jedawaktu]
print(jedawaktu)
waktu saya run ada tulisan seperti ini mas
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
in
----> 1 myaudio = pydub.AudioSegment.from_wav("ajar.wav")
2 jedawaktu = pydub.silent.detect_nonsilent(myaudio, min_silence_len=500, silence_tresh=-50)
3 jedawaktu = [(int(start/1000),int(stop/1000)) for start, stop in jedawaktu]
4 print(jedawaktu)
C:\Users\HP\Downloads\WPy64-3771\python-3.7.7.amd64\lib\site-packages\pydub\audio_segment.py in from_wav(cls, file, parameters)
748 @classmethod
749 def from_wav(cls, file, parameters=None):
--> 750 return cls.from_file(file, 'wav', parameters=parameters)
751
752 @classmethod
C:\Users\HP\Downloads\WPy64-3771\python-3.7.7.amd64\lib\site-packages\pydub\audio_segment.py in from_file(cls, file, format, codec, parameters, **kwargs)
683 info = None
684 else:
--> 685 info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
686 if info:
687 audio_streams = [x for x in info['streams']
C:\Users\HP\Downloads\WPy64-3771\python-3.7.7.amd64\lib\site-packages\pydub\utils.py in mediainfo_json(filepath, read_ahead_limit)
272
273 command = [prober, '-of', 'json'] + command_args
--> 274 res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
275 output, stderr = res.communicate(input=stdin_data)
276 output = output.decode("utf-8", 'ignore')
C:\Users\HP\Downloads\WPy64-3771\python-3.7.7.amd64\lib\subprocess.py in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text)
798 c2pread, c2pwrite,
799 errread, errwrite,
--> 800 restore_signals, start_new_session)
801 except:
802 # Cleanup if the child failed starting.
C:\Users\HP\Downloads\WPy64-3771\python-3.7.7.amd64\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session)
1205 env,
1206 os.fspath(cwd) if cwd is not None else None,
-> 1207 startupinfo)
1208 finally:
1209 # Child is launched. Close the parent's copy of those pipe
FileNotFoundError: [WinError 2] The system cannot find the file specified
mohon bantuannya ya bang🙏🙏🙏
itu berarti filenya ga ketemu bang, coba pake full path, contoh C:\Users\Syamil\Desktop\ajar.wav
Bang dibagian trns = translator.translate(text=t, dest='id') error terus kenapa ya? Mohon bantuan ya Bang....Terima kasih
Bang,,bisa kh bikin aplikasi pengisi suara ?? Dari text ke suara .
Kalau di hp gimna bang
bang, mau tanya nih aku udah nyobain tapi error terus pas ngetranslate nya, bagaimana ya?:(
mau nanya, dibagian trns = translator.translate(text=t, dest='id') error terus kenapa ya?
sama nih kamu udah solve belum?
wah iya sama nih error nya, tolongin bang @ngodein
@@mohammadzaidanzufar3617 satu kampus? Aku gapake translator jadinya, pake di dubbing aja
@@farahnurkamilia7834 bukan maksudnya aku komen buat yang komen satunya
gimna nambah subscriber dengan phyton bang
Ini pake algoritma apa bang
bisa nggak ke bahasa korea bang?
Wkwkwkwk the rock jawa
wkwk jadi inget jaman fluxcup
Halo bang, buat tutorial cara ngirim email pake yagmail donk bang
bisaa, tp ngantri yaa, banyak requestan lain hehe
@@ngodein oke bang di tunggu hehe
Bang ada aplikasi nya bagi ding