Script with cut movie files (all ext) and convert movies, convert this cut movie and zip

Imefungwa Ilichapishwa Miaka 6 iliyopita Kulipwa wakati wa kujifungua
Imefungwa Kulipwa wakati wa kujifungua

I need help with prepare script (C++, php) where i can make a cut few seconds (10s , 15s it is depend) from movies file.

1 ASF

2 AVI

3 FLV

4 M2TS

5 MKV

6 MOV

7 MP4

8 MPG

9 Ogg

10 SMV

11 TS

12 WMV

i want be able to convert whole movie on only part.

System Linux Debian 9

Uprogramu C++ PHP Huduma ya Video

Kitambulisho cha Mradi: #15602777

Kuhusu mradi

3 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%