Additional information about ffenc_mpeg4

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Additional information about ffenc_mpeg4

Wes Miller
Administrator
Hi,

I just did a gst-inspect on ffenc_mpeg4.  Wow, that's a lot of options.  I don't have a clue what many of them are for nor any idea how to choose values best suited for my use (encoding a webcam feed).  Can someone point me to useful documentation on choosing good settings?

Thanks!

Wes
Reply | Threaded
Open this post in threaded view
|

Re: Additional information about ffenc_mpeg4

Stefan Sauer
On 02.07.2010 16:23, Wes Miller wrote:

> Hi,
>
> I just did a gst-inspect on ffenc_mpeg4.  Wow, that's a lot of options.  I
> don't have a clue what may of them are not any idea how to choose values
> best suited for my use (encoding a webcam feed).  Can someone point me to
> useful documentation on choosing good settings?
>
> Thanks!
>
> Wes
>  
I am afraid you will need to read the mpeg4 spec. Having presets for the
mpeg4 encoder would be nice of course.

Stefan

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Additional information about ffenc_mpeg4

wally_bkg
Stefan Kost wrote
On 02.07.2010 16:23, Wes Miller wrote:

I am afraid you will need to read the mpeg4 spec. Having presets for the
mpeg4 encoder would be nice of course.

Stefan
For me the defaults produce pretty much crap quality, so you are saying we are basically SOL if the defaults element settings aren't good enough?
Reply | Threaded
Open this post in threaded view
|

Re: Additional information about ffenc_mpeg4

wally_bkg
Stumbling around in the dark I find:

    encode=gst_element_factory_make("ffenc_mpeg4", "encoder");
    mux=gst_element_factory_make("ffmux_mp4", "muxer");
        g_object_set (G_OBJECT (encode), "bitrate", 2000000, NULL);
        g_object_set (G_OBJECT (encode), "interlaced", TRUE, NULL);

gives me what looks to be usable quality and about 9MB/minute file sizes.

I'd sure like some settings infromation from someone who knows what they are doing!