Hi, all:
I am currently encoding a raw video to avi format with the example
encoding.c. It looks that example uses a constant bitrate for video
encoding but that is not what I need. Is it possible to use adaptive bit
rate with a constant quality instead? If yes, how can I do that with
FFMPEG
2015-10-13 21:17 GMT+11:00 Carl Eugen Hoyos :
> YIRAN LI writes:
>
> > And does this mean, for any encoders that can
> > generate B frames, I need to do similar
> > pre-processing before calling av_write_frame()?
>
> No, only for encoders that produce broken pts/dts.
>
> Hi Carl,
I don't have
2015-10-13 21:17 GMT+11:00 Carl Eugen Hoyos :
> YIRAN LI writes:
>
> > And does this mean, for any encoders that can
> > generate B frames, I need to do similar
> > pre-processing before calling av_write_frame()?
>
> No, only for encoders that produce broken pts/dts.
>
> > So if I don't know poss
YIRAN LI writes:
> And does this mean, for any encoders that can
> generate B frames, I need to do similar
> pre-processing before calling av_write_frame()?
No, only for encoders that produce broken pts/dts.
> So if I don't know possible max B frames, then I
> can't use av_write_frame to cor
2015-10-13 21:01 GMT+11:00 Carl Eugen Hoyos :
> YIRAN LI writes:
>
> > pts = 0, dts = 0
> > pts = 2, dts = 1
>
> > Can someone give any suggestion how to do in this case?
>
> Add max_bframes (1 in your case) to pts.
>
> Hi Carl,
Do you mean add 1 directly onto original PTS?
So
pts = 0, dts =
YIRAN LI writes:
> pts = 0, dts = 0
> pts = 2, dts = 1
> Can someone give any suggestion how to do in this case?
Add max_bframes (1 in your case) to pts.
Carl Eugen
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo
Hi Guys,
I'm using Window Media Foundation H.264 encoder to encode video frames and
use ffmpeg as a muxer.
The frames returned by the encoder has following timestamps
pts = 0, dts = 0
pts = 2, dts = 1
pts = 1, dts = 2
pts = 4, dts = 3
pts = 3, dts = 4
pts = 6, dts = 5
pts = 5, dts = 6
pts = 8, d