Open roachsinai opened 1 year ago
While exporting the audio don't forget to pass bitrate
and audio_codec
, Use this: audio.write_audiofile(sys.argv[2], audio_codec='aac', bitrate='5M')
.
While exporting the audio don't forget to pass
bitrate
andaudio_codec
, Use this:audio.write_audiofile(sys.argv[2], audio_codec='aac', bitrate='5M')
.
Doesn't work either with import mediapipe as mp
.
So why are you inmporting mediaipe as mp
Even there’s no use of it?
So why are you inmporting
mediaipe as mp
Even there’s no use of it?
The code I posted is just to show how to reproduce this issue. I do use mediapipe in my local script.
Code example:
Run:
python ttt.py 123.mp4 1.mp3
Expected Behavior
Extract audio from
123.mp4
and saved as1.mp3
.Actual Behavior
Audio do saved as
1.mp3
but only use 200+ KB, and the file is not playable.What's more no tqdm like bar appear when script runing.
Specifications