I have written a short application (using avlibs) to read an mp4 (or any
other ffmpeg format for that matter), convert to RGBA, adjust pixels and
re-encode back into mp4.  This is all very successful.  However, the
output file appears to have a context->duration which is 40x greater
than that in the original file.

 

Can anyone suggest why?

 

I am making no conscious effort to set the duration in the output file -
I guess that ffmpeg does this for us?

Can it be forced or corrected in any way?

 

Thanks in advance.

Gary 

 

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to