Closed

Write a Python script to send videos to FFMPEG for processing

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)

Skills: Python

See more: write perl script send logs, need help write python script operate telit module, need write python script telit gc864quad module, python script file write telit, python script send email using imap, write script telit device using python script, write simple python script, send imessage python script, shell script send email python gmail, python script send email, write python script, python script write, python script json processing, python script write register, write a python script, how to write python script in linux, how to write python script, write python script for arcgis, how to write python script in robot framework

About the Employer:
( 1 review ) Charlotte, United States

Project ID: #31623252

7 freelancers are bidding on average $86 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
(52 Reviews)
5.2
localroot1

Hi Sir Hope you are doing well. I've good experience in video Decode / Encode & streaming procedure and protocols and have done multiple project based on FFMPEG and GStreamer. also done similar project before for comre More

$200 USD in 1 day
(7 Reviews)
3.9
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
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
(1 Review)
0.1