Format Conversion and Compression

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

Format Conversion and Compression

Wes Miller
Administrator
Hi All,

This is probably right under my nose...if I just knew what to search for.  But, let's get it in one place.

Given a filesrc (or a stream, I suppose) containing some sort of recorded video recorded at hi-def, big size, etc.,  (NOTE:  I'm starting with mjpeg for now.)

How do I change to a different format, say, mjpeg to mpeg?

How do I alter the compression ratio?  

How do I reduce the image size?

How do I lower the image quality (lower the resolution)?


Thanks,

Wes


Reply | Threaded
Open this post in threaded view
|

Re: Format Conversion and Compression

Kapil Agrawal
Wes,

All of this can be accomplised by gstreamer.
So write a gstreamer application to do that.

Best
Kapil

On Wed, Jun 9, 2010 at 8:42 PM, Wes Miller <[hidden email]> wrote:

Hi All,

This is probably right under my nose...if I just knew what to search for.
But, let's get it in one place.

Given a filesrc (or a stream, I suppose) containing some sort of recorded
video recorded at hi-def, big size, etc.,  (NOTE:  I'm starting with mjpeg
for now.)

How do I change to a different format, say, mjpeg to mpeg?

How do I alter the compression ratio?

How do I reduce the image size?

How do I lower the image quality (lower the resolution)?


Thanks,

Wes



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Format-Conversion-and-Compression-tp2249006p2249006.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Format Conversion and Compression

Stefan Sauer
In reply to this post by Wes Miller
On 09.06.2010 18:12, Wes Miller wrote:

> Hi All,
>
> This is probably right under my nose...if I just knew what to search for.
> But, let's get it in one place.
>
> Given a filesrc (or a stream, I suppose) containing some sort of recorded
> video recorded at hi-def, big size, etc.,  (NOTE:  I'm starting with mjpeg
> for now.)
>
> How do I change to a different format, say, mjpeg to mpeg?
>  
remux/transcode
> How do I alter the compression ratio?  
>  
transcode
> How do I reduce the image size?
>  
videoscale in the middle of the transcode
> How do I lower the image quality (lower the resolution)?
>  
resolution is imagesize, right? You can also lower the frame rate
>
> Thanks,
>
> We

For all these things, you want to have a close look on what edward is
doing here:
http://git.collabora.co.uk/?p=user/edward/gst-convenience.git

Stefan

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Format Conversion and Compression

Wes Miller
Administrator
Stefan,

Thanks for the kind answers.  Even as I wrote these questions I knew I was having a dead-brain day.

Wes

-----Original Message-----
From: Stefan Kost [mailto:[hidden email]]
Sent: Friday, June 11, 2010 11:36 AM
To: [hidden email]
Subject: Re: [gst-devel] Format Conversion and Compression

On 09.06.2010 18:12, Wes Miller wrote:

> Hi All,
>
> This is probably right under my nose...if I just knew what to search for.
> But, let's get it in one place.
>
> Given a filesrc (or a stream, I suppose) containing some sort of recorded
> video recorded at hi-def, big size, etc.,  (NOTE:  I'm starting with mjpeg
> for now.)
>
> How do I change to a different format, say, mjpeg to mpeg?
>  
remux/transcode
> How do I alter the compression ratio?  
>  
transcode
> How do I reduce the image size?
>  
videoscale in the middle of the transcode
> How do I lower the image quality (lower the resolution)?
>  
resolution is imagesize, right? You can also lower the frame rate
>
> Thanks,
>
> We

For all these things, you want to have a close look on what edward is
doing here:
http://git.collabora.co.uk/?p=user/edward/gst-convenience.git

Stefan

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Format Conversion and Compression

Wes Miller
Administrator
Stefan,

Just for clarity, define "transcode".

Wes
Reply | Threaded
Open this post in threaded view
|

Re: Format Conversion and Compression

Stefan Sauer
Am 14.06.2010 16:24, schrieb Wes Miller:
>
> Stefan,
>
> Just for clarity, define "transcode".

transcode = reencode, decode input format and encode to desired output fromat.

Stefan

>
> Wes


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel