Ok,I think I got it.In my case I have to use av_parser_parse2() to get h264 frame into packet,then mux into interleaved frame.
On Wed, Sep 27, 2017 at 1:46 PM, Michael IV <[email protected]> wrote: > What I understood from doc/examples/muxing.c is that it operates on YUV > frames. > My data is raw h264 NALUs stream from NVENC and I want mux those directly > into TS adding audio frames . > > > On Wed, Sep 27, 2017 at 1:36 PM, Carl Eugen Hoyos <[email protected]> > wrote: > >> 2017-09-27 11:19 GMT+02:00 Michael IV <[email protected]>: >> > I am trying to open input stream,and I found an example which >> > seems to be pretty >> > >> > old : https://lists.libav.org/pipermail/libav-user/2009-May/003034.html >> >> This looks outdated. >> Did you look at the examples in doc/examples ? >> >> Carl Eugen >> _______________________________________________ >> Libav-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/listinfo/libav-user >> > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
