On Fri, Apr 10, 2015 at 9:45 AM, Bouke (VideoToolShed) < [email protected]> wrote:
> Trying to do one encode to two outputs, where one is significantly shorter > than the other. > (I want to give end users a sneak preview before the whole shebang is > done.) > > I got it working using the command line below, but the trouble is, the > shorter file is still in use by FFmpeg untill the entire encode is done, > that kinda defeats the whole dance. > > So i think i must split the output of the encode and feed it to another > instance, but have no idea how. > I've also tried this with -tee "output1.mov| [t=120]output2.mov" , but the > [t=120] failed... > > Any ideas / insights? > (Oh, this is supposed to run on OSX as well as Windows) > > thx, > > Bouke > > ffmpeg.exe -threads 0 -i M:\Honig\02-02c.mxf -filter_complex > "scale=480x360" > -vcodec mjpeg -qscale 4 -map_channel 0.1.0 -map_channel 0.2.0 -acodec > pcm_s16le -aspect 16:9 > -timecode 01:00:00:00 -f avi - | ffmpeg.exe -i - -c copy -t 20 > M:\Honig\02-02c_short.mov > -c copy M:\Honig\02-02c_long.mov > > Maybe something like this? ffmpeg.exe -threads 0 \ -i M:\Honig\02-02c.mxf \ -vf scale=480x360 \ -vcodec mjpeg \ -qscale 4 \ -map_channel 0.1.0 \ -map_channel 0.2.0 \ -acodec pcm_s16le \ -aspect 16:9 \ -timecode 01:00:00:00 \ -t 20 \ M:\Honig\02-02c_short.mov \ -vf scale=480x360 \ -vcodec mjpeg \ -qscale 4 \ -map_channel 0.1.0 \ -map_channel 0.2.0 \ -acodec pcm_s16le \ -aspect 16:9 \ -timecode 01:00:00:00 \ M:\Honig\02-02c_long.mov _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
