GNOME Bugzilla – Bug 587922
qtmux lacks mapping for Sorenson Video v3
Last modified: 2009-11-18 20:32:27 UTC
Looking into trying to remux a .mov file, I noticed that qtmux is not able to mux Sorenson Video v3. Caps value is : video/x-svq, svqversion=(int)3 I have a .mov with this video format if wanted.
Yes, upload the file somewhere so we can take a look at its fields and map them into qtmux.
The file is available here: http://www.linuxrising.org/files/WH_MoC_E3_Intro.mov
The problem here with the remuxing is that qtdemux puts the entire stsd atom as codec_data. It should remove all the atom structure and put on the caps only what's 'container' independent info. I don't know if fixing qtdemux would be an option (ABI stability?), can we do it? The other option would to hack our way in qtmux by testing if the codec_data is the stsd atom, but this is a hack and it would only work with qtdemux. I wouldn't want to do this unless it is our only resort.
Created attachment 146504 [details] [review] Patch for qtdemux This patch adds new fields to caps of qtdemux when outputing svq3
Created attachment 146505 [details] [review] Adds support for SVQ3 in qtmux Adds support for svq3 in qtmux (using the new fields added by the other patch)
Notes on this issue: 1) quicktime uses the 'gama' atom, so I say we should get it on qtdemux and put on caps 2) quicktime crashes on some svq3 files that don't have the gama atom, for others, it just works. I have seen no crash so far on files that have the 'gama' atom, for safety, I'd suggest putting the gama atom on all movs with svq3 3) the default value for 'gama' seems to be 0, and not 1.
Fixed. Module: gst-plugins-bad Branch: master Commit: edea30e30316c95e0866fb1d566895e25184c781 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=edea30e30316c95e0866fb1d566895e25184c781 Author: Thiago Santos <thiago.sousa.santos@collabora.co.uk> Date: Thu Oct 29 08:36:02 2009 -0300 qtmux: support for SVQ3 Module: gst-plugins-good Branch: master Commit: e35085e5b5191e66efeaa807b877f501d2a26363 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=e35085e5b5191e66efeaa807b877f501d2a26363 Author: Thiago Santos <thiago.sousa.santos@collabora.co.uk> Date: Thu Oct 29 08:29:38 2009 -0300 qtdemux: Add more fields to SVQ3 caps