![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |

|
| Linux and Unix Error ! Redhat,suse,centos,mandrake,Free BSD,Sun |
![]() |
|
Command line simple video editing under linux
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Administrator
Posts: 18,702
Join Date: Jan 2006
Rep Power: 10
IM:
|
Basically what I need to do is to be able to hand a certain script a video file and a handful of time codes. The script with then call the video editing software via command line and hand it the location of the video and which time(s) to cut out of it. The script will then call the video software again to join the cut segments and then, if possible, encode/compress them. I'd be willing to PayPal money anyone to helps answer this question (AUD only) |
|
|
|
|
|
|
|
|
#2 (permalink) |
|
Administrator
Posts: 18,702
Join Date: Jan 2006
Rep Power: 10
IM:
|
For example, to keep only from 1:25 to 2:45 of video.avi, you'd use the following command : mencoder -ss 1:25 -endpos 1:20 -oac copy -ovc copy video.avi -o part1.avi Then, to join the segments : mencoder -oac copy -ovc copy -o output.avi part*.avi Or you can encode them directly, for example in xvid with default encoding options : mencoder -oac copy -ovc xvid -o output.avi part*.avi |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|