$summary
build.log please :)
Created attachment 309159 [details] build.log Sorry, I don't know why there isn't a build log attached
Created attachment 309265 [details, diff] vdr2jpeg-0.1.9-libav.patch Try this patch please.
(In reply to comment #3) > Created attachment 309265 [details, diff] [details, diff] > vdr2jpeg-0.1.9-libav.patch > > Try this patch please. @@ -245,7 +246,6 @@ big_picture.quality = (int)ist->st->quality; }else big_picture.quality = (int)ost->st->quality; - big_picture.pict_type = AV_PICTURE_TYPE_NONE; // big_picture.pts = AV_NOPTS_VALUE; big_picture.pts= ost->sync_opts; // big_picture.pts= av_rescale(ost->sync_opts, AV_TIME_BASE*(int64_t)enc->time_base.num, enc->time_base.den); you can probably remove that hunk: @@ -245,7 +245,7 @@ static bool do_video_out(AVFormatContext big_picture.quality = (int)ist->st->quality; }else big_picture.quality = (int)ost->st->quality; - big_picture.pict_type = 0; + big_picture.pict_type = AV_PICTURE_TYPE_NONE; // big_picture.pts = AV_NOPTS_VALUE; big_picture.pts= ost->sync_opts; // big_picture.pts= av_rescale(ost->sync_opts, AV_TIME_BASE*(int64_t)enc->time_base.num, enc->time_base.den); in the ffmpeg patch i committed some time ago, if this works for you.
I updated the ffmpeg patch with two missing things for libav. The mathematics.h is not included in avutil so i had to include that too. The AV_PICTURE_TYPE_NONE is not defined in libav so I replaced it with properly typed variable so it work for both projects.
(In reply to comment #5) > I updated the ffmpeg patch with two missing things for libav. > The mathematics.h is not included in avutil so i had to include that too. > The AV_PICTURE_TYPE_NONE is not defined in libav so I replaced it with > properly typed variable so it work for both projects. Thanks! I had removed the line with AV_PICTURE_TYPE_NONE altogether because an upstream developer (BBB on #libav) explained that that initialization was not needed. Anyway it works fine with 0 too, as long as it compiles :)
Thanks for help out, ...