GNOME Bugzilla – Bug 780024
qtmux: add support for CineForm
Last modified: 2017-03-14 16:05:24 UTC
Created attachment 347903 [details] [review] support for CineForm codec in qtdemux and qtmux The attached patch is adding support for the CineForm video codec in qtdemux and qtmux.
Comment on attachment 347903 [details] [review] support for CineForm codec in qtdemux and qtmux The patch looks good, but having a sample file for future reference would be useful. Also we should add support for this via ffmpeg, currently the caps mapping is missing. Is video/x-cineform also the mimetype that you're using for this codec? ffmpeg calls it cfhd (AV_CODEC_ID_CFHD), so video/x-cfhd would be another option.
Created attachment 347919 [details] [review] avcodecmap: Add mapping for CineForm HD / CFHD codec
I can upload you a short CineForm sample but is a wetransfer link or something similar acceptable, because CineForm videos are always pretty heavy... I have a patch for mapping the CineForm decoder from ffpmeg but some requierd pixel formats are missing from GStreamer I believe (see WIP patch attached). CFHD is the "usual" fourcc associated with this codec (short for "CineForm HD") but now we mostly use the name "GoPro CineForm". I think x-cineform would be more descriptive but I don't really mind.
Created attachment 347922 [details] map map CineForm cap
wetransfer or similar would be fine, thanks :)
Ok I uploaded three videos using three different pixel formats on dropbox: https://www.dropbox.com/sh/x6f0pm7ifaxgq47/AAB9tahh8PHHxBx27Ln-ywQ6a?dl=0
commit 534be3313c87e56887650ae8a1dd8c5b8863949e Author: Emeric Grange <egrange@gopro.com> Date: Tue Mar 14 10:10:19 2017 +0100 qtmux: add CineForm support https://bugzilla.gnome.org/show_bug.cgi?id=780024
Attachment 347919 [details] pushed as 887e45e - avcodecmap: Add mapping for CineForm HD / CFHD codec