Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

combine picture and audio python

cmd = 'ffmpeg -loop 1 -i image.jpg -i message.mp3 -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest out.mp4'
subprocess.check_output(cmd, shell=True) 
subprocess.call(cmd, shell=True)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #combine #picture #audio #python
ADD COMMENT
Topic
Name
6+6 =