View Full Version : Method of Determining Colorspace for QuickTime Files?
Acid_Reign
6th April 2009, 09:57
The “Movie Inspector” in QuickTime Player only shows codec, frame size, and bit depth. I would like to figure out what the colorspace(s) of my MOVs are so that I can avoid unnecessary conversions.
While I can always import into AVISynth using QTSource, that filter does not yet support YV12 output, so I do not know if what it is giving me is accurate. I can’t find documentation for QTReader so I don’t know what that supports.
I’ve thought about demuxing the MOVs to their raw video/audio streams and remuxing them to AVIs, but I have yet to find a way to do this. I can export to AVI using Final Cut Pro, QuickTime Pro, MPEG Streamclip, etc. but these programs all appear to be recompressing, rather than repacking the data into a new container (unless I am mistaken). Is there a program that does this?
hanfrunz
6th April 2009, 11:30
Try ffmpeg or mencoder to demux/mux the files. Have you tried tateu's qtinput (http://forum.doom9.org/showthread.php?t=104293) filter?
hanfrunz
poisondeathray
8th April 2009, 19:15
If you use QTInput() in a YV12 source, it will read YUY2 in avisynth using info()
If you use DirectShowSource() with Info() it should provide the correct information
If you want to demux from .mov to get raw streams, you can use yamb or mp4box for most types of video and audio
Acid_Reign
17th April 2009, 09:21
Try ffmpeg or mencoder to demux/mux the files.
I tried both; although the demuxing seemed to work, the remuxing proved problematic. But it doesn’t matter since they both reported the colorspace (YV411p in this instance), which serves my original purpose.
Have you tried tateu's qtinput (http://forum.doom9.org/showthread.php?t=104293) filter?
Yeah, I did, as mentioned in the OP (QTInput is just the input function of the filter QTSource). The drawback is it only takes certain colorspaces as input so resampling occurs if it is not what QTSource can accept.
Of course, in certain instances this is unavoidable, like with my clip that is YV411, which Avisynth doesn’t yet support, and most codecs seem to resample to some other space anyway.
If you use DirectShowSource() with Info() it should provide the correct information
On QuickTime files? Are you sure? I get:
DirectShowSource: Could not open as video or audio.
Video Returned: "DirectShowSource: couldn't open file clip.mov:
No such interface supported "
Audio Returned: "DirectShowSource: couldn't open file clip.mov:
No such interface supported "
(C:\clip.mov, line XX)
If you want to demux from .mov to get raw streams, you can use yamb or mp4box for most types of video and audio
Thanks. YAMB seems to handle the demuxing quite nicely… tells me what the codecs are actually called in English, and gives the outputs default file extensions without me having to guess them.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.