Opened 18 months ago
Last modified 16 months ago
#11492 new enhancement
Support for QuickTime skin file
| Reported by: | spixi | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | ffmpeg |
| Version: | unspecified | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Summary of the bug:
Early versions of QuickTime player allowed videos with “skins”. The “skins” themselves where contained directly in the video stream.
The skinned videos came with a special XML file, but with the .MOV extension. This file refers to the actual video file, a window mask (contentregion, black = visible, white = transparent) and a drag mask (dragregion, black = draggable [that means the mouse becomes a drag cursor if you move over this area], white = not draggable). Allowed file formats for this masks are gif, tif and png. contentregion and dragregion can refer to the same file.
An example file could look like this:
<?xml version="1.0"?> <?quicktime type="application/x-qtskin"?> <skin> <movie src="actual_movie.mov"/> <contentregion src="contentregion.png"/> <dragregion src="dragregion.png"/> </skin>
Currently, such a file is not supported. FFMpeg should at least open the referred actual_movie.mov when you load such a file. It would also be nice to have, when the contentregion is applied to the video as a simple alpha mask. The dragregion can be ignored.
Change History (5)
comment:1 by , 18 months ago
comment:3 by , 18 months ago
I don't think even QuickTime Player 7 Pro supported this anymore at least as far as the creation goes?
I honestly don't see why we should support it in FFmpeg, I never encountered such a file in the wild, we never had a user of VLC request support for it either, so I would assume they are incredibly rare historical artifact that if you want to support them you could implement in whatever client application using FFmpeg under the hood instead of having support for this in FFmpeg.
Especially considering that having a .mov that is actually an XML that points to another file sounds like it would open a pandoras box of security issues…
follow-up: 5 comment:4 by , 16 months ago
we do have mov reference file samples https://samples.ffmpeg.org/mov/reference-files/
can you upload a skin mov sample?
comment:5 by , 16 months ago
Replying to compn:
we do have mov reference file samples https://samples.ffmpeg.org/mov/reference-files/
can you upload a skin mov sample?
Hi compn,
you find a sample skin move file just in the ticket text. It is just an XML file, which refers to a real MOV file and PNG/GIF/TIFF/TGA files.



More information about QuickTime skins
https://www.peachpit.com/articles/article.aspx?p=758432&seqNum=5
Note, that the skin is actually a prerendered part of the video stream and the skin .MOV file is just a reference to the skinned video and the two mask files, which define where the video should be transparent / draggable.