Use free formats by default

Bug #660687 reported by Kẏra
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Kazam Screencaster
Fix Released
Wishlist
David Klasinc

Bug Description

A free format should be used as the default format.

WebM could be used as the default Youtube upload format.

Dirac Lossless and FLAC could be used as the lossless recording format.

Related branches

Revision history for this message
Andrew (and471) wrote :

Neither of these formats are suitable for the default recording format, as they are both lossy - this is why we use lossless h264.

We could however use WebM as the default format for the youtube upload, or dirac lossless and flac as the default format, however I would need to experiment with the encoding speed of both of these.

I shall therefore change this bug to be using free formats by default.

summary: - Use WebM or Theora as default format
+ Use free formats by default
description: updated
Changed in kazam:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Kẏra (thekyriarchy) wrote :

Are you using the lossless option for h.264? I feel as though the output files would be much bigger if they were indeed raw video files...

Revision history for this message
Andrew (and471) wrote :

Yes I am

Revision history for this message
Kẏra (thekyriarchy) wrote :

I see. Well, this may interest you: https://groups.google.com/a/webmproject.org/group/webm-discuss/browse_thread/thread/15472be8933f4022

Perhaps WebM could be provided as the default, but still have lossless h.264 as an option? Using h.264 by default is that support for it probably prevents Kazam from being shipped with any major distro-- dream big!

Revision history for this message
Andrew (and471) wrote :

Yes I saw that, however the whole reason we are using lossless is so that changes are non-destructive (i.e. the screencast doesn't need to be re-recorded) but also it means that not a lot of CPU power is needed for encoding on the fly.

I appreciate that h264 prevents it being shipped with many distros, but I don't want to make it use a lossless codec for the first recording, I feel we need to find a lossless free codec, not make sacrifices elsewhere.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Have you tried huffyuv?

It's also lossless and licensed under the GPL :)

Worth a punt.

http://en.wikipedia.org/wiki/Huffyuv

Revision history for this message
Wayne (waynedpj) wrote :

also, Dirac supports lossless encoding:

http://en.wikipedia.org/wiki/Dirac_%28codec%29

so i imagine that combined with FLAC in a MKV, that would cover a FLOSS lossless video solution.

hope it helps.

peace.

Revision history for this message
David Klasinc (bigwhale) wrote :

Alan,

I did _a lot_ and I really mean a lot of testing of codecs and different compression levels and other stuff too. The end findigs were that the only real 'lossless' (none of them are actually completely lossless) format is Huffyuv and even then, the videos that are replayed have to be replayed with mplayer -vo x11 and the video will be exact copy of what was on the screen. Huffyuv is something that Kdenlive for example will not recognize and you won't be able to edit it.

The biggest problem is with colors. Screens are RGB and most movie formats are YUV. YUV444 is a pixel format that performs almost no conversion and is the closest representation of RGB. The problem? Most movie players (mplayer, ffmpeg, vlc, and totem included) support only YUV420 and will refuse to play anything else.

Previously mentioned Huffyuv also supports RGB pixels which is great, but when you edit your footage you will end up converting it to YUV again, so you don't gain much.

Anyway, VP8/WebM is now a default and for now the only format supported.

David Klasinc (bigwhale)
Changed in kazam:
status: Confirmed → Fix Released
David Klasinc (bigwhale)
Changed in kazam:
status: Fix Released → Fix Committed
Revision history for this message
Kẏra (thekyriarchy) wrote :

This is great, can't tell you how much I appreciate this work!

David Klasinc (bigwhale)
Changed in kazam:
milestone: none → 0.91
assignee: nobody → David Klasinc (bigwhale)
David Klasinc (bigwhale)
Changed in kazam:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers