File size issue

Tim Müller tim at centricular.com
Fri Oct 14 09:46:28 UTC 2016


On Fri, 2016-10-14 at 01:12 -0700, Mikl wrote:

> I am recording video from camera (i get it as raw rgb24) using this
> pipeline:
> appsrc ! video/x-raw-rgb ! videoconvert ! video/x-raw I420 ! jpegenc
> !
> matroskamux ! filesink

I presume you meant video/x-raw,format=RGB,...

> also it is 2 subtitles tracks attached to the same mux:
> appsrc ! text/x-raw ! matroskamux ! filesink
> 
> "videoconvert" is used to convert video to from 4:4:4 to 4:2:0
> colorspace, because Windows Media Player can not play 4:4:4. And i
> need it, because most of users of my video will use Windows.
> 
> *My problem, what file is huge.*
> And it is not depend from jpegenc quality.
> What is wrong in my pipeline?

How huge is huge? For what resolution and framerate?

You shouldn't expect compression miracles from JPEG, use H.264 or any
other proper video codec to get better compression.

Cheers
 -Tim
-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list