View Single Post
Old 08-31-2007, 02:55 PM  
calmlikeabomb
Confirmed User
 
calmlikeabomb's Avatar
 
Join Date: May 2004
Location: SW Palm Bay, Florida
Posts: 1,323
using FFMPEG you can split mpgs files like this:

Code:
ffmpeg -y -i video.mpg -vcodec copy -acodec copy -ss 00:00:00 -t 00:00:15 video_part1.mpg
where
-y forces an overwrite
-i video.mpg is the input file
-vcodec copy, reuses existing video codecs
-acodec copy, reuses existing audio codecs
-ss 00:00:00, is the start time
-t 00:00:15, is the end time (15 seconds)
video_part1.mpg, is the output file

If you want to convert mpg to flv then split you can do:
Code:
ffmpeg -y -i video.mpg video.flv;
ffmpeg -y -i video.mpg -ss 00:00:00 -t 00:00:15 video_part1.mpg
When converting wmv to any format I always loose the a/v sync.

I'd like to know if anyone here has a solution or can share their wmv conversion methods...
__________________
subarus.

Last edited by calmlikeabomb; 08-31-2007 at 02:57 PM..
calmlikeabomb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote