Control I-frame Size

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

Control I-frame Size

qwerty-1
Hi, What all settings of ffenc_h263 will help me to control/reduce the size of I-Frame?

Thanks in Advance  

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Control I-frame Size

ak.ashwini
Hi,

I think you can use videoscale to do the job.

--Ashwini

On Mon, Nov 28, 2011 at 10:58 PM, Umakant Goyal <[hidden email]> wrote:
Hi, What all settings of ffenc_h263 will help me to control/reduce the size of I-Frame?

Thanks in Advance  

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Control I-frame Size

qwerty-1
Hi Ashwini, I think you misunderstood me. Here i am not talking about picture size.I need to reduce the number of bits that is being produced by encoder to generate I-Frame. Please suggest how to reduce the number of bits for per I-Frame without loosing the quality much.

Thanks

On Fri, Dec 2, 2011 at 4:43 PM, Ashwini Sharma <[hidden email]> wrote:
Hi,

I think you can use videoscale to do the job.

--Ashwini

On Mon, Nov 28, 2011 at 10:58 PM, Umakant Goyal <[hidden email]> wrote:
Hi, What all settings of ffenc_h263 will help me to control/reduce the size of I-Frame?

Thanks in Advance  

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Control I-frame Size

Michael Joachimiak
Bitrate fluctuation is normal in case of I-frame. I don't know if you can do much about it apart from using rate control. 
Do you use any rate control?
Instead of having periodical intra-frame refresh you could have cyclic intra macroblock refresh. It means you do not refresh the whole frame at once but you have some macroblocks forced to be encoded as intra in every frame.
Thus the whole frame is intra-refreshed after some period of time.

2011/12/3 Umakant Goyal <[hidden email]>
Hi Ashwini, I think you misunderstood me. Here i am not talking about picture size.I need to reduce the number of bits that is being produced by encoder to generate I-Frame. Please suggest how to reduce the number of bits for per I-Frame without loosing the quality much.

Thanks


On Fri, Dec 2, 2011 at 4:43 PM, Ashwini Sharma <[hidden email]> wrote:
Hi,

I think you can use videoscale to do the job.

--Ashwini

On Mon, Nov 28, 2011 at 10:58 PM, Umakant Goyal <[hidden email]> wrote:
Hi, What all settings of ffenc_h263 will help me to control/reduce the size of I-Frame?

Thanks in Advance  

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Your Sincerely
Michal Joachimiak

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Control I-frame Size

qwerty-1
Thanks Michael, My Problem is that initial I-Frame size (bitrate) is very high. I want to reduce the size of initial I-Frame.

How can i force encoder to do cyclic intra macroblock refresh instead of periodical intra-frame refresh?  

On Sun, Dec 4, 2011 at 2:42 PM, Michael Joachimiak <[hidden email]> wrote:
Bitrate fluctuation is normal in case of I-frame. I don't know if you can do much about it apart from using rate control. 
Do you use any rate control?
Instead of having periodical intra-frame refresh you could have cyclic intra macroblock refresh. It means you do not refresh the whole frame at once but you have some macroblocks forced to be encoded as intra in every frame.
Thus the whole frame is intra-refreshed after some period of time.


2011/12/3 Umakant Goyal <[hidden email]>
Hi Ashwini, I think you misunderstood me. Here i am not talking about picture size.I need to reduce the number of bits that is being produced by encoder to generate I-Frame. Please suggest how to reduce the number of bits for per I-Frame without loosing the quality much.

Thanks


On Fri, Dec 2, 2011 at 4:43 PM, Ashwini Sharma <[hidden email]> wrote:
Hi,

I think you can use videoscale to do the job.

--Ashwini

On Mon, Nov 28, 2011 at 10:58 PM, Umakant Goyal <[hidden email]> wrote:
Hi, What all settings of ffenc_h263 will help me to control/reduce the size of I-Frame?

Thanks in Advance  

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Your Sincerely
Michal Joachimiak

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Control I-frame Size

Michael Joachimiak
AFAIK There is no way you can decrease bitrate for initial I-frame since there is no frames before that frame to serve for prediction.
The only way at that point is to use higher QP or to use different encoding standard.

cyclic intra macroblock refresh can help you to remove bitrate fluctuation on I-frames but still first frame has to be intra predicted (has to  be I).


2011/12/4 Umakant Goyal <[hidden email]>
Thanks Michael, My Problem is that initial I-Frame size (bitrate) is very high. I want to reduce the size of initial I-Frame.

How can i force encoder to do cyclic intra macroblock refresh instead of periodical intra-frame refresh?  

On Sun, Dec 4, 2011 at 2:42 PM, Michael Joachimiak <[hidden email]> wrote:
Bitrate fluctuation is normal in case of I-frame. I don't know if you can do much about it apart from using rate control. 
Do you use any rate control?
Instead of having periodical intra-frame refresh you could have cyclic intra macroblock refresh. It means you do not refresh the whole frame at once but you have some macroblocks forced to be encoded as intra in every frame.
Thus the whole frame is intra-refreshed after some period of time.


2011/12/3 Umakant Goyal <[hidden email]>
Hi Ashwini, I think you misunderstood me. Here i am not talking about picture size.I need to reduce the number of bits that is being produced by encoder to generate I-Frame. Please suggest how to reduce the number of bits for per I-Frame without loosing the quality much.

Thanks


On Fri, Dec 2, 2011 at 4:43 PM, Ashwini Sharma <[hidden email]> wrote:
Hi,

I think you can use videoscale to do the job.

--Ashwini

On Mon, Nov 28, 2011 at 10:58 PM, Umakant Goyal <[hidden email]> wrote:
Hi, What all settings of ffenc_h263 will help me to control/reduce the size of I-Frame?

Thanks in Advance  

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Your Sincerely
Michal Joachimiak

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Your Sincerely
Michal Joachimiak

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Control I-frame Size

qwerty-1
you are right.Can you please share how to force the encoder to use intra macro block refresh in between not for first I-Frame?

On Sun, Dec 4, 2011 at 6:35 PM, Michael Joachimiak <[hidden email]> wrote:
AFAIK There is no way you can decrease bitrate for initial I-frame since there is no frames before that frame to serve for prediction.
The only way at that point is to use higher QP or to use different encoding standard.

cyclic intra macroblock refresh can help you to remove bitrate fluctuation on I-frames but still first frame has to be intra predicted (has to  be I).



2011/12/4 Umakant Goyal <[hidden email]>
Thanks Michael, My Problem is that initial I-Frame size (bitrate) is very high. I want to reduce the size of initial I-Frame.

How can i force encoder to do cyclic intra macroblock refresh instead of periodical intra-frame refresh?  

On Sun, Dec 4, 2011 at 2:42 PM, Michael Joachimiak <[hidden email]> wrote:
Bitrate fluctuation is normal in case of I-frame. I don't know if you can do much about it apart from using rate control. 
Do you use any rate control?
Instead of having periodical intra-frame refresh you could have cyclic intra macroblock refresh. It means you do not refresh the whole frame at once but you have some macroblocks forced to be encoded as intra in every frame.
Thus the whole frame is intra-refreshed after some period of time.


2011/12/3 Umakant Goyal <[hidden email]>
Hi Ashwini, I think you misunderstood me. Here i am not talking about picture size.I need to reduce the number of bits that is being produced by encoder to generate I-Frame. Please suggest how to reduce the number of bits for per I-Frame without loosing the quality much.

Thanks


On Fri, Dec 2, 2011 at 4:43 PM, Ashwini Sharma <[hidden email]> wrote:
Hi,

I think you can use videoscale to do the job.

--Ashwini

On Mon, Nov 28, 2011 at 10:58 PM, Umakant Goyal <[hidden email]> wrote:
Hi, What all settings of ffenc_h263 will help me to control/reduce the size of I-Frame?

Thanks in Advance  

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Your Sincerely
Michal Joachimiak

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Your Sincerely
Michal Joachimiak

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Control I-frame Size

Michael Joachimiak
it depends on your encoder.
Please check in the options.

2011/12/4 Umakant Goyal <[hidden email]>
you are right.Can you please share how to force the encoder to use intra macro block refresh in between not for first I-Frame?

On Sun, Dec 4, 2011 at 6:35 PM, Michael Joachimiak <[hidden email]> wrote:
AFAIK There is no way you can decrease bitrate for initial I-frame since there is no frames before that frame to serve for prediction.
The only way at that point is to use higher QP or to use different encoding standard.

cyclic intra macroblock refresh can help you to remove bitrate fluctuation on I-frames but still first frame has to be intra predicted (has to  be I).



2011/12/4 Umakant Goyal <[hidden email]>
Thanks Michael, My Problem is that initial I-Frame size (bitrate) is very high. I want to reduce the size of initial I-Frame.

How can i force encoder to do cyclic intra macroblock refresh instead of periodical intra-frame refresh?  

On Sun, Dec 4, 2011 at 2:42 PM, Michael Joachimiak <[hidden email]> wrote:
Bitrate fluctuation is normal in case of I-frame. I don't know if you can do much about it apart from using rate control. 
Do you use any rate control?
Instead of having periodical intra-frame refresh you could have cyclic intra macroblock refresh. It means you do not refresh the whole frame at once but you have some macroblocks forced to be encoded as intra in every frame.
Thus the whole frame is intra-refreshed after some period of time.


2011/12/3 Umakant Goyal <[hidden email]>
Hi Ashwini, I think you misunderstood me. Here i am not talking about picture size.I need to reduce the number of bits that is being produced by encoder to generate I-Frame. Please suggest how to reduce the number of bits for per I-Frame without loosing the quality much.

Thanks


On Fri, Dec 2, 2011 at 4:43 PM, Ashwini Sharma <[hidden email]> wrote:
Hi,

I think you can use videoscale to do the job.

--Ashwini

On Mon, Nov 28, 2011 at 10:58 PM, Umakant Goyal <[hidden email]> wrote:
Hi, What all settings of ffenc_h263 will help me to control/reduce the size of I-Frame?

Thanks in Advance  

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Your Sincerely
Michal Joachimiak

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Your Sincerely
Michal Joachimiak

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Your Sincerely
Michal Joachimiak

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel