Hi James, I have the doc/examples programs compiled and running. I use the program demuxing.c to decode an AVI file. From the source code, it looks it calls its own subroutine decode_packet() to decode the next video or audio packet, and that subroutine calls avcodec_decode_video2()to decode the next frame. Now i want to encode this frames in h264, so i want to know how i can pass the frames into avcodec_encode_video2 function. I'm interested only video frames.
Can you help me?? Thanks 2013/9/15 James Board <[email protected]> > >> However, what if I only copy a subset of the input frames to the output > >> file? Can I still copy the packet? If the answer is no, can I do > something > >> simple to allow me to copy the packet (like modify a timestamp?). > > > >The best advice again would be to try and see if there is some > >problem. Yes, you probably want to manipulate the timestamps. > > That's okay, but I'd really like to understand how it works behind the > scenes so I know it works for sure. > > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > > -- Francesco Damato
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
