[Libav-user] mpeg4 encoding with no b-frames
marcin_ffmpeg at interia.pl
Fri Oct 18 12:41:04 CEST 2013
I understand that if re-encoding with no b-frames is correct for mpeg4 than there should be no warning at all.
When I get a few gigabytes log per hour than it's no just warning.
Is there a possibility to suppress these warnings other than library code modification?
Can I access somechow pict_type field in AVCodecParserContext and modify it so that warning is not triggered?
Od: "Alex Cohn" <alexcohn at netvision.net.il>
Do: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user at ffmpeg.org>;
Wysłane: 0:15 Piątek 2013-10-18
Temat: Re: [Libav-user] mpeg4 encoding with no b-frames
> The ffmpeg mpeg4 encoder was designed to preserve b-frames as in
> input. It warns you that these frames will be rearranged. It's just a
> Alex Cohn
> On Thu, Oct 17, 2013 at 11:42 AM, marcin_ffmpeg
> > Dear All
> > In my application I'm trying to re-encode video from h264 to mpeg4. It is important to have no b-frames in the output file so I set
> > encoder context to max_b_frames=0, gop_size is fixed to 25.
> > With this setting I get loads of following warnings
> > [mpeg4 @ 0xa53f3620] warning, too many b frames in a row
> > Problem does not exists when encoder gop_size is set to decoder gop_size and max_b_frames is set to 10.
> > Is there something what can be done about that? Does frame after decoding from h264 have to be somehow converted?
> > Thanks for any help
> > Marcin
> > _______________________________________________
> > Libav-user mailing list
> > Libav-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/libav-user
> Libav-user mailing list
> Libav-user at ffmpeg.org
More information about the Libav-user