Here is the error: Traceback (most recent call last):įile "C:\Users\Matthew\Documents\Python\TrackerMaker\tracker0.3.py", line 71, in įile "C:\Users\Matthew\Documents\Python\TrackerMaker\tracker0.3.py", line 24, in buildRowDictįfmpeg_streams = ffmpeg. i am so frustrated lolįile_folder = input('Copy and Paste folder:')įile_path = os.path.join(file_folder, file)įfmpeg_streams = ffmpeg.probe(file_path)įrame_rate = (ffmpeg_streams).split('/')Ĭodec = str(ffmpeg_streams) ' ' str(ffmpeg_streams)ĭimensions = str(ffmpeg_streams) 'x' str(ffmpeg_streams)Ĭolor_space = ffmpeg_streams i did install ffmpeg, and used pip3 to get the libraries and made sure the directories were in my environment variables. Weird thing is, i got this to work on windows 11 but not windows 10. Get Started Make sure you have ffmpeg installed on your pc. All the full source code of the application is shown below. FFmpeg is supposed to be pulling the info from the files however its giving me an error. Welcome folks today in this blog post we will be cropping or cutting video based on timestamp using ffmpeg library in python. I am attempting to build a dictionary from a group of video files.
0 Comments
Leave a Reply. |