On Mon, Jul 27, 2009 at 7:11 AM, Steve Jiekak <[email protected]> wrote:
> I have installed x264 and rebuild ffmpeg, but I still got issues. > I can use libx264 when I want to use ffmpeg executable directly to convert > between formats, > but when I try to use avcodec_find_encoder( CODEC_ID_H264), I got NULL as a > result?? > What is the problem??? please don't top post did you make sure to enable x264 in your ./configure before the actual build of ffmpeg? look for something about x264 in ./configure --help > > > On Fri, Jul 24, 2009 at 10:18 AM, d3fault <[email protected]> wrote: > > > On Fri, Jul 24, 2009 at 1:04 AM, Steve Jiekak <[email protected]> > > wrote: > > > > > Do I just need to write guess_format("h264",NULL,NULL) ? > > > What I want to do is to specify the packetisation mode to be > > > single NAL unit. > > > > > > your guess_format should work. if not, just specify CODEC_ID_H264 (double > > check this) for the second argument. i also forgot to mention that you > need > > to make sure you configured libav to build with x264 > > i think x264 is in single NAL unit mode by default, but I am unsure.. > > > > > > > > > > > > > On Fri, Jul 24, 2009 at 9:54 AM, d3fault <[email protected]> > > wrote: > > > > > > > On Fri, Jul 24, 2009 at 12:46 AM, Steve Jiekak <[email protected] > > > > > > wrote: > > > > > > > > > Hey everyone, > > > > > I want to convert from some codec to H.264 using FFmpeg and x264 > > > > libraries > > > > > , but I don't really know how to do it. > > > > > I already know how to encode and decode for the formats fully > > supported > > > > by > > > > > FFmpeg libraries, and I would like to > > > > > know how x264 interact with ffmpeg. > > > > > > > > > > ps: if it not the right place to ask for this please tell me :) > > > > > > > > > > > > > > > > > > thanks, > > > > > steve jiekak > > > > > > > > > > > > ffmpeg's external api hides the use of x264 from the user. you simply > > say > > > > that you want to encode in h264 and ffmpeg takes care of the rest. > note > > > > that > > > > x264 is only for encoding. ffmpeg has its own codec for decoding > h264. > > as > > > > for specifying extra options in x264, i don't know. > > > > > > > > > > > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
