Hello, On Fri, 11 Mar 2016, Carlos E. R. wrote:
I got a suggestion offlist to try to code each stream separately. I did:
ffmpeg -i "input-file.mpeg" -ss 00:20:00.00 -t 00:5:00.00 \ -map 0:0 -c:v libx264 -preset ultrafast -vf crop=1920:804:0:138 \ -c:a copy output-file_0.mkv
then -map 0:1 y luego map 0:2
And yes indeed, the video stream is choppy, but not the two audio streams. This matches the results with ProjectX, that finds the video unusable.
Have you tried yet with mkvmerge? mkvmerge --split parts:+00:20:00.00-00:25:00.00 -o output.mkv input.mpeg Just leave out the cropping for now. Or try mencoder, I'm not quite sure about the '-map' parameter of ffmpeg, but this should be a first try (including cropping): mencoder -ss 00:20:00.00 -endpos 5:00.00 -oac copy \ -ovc x264 -x264encopts crf=23:trellis=1 \ -vf crop=1920:804:0:138 -o output.avi input.mpeg (-x264encopts crf=23 is rather high quality, can be adjusted) This copies just the first audio-track, but more can be done seperately, e.g. mencoder -ss 00:20:00.00 -endpos 5:00.00 -oac copy -aid 129 \ -ovc frameno -o output_aid129.avi input.mpeg (mux with mkvmerge -o output.mkv output.avi -D output_aid129.avi) This is more meant as a test. PS: no comments on my previous mails? HTH, -dnh --
PHB brains What a wonderful definition of the null set. -- Joe Zeff -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org