Write a program to create video files based on simple instructions

Job ID: 33869589

Budget: $30 – $250 USD

We are looking for someone to write a program to create video files using simple instructions in an instruction file (a text file).

This program will have NO user interface. This program will run from the command line, C:\makevideo.exe <instruction-file.txt>.

Here are the instructions you will need to program:

output_file=c:\videos\123.mp4 (name of the video file to create, with path)
video_format=mp4 (video format to create, mp4 is the default)
video_width=1028 (video width)
video_height=772 (video height)

The section instructions are used to describe a section of the video.
A section means something displayed on the screen for a period of time.

section_start
section_text=This is a sentence<br>this is line two (if <br> is in the text, the text continues on the next line)
section_text_alignment=center (left, right, center=default)

section_text_voice=female (female or male voice reads text, or specify the name of a voice "john","mary" etc.)
section_text_voice_speed=10 (speed of the speaking voice, it can be ajusted to go slower or faster. If not specified, use default speed)

section_duration=30 (the section stays displayed for 30 seconds. Duration that the text remains visible in seconds before moving to the next section. If it takes 10 seconds to read the text, then the remaining 20 seconds are silent. When duration is 0 or is not specified in the instruction file then the duration becomes the duration of the voice reading the text, so if reading the text takes 4 seconds, then the section ends in 4 seconds. If reading the text takes 2 seconds and the duration is set to 10 seconds, the remaining 8 seconds are silent, meaning that the image or text on the screen remains for 8 seconds in silence. If video use duration of video)

section_background_color=red (sets the background to a color, specified name color)

section_background_image=image.jpg (displays the image on the screen as background)

section_music=song.mp3 (plays a song for the duration of the section, based on the length of section_duration or the time it takes to read the text. If a text is being read, the music will also play if a music file is specified. If the music file is shorter than the duration or the time it takes to read the text, then it simply ends when it is at the end. It does not loop.)

section_text_font=Arial (font for the text. Arial is the default)
section_text_font_size=12 (font size for the text. 12 is the default)
section_text_font_color=black (font color for the text. Black is the default)

section_video=video1.mp4 (means video is the used for this section, section_background_color, section_background_image and section_music no longer apply. Text in this section is displayed on the video, and the voice reads the text while the video is playing)

section_end (end of instructions for a section)

When section_start appears again in the instruction file, it means the start of the next section of the video.
There can be an unlimited number of sections in the instruction file.

video_insert=video2.mp4 (this just inserts a video with no other options, so no text or speaking voice, just what is in the video)

EXAMPLE (instruction-file.txt):

output_file=c:\videos\123.mp4
video_format=mp4
video_width=1028
video_height=772

section_start
section_text=Hello<br>How are you?
section_text_voice=female
section_text_voice_speed=10
section_background_color=yellow

section_start
section_text=Today is Sunday
section_text_voice=male
section_background_image=image.jpg

section_start
section_text=This text will appear for 1 minute
section_text_voice=male
section_duration=60
section_video=video1.mp4

section_start
section_text=This RED text is larger than the standard size<br>and uses another font
section_text_voice=male
section_text_font=Calibra
section_text_font_size=14
section_text_font_color=red

video_insert=video2.mp4

END OF EXAMPLE.