I'm trying to create a web interface to select an existing MPEG2 file (recorded using MythTV on a PVR-250), input a start time and a length and then processes that in the background, delivering the short clip as an available download.
right now, i've gotten to this far:
$commandline="mpeg2cut " . $infile . " " . $outfile . " " . $GOPindex . " " . $cutstart . "-" . $cutend
mpeg2cut is a script by Gavin Hurlbut and is included with nuvexport by Chris Petersen. It uses avidemux2 to cut out the segments. But I haven't gotten it to work yet.
Question #1. Is this the best way to accomplish this? I need to make the file download available as quickly as possible to the user.
Question #2. Is there a way to do it without the dumuxing and the lot? I tried it once with just split() but it was pretty lousy.
Thanks for your video-guru help.
-Brian
+ Reply to Thread
Results 1 to 2 of 2
-
-
Question #1. Is this the best way to accomplish this? I need to make the file download available as quickly as possible to the user.
Question #2. Is there a way to do it without the dumuxing and the lot? I tried it once with just split() but it was pretty lousy.
Similar Threads
-
Convert multiple mpeg2 to wmv with command line!!! Help pls!!
By orlroc in forum Video ConversionReplies: 5Last Post: 15th Dec 2009, 23:18 -
Command line method to convert MPEG-2 to Divx Home Theater Profile
By CLIjunkie in forum Video ConversionReplies: 15Last Post: 6th May 2008, 21:22 -
Joining Mpeg2 files from the command line
By roden in forum Newbie / General discussionsReplies: 3Last Post: 9th Oct 2007, 09:02 -
Automatic selection PAL NTSC & command line switch method
By joecon in forum Capturing and VCRReplies: 0Last Post: 13th Sep 2007, 07:13 -
MPEG2 > RAW AVI via Command Line
By jwoodsfsp in forum Video ConversionReplies: 13Last Post: 30th Jul 2007, 20:36