Hello guys, this is my first post on this mailing list. I recently read "Transcoding with libavformat/libavcodec by polymorph May 2nd, 2007" and successfully compiled the example. What does this program do? It opens a input video file, decodes/read the frames and then create another video file and encodes/write the frames back in. Unfortunatly I'm having a problem: the video file created (test-out.avi) isn't 100% right. I'm using FFmpeg 0.4.9. Here is the video I submitted to the program: http://www.inf.ufsc.br/~leandro.coser/test.mpg<http://www.inf.ufsc.br/%7Eleandro.coser/test.mpg> and it's output (not quite what we expected, right?): http://www.inf.ufsc.br/~leandro.coser/test-out.avi<http://www.inf.ufsc.br/%7Eleandro.coser/test-out.avi> Source code: http://www.inf.ufsc.br/~leandro.coser/transcode_sample.c<http://www.inf.ufsc.br/%7Eleandro.coser/transcode_sample.c> I also tried to change guess_format() to "mpeg" instead of "avi" (I thought it could be a Codec problem), but the video file created had problems too. Can someone help me or give me directions? Thank you all..
participants (1)
-
maxphil@gmail.com