Guest User

Untitled

a guest
Oct 19th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. # convert an mp3 to pcm with wav header
  2. ffmpeg -i 103_Awakening.mp3 -acodec pcm_s16le output.wav
  3.  
  4. # convert an mp3 to pcm headerless (raw)
  5. ffmpeg -i 103_Awakening.mp3 -f s16le -c:a pcm_s16le output.raw\
  6.  
  7. # trim audio by sample number
  8. ffmpeg -i input -af atrim=start_sample=65614:end_sample=102400 output
Add Comment
Please, Sign In to add comment