I have uploaded  the "specific" video using ftp. The filename is beating_bars.ogv. While debugging through producer_avformat.c, i checked the value of pkt.dts after av_read_frame being called in producer_get_image. And found that its value is jumping from 0, 1 to directly to 169. And if i press shift+h, then it goes back to the begining and plays perfectly ok, and value of pkt.dts increases smoothly from 0,1,2,3, ...
After digging through this phenomena of shift+h, i found that when i am pressing shft+h, it is calling reopen_video.

- Sujoy

On Fri, Jun 15, 2012 at 6:09 AM, Dan Dennedy <dan@dennedy.org> wrote:
On Tue, Jun 12, 2012 at 11:36 AM, Sujoy Roy <sujoykroy@gmail.com> wrote:
> When i play a  "specific" Theora video using melt, it freezes (sort of) the
> melt-screen upto first 190 frames, then it moves as expected. But it plays
> smoothly in ffmpeg or totem player, no freezing; i am on Fedora 16. I have
> downloaded the source code of melt. But there is no text containing
> "theora" in those files. I guess the video decoding is being handled by
> libavformat. Any tip about where to dive-in to find the cause of the video
> freezing?

See src/modules/avformat/producer_avformat.c

I am in the middle of a complete overhaul of the seek and sync in that
piece of code. Likely your file will be affected as well as possibly
any fix you come up with. If you upload it via anonymous ftp to
dennedy.org, then I will take a look at it in the midst of checking my
code changes.

--
+-DRD-+