Opened 10 years ago

Closed 9 years ago

Last modified 7 years ago

#222 closed defect (fixed)

QuickTime 7.2 breaks playback of flv files opened by URL

Reported by: 0xced Owned by:
Priority: normal Milestone: 1.0.1
Component: Perian-Main Version: 1.0
Severity: normal Keywords:


... while it worked very well with QuickTime 7.1.6!
Now, doing File -> Open URL… and opening a flv file always gives Alert The URL is not valid error dialog box. The file is first completely downloaded. You can watch the .qtch cache file grow in ~/Library/Caches/QuickTime?/downloads/...
Once the transfer is finished, the error is displayed. I should mention that downloading the same file by another mean first and opening with File -> Open File… perfectly works.

I hope someone can understand this problem and fix it.

Attachments (1)

ff_dataref.patch (548 bytes) - added by 0xced 10 years ago.
Workaround the "Open URL…" bug for movies < 4GB

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by 0xced

Workaround the "Open URL…" bug for movies < 4GB

comment:1 Changed 10 years ago by 0xced

As expected, this is a bug in QuickTime, more precisely in the HTTPDataHandler.
DataHGetFileSize64 in dataref_open() works but then DataHScheduleData64 in dataref_read() fails.

A patch is attached. This is obviously only a workaround for movies < 4GB, but I think it's nevertheless worth including in the trunk. Anyway, I don't think a lot of people will try to play 4GB+ files over http ;-)

Also, that would be very nice to release a 1.0.1 version with this patch included so that people can still load movies from URL.

comment:2 Changed 10 years ago by astrange

I think we should file yet another QT bug with an unpatched Perian as the example.

Not to say we can't add this patch (which looks fine to me).

comment:3 follow-up: Changed 10 years ago by 0xced

And what about a 1.0.1 release ?

comment:4 in reply to: ↑ 3 Changed 10 years ago by tick

Replying to 0xced:

And what about a 1.0.1 release ?

We do not release our timelines to the public.

comment:5 Changed 10 years ago by tick

  • Milestone set to 1.0.1

Let's add the patch. Close ticket when radar is made and patch is attached.

comment:6 Changed 9 years ago by astrange

  • Resolution set to fixed
  • Status changed from new to closed

(In [703]) Apply patch by 0xced to fix playback over URL on QuickTime 7.2. Closes #222.

comment:7 Changed 9 years ago by 0xced

Great, thank you Alexander :-)

Note: See TracTickets for help on using tickets.