Write a Python script to send videos to FFMPEG for processing

Closed Posted 2 years ago Paid on delivery
Closed Paid on delivery

I need a script written in Python which will serve to look for video files saved to the designated location and send them to FFMPEG for video downscaling. It will continuously run in the background and will scan a designated location for video files, determine the resolution/FPS of the video, and if they meet or exceed a certain parameter, need to downscale the videos to a suitable format. FFMPEG should be used for all actual downscaling activity, the script just needs to keep track of determining which files need to be sent to FFMPEG and when.

Here are my specific requirements:

- Must be written in Python

- Must support FFMPEG for all downscaling activity

- Must be able to be configured to continuously run in background. In configuration it can check for videos every X number of minutes.

- The script must check the file to make sure another program is not writing to it. If the file is in use then need to skip the video.

- User must be able to specify the parameters (a config file would be ideal) - minimum FPS to qualify for downscaling, minimum resolution to qualify for downscaling, target downscale resolution/FPS/format. Actual conversion parameters can be specified using standard FFMPEG arguments that the user can edit either directly in the script or in the config file. Pre-configured should be H.264 video format, 1080p @ 30fps.

- The script should keep track of the filenames of videos that have been successfully converted, so that it does not keep converting the same videos over and over. This will also mean the script needs to know whether FFMPEG was able to successfully convert the video. If a video is failed by FFMPEG after X number of retries, then the script should keep a log somewhere and not attempt to re-convert the video.

- The script should support writing downscaled videos to the same location as source (using a prefix or suffix on the file name) or to a different location (with optional prefix/suffix) depending on user preference.

- Must be able to run on either Windows or Linux. For example if I run the script on a Windows machine it should support Windows paths, or Linux machine must support Linux paths. (It is OK if the paths need to be modified/written in a certain way by user, as long as instructions are provided)

Python

Project ID: #31623252

About the project

6 proposals Remote project Active 2 years ago

6 freelancers are bidding on average $67 for this job

kaloyan13

I know Python, and can provide the srcipt will all of the features you need. You will ahve to install FFMPEG on your own. Script will just use a path to ffmpeg binary.

$80 USD in 1 day
(55 Reviews)
5.3
ColorGradingPL

Hello, Dear Client! I'm a Python expert with over several years and very familiar with FFMPEG. I just read your post carefully and understood your requirements fully. Please ping me and discuss in detail via chat. Than More

$100 USD in 2 days
(5 Reviews)
3.8
nolk

Hi there, I have 10+ years of python programming, also worked with python to ffmpeg bindings. I know how to develop the tool you need and will be happy to help with it. regards,

$80 USD in 7 days
(4 Reviews)
3.1
wyoncholyang0126

Good day! I have read your description carefully and understood it. I can do it well. Thanks.

$100 USD in 1 day
(2 Reviews)
0.9
ankitak7317

I know that you are looking for deserving candidates for this role . I think I am the best fit for this role since I am an excellent multitasker. I have all the skills and qualifications listed in the job description, More

$20 USD in 7 days
(0 Reviews)
0.0
andrewdai11191

Hello Thanks for your job posting I read your job description carefully I am an Python expert I have a lots of experience in this field If you work with me, you will get best good results Please give me your detail I w More

$20 USD in 1 day
(0 Reviews)
0.0