Advertisement
Guest User

Untitled

a guest
Sep 16th, 2014
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. import os
  2. os.system('cat p.wav')
  3.  
  4. python first.py | ffmpeg -y -f wav -i pipe:0 -f mp3 - >hi.mp3
  5.  
  6. import sys
  7. with open('p.wav', 'rb') as content_file:
  8. content = content_file.read()
  9. sys.stdout.write(content)
  10.  
  11. python first.py | ffmpeg -y -f wav -i pipe:0 -f mp3 - >hi.mp3
  12.  
  13. pipe:0: Invalid data found when processing input
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement