Search
 
SCRIPT & CODE EXAMPLE
 

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)
Comment

PREVIOUS NEXT
Code Example
Python :: dict comprehensions 
Python :: assert with message python 
Python :: drop the first 10 values of list python 
Python :: python string upper method 
Python :: how to get csv file first row first column value in python 
Python :: python for in range 
Python :: how to know the version of python 
Python :: check if a word is a noun python 
Python :: python list append 
Python :: Pass arguments in button tkinter 
Python :: how to take n space separated input in python” Code Answer’s 
Python :: application automation python library 
Python :: python basics flask project 
Python :: local time in python 
Python :: database with python 
Python :: Reverse an string Using Loop in Python 
Python :: adding numbers with numbers. python 
Python :: python first 
Python :: xlrd documentation 
Python :: elbow plot for k means clustering 
Python :: list remove method in python 
Python :: Removing Elements from Python Dictionary Using clear() method 
Python :: selecting rows with specific values in pandas 
Python :: Python operator to use for set union 
Python :: set remove in python 
Python :: python get all combinations of n numbers 
Python :: re.sub 
Python :: how to perform in_order traversal of a binary tree 
Python :: loop through files in a directory python 
Python :: Label enconding code with sklearn 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =