[FFmpeg-devel] [PATCH v2 6/8] ffmpeg: use new encode API
Michael Niedermayer
michael at niedermayer.cc
Fri Mar 25 03:46:25 CET 2016
On Wed, Mar 23, 2016 at 02:02:13PM +0100, wm4 wrote:
> ---
> Not so sure about the frame duplication logic etc.
> ---
> ffmpeg.c | 71 +++++++++++++++++++++++++++++++++++++++++-----------------------
> 1 file changed, 46 insertions(+), 25 deletions(-)
>
with the 2 commands:
./ffmpeg -i matrixbench_mpeg2.mpg -s 80x60 small.mpg
./ffmpeg -i small.mpg -vframes 3 test.mov
the 2nd command produces the following error messages with this patch:
and a different output file
[aac @ 0x3805580] Trying to remove 1024 samples, but the queue is empty
[mov @ 0x379aea0] Timestamps are unset in a packet for stream 1. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mov @ 0x379aea0] Encoder did not produce proper pts, making some up.
[aac @ 0x3805580] Trying to remove 1024 samples, but the queue is empt
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160325/5d3d4553/attachment.sig>
More information about the ffmpeg-devel
mailing list