Filippo Calvi wrote:
Hello everyone,
I am recently soing some experiments using FFMPEG libraries in order to paly
multiple streams on the same display, with the help of SDL libraries.
I have downloaded and tried out the tutorial at dranger.com, finding it VERY
useful in understanding how to work with FFMPEG libraries.
When I play MPEG-2 files with the tutorials everything goes fine and I get
no error messages.
The application I am trying to develop pretends to first decode all the
packets from the viedo stream, in order to avoid extracting them from the
files everytime I need to play the same file. Basically I decode all packets
with av_read_frame, if the packet belongs to the viedo stream it is appended
to a linked link buffering them all for later use.
When I play a video file everything runs fine, until, close to end of the
movie, frames become corrupted and I get the following error on stdout:
[mpeg1video @ 0xb7bc8790]slice below image (64 >= 13)
At the moment I have not yet implemented any synch for correctly timing
frames, nevertheless, in tutorial applications without synch, I get no
errors.
How can I get more infromations about which function calls are generating
the error messages? Is there any way that I can track down the source of the
error message?
Without really knowing ffmpeg, you could grep the ffmpeg source for
'slide below image', then run your app in gdb and set breakpoint where
that string appears in the ffmpeg source. Then when the debugger stops,
type 'bt' to get a backtrace of what function triggered that message.
Of course, there's probably an easier way to do it too - thats just how
I would do it without any real knowledge of the specific library.
Cheers!
-josiah
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user