FORUMS: list search recent posts

How to get ffmpeg/x264 to use same parameters as input?

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Gyan Doshi
How to get ffmpeg/x264 to use same parameters as input?
on Nov 11, 2014 at 5:32:57 am

I'm trying to accomplish a smart rendering workflow using ffmpeg/x264, which goes like this: get ffmpeg to segment the input file at keyframes. Locate the segment(s) with changes to be made. Re-encode altered segments with same parameters as source. Concatenate altered + original segments.

Problem: the resulting video turns garbage when it first traverses from an original to altered segment or vice-versa. Most likely, because the altered chunks and original chunks differ in some bitstream parameters, or possibly some GOP boundary issues are at play.

I've provided an illustration at http://ffmpeg.gusari.org/viewtopic.php?f=11&t=1793

So,

1) is there a way to tell ffmpeg/x264 to generate a concat-with-source-compliant output?

2)If it's GOP related, what do I look for in the source and what do I tell the encoder?

Thanks,

Gyan


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]