Hello everybody, Sometime ago I was working around a C++ class to translate array images into a video file. The class is pretty based on the code of output-example.c.
If you want to check out the whole class, take a look here: http://svn.berlios.de/wsvn/ktoon/trunk/kom/kom/kgui/kffmpegmoviegenerator.cpp This is my problem: I can export any kind of video formats, except for one: OGG. When I try to use this format the application crashes and I get this message from gdb: Output #0, ogg, to '/tmp/ktoon_video923RjBfFPP9D.ogg': Stream #0.0: Video: libtheora, yuv420p, 520x340, q=2-31, 400 kb/s, 90k tbn, 24 tbc #4 0xb5d77469 in ?? () from /usr/lib/libtheora.so.0 #5 0xb5d82110 in ?? () from /usr/lib/libtheora.so.0 #6 0x8b18246c in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) The line where things get ugly is this: 325: out_size = avcodec_encode_video(c, videOutbuf, videOutbufSize, picturePtr); The million dollar question: Why the code works for all the video formats but fail for Ogg? What am I missing? Thanks for any hint. -- ============================ Gustavo Gonzalez [email protected] ============================ _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
