[FFmpeg-devel] [PATCH] Added rap flag to libx265 to insert VPS/SPS/PPS before each key frame.

Marcus Gustafsson mankan.gustafsson at gmail.com
Sat Mar 15 09:55:08 CET 2014


On Fri, Mar 14, 2014 at 11:06 PM, Hendrik Leppkes <h.leppkes at gmail.com>wrote:

> On Fri, Mar 14, 2014 at 11:01 PM, Lou Logan <lou at lrcd.com> wrote:
> > On Fri, 14 Mar 2014 18:52:24 +0100, Marcus Gustafsson wrote:
> >
> >> Hi all,
> >>
> >> my first post here.
> >> I've made a patch in order to be able to play streamed H.265 streams
> >> regardless where in the stream you start decoding.
> >> Use "-rap=1" to enable it as a video encoder argument.
> >
> > Excuse my ignorance, but why "rap"? What does the mean?
>
> Random Access Point
>
> Regarding the patch, I think its a better idea to ask the x265
> developers to offer this functionality, similar to how libx264 does.
> They are pretty open to such suggestions, and iirc. Derek (the
> author/maintainer of the libx265 wrapper) already had plans for this
> in some form and shape.
>
I've now looked how libx264 do it and I agree that is a better idea, with
the global header, repeat_header flags.
Time to dig into the x265 code then.
/Marcus

>
> - Hendrik
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list