Ticket #222 (closed defect: fixed)

Opened 7 years ago

Last modified 5 years ago

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:
Cc:

Description

... 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

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

Change History

Changed 7 years ago by 0xced

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

comment:1 Changed 7 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 7 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: ↓ 4 Changed 7 years ago by 0xced

And what about a 1.0.1 release ?

comment:4 in reply to: ↑ 3 Changed 7 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 7 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 7 years ago by astrange

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

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

comment:7 Changed 7 years ago by 0xced

Great, thank you Alexander :-)

Note: See TracTickets for help on using tickets.