Perian is not aware of files which increase in size whilst playing

29 views
Skip to first unread message

pelletee r

unread,
Jan 17, 2012, 4:53:11 AM1/17/12
to perian-...@googlegroups.com
Hi,
I've seen this problem mentioned earlier in the forum and quicktime still stops playback on a perian video files once it reaches the end of the file as was at the state at the time the file was opened by quicktime.
I'd like to modify perian to handle video files whilst they are being downloaded, much like vlc, mplayer work.
I was just wondering if any of you could give me some pointers as to how I may be able to implement this functionality since I've been scanning the code and altering it without any luck so far.
Thanks!
-pellet

Alexander Strange

unread,
Feb 19, 2012, 11:41:41 PM2/19/12
to perian discussion
This should already be implemented, but it depends on the type of the
file, as well as the download speed. If the file size doesn't increase
fast enough, the import process might not realize it's still growing
and stop. I can't think of a way around this.

The place to look would be data reference handling (ff_dataref).

pelletee r

unread,
Feb 22, 2012, 10:01:43 PM2/22/12
to perian-...@googlegroups.com
thanks Alex!
Yes i have seen this work for the mp4/mov file type which is presumably handled by quicktime internally.
However after much more investigation I have seen that the size of the file handle does not increase at all,  I have began tedious/hair-pulling work on a datahandler component since it seems this is the only way to do such a thing.
I've had a lot of trouble getting the damned thing working but the ElComponentSample and some things i've picked up from google trawling seem to the best way to get this thing implemented.
cheers,
pellet.
Reply all
Reply to author
Forward
0 new messages