H.264 performance optimization, and gstreamer for coreavc

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

H.264 performance optimization, and gstreamer for coreavc

shenyue
Hi,

I'm working on gstreamer to improve H.264 decode performance on multi-cpu
PC, ffmpeg's H.264 decode's performance seems not very good (can only run on
one cpu one hyperthread).
According to mplayer's document, using wine+dshowserver+coreavc is one way
which can significantly improve H.264 decode performance, but I can't find
any gstreamer element/plugin using coreavc/dshowserver, So I'm writing one.

So does anybody know whether there's such element (using
coreavc+dshowserver, just like mplayer) or plan for such element?
And is there any other way to improve H.264 decoding performance, including
use multi-cpu or any other way?

Thanks a lot.

Karma



搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
新地址为:上海张江祖冲之路887弄88号502室。
==========================================================

------------------------------------------------------------------------------
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: H.264 performance optimization, and gstreamer for coreavc

Kapil Agrawal
One way might be to write you own codecs + gst plugin, optimized for multi thread utilization.
Typically embedded platforms have such codecs desiged as per there specific need.

Best
-kapil

On Wed, Jun 9, 2010 at 4:26 PM, shenyue <[hidden email]> wrote:
Hi,

I'm working on gstreamer to improve H.264 decode performance on multi-cpu
PC, ffmpeg's H.264 decode's performance seems not very good (can only run on
one cpu one hyperthread).
According to mplayer's document, using wine+dshowserver+coreavc is one way
which can significantly improve H.264 decode performance, but I can't find
any gstreamer element/plugin using coreavc/dshowserver, So I'm writing one.

So does anybody know whether there's such element (using
coreavc+dshowserver, just like mplayer) or plan for such element?
And is there any other way to improve H.264 decoding performance, including
use multi-cpu or any other way?

Thanks a lot.

Karma



搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
新地址为:上海张江祖冲之路887弄88号502室。
==========================================================

------------------------------------------------------------------------------
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: H.264 performance optimization, and gstreamer for coreavc

Julien Moutte-2
FFmpeg has multithread support I think. Are you sure you can no try to
build ffmpeg and gst-ffmpeg correctly to get proper multithread
support ?

I have been comparing the ffmpeg multithread performance with
Fluendo's H264 decoder and they are pretty similar using all the
cores.

Best regards,

Julien Moutte,
FLUENDO S.A.



2010/6/10 Kapil Agrawal <[hidden email]>:

> One way might be to write you own codecs + gst plugin, optimized for multi
> thread utilization.
> Typically embedded platforms have such codecs desiged as per there specific
> need.
>
> Best
> -kapil
>
> On Wed, Jun 9, 2010 at 4:26 PM, shenyue <[hidden email]> wrote:
>>
>> Hi,
>>
>> I'm working on gstreamer to improve H.264 decode performance on multi-cpu
>> PC, ffmpeg's H.264 decode's performance seems not very good (can only run
>> on
>> one cpu one hyperthread).
>> According to mplayer's document, using wine+dshowserver+coreavc is one way
>> which can significantly improve H.264 decode performance, but I can't find
>> any gstreamer element/plugin using coreavc/dshowserver, So I'm writing
>> one.
>>
>> So does anybody know whether there's such element (using
>> coreavc+dshowserver, just like mplayer) or plan for such element?
>> And is there any other way to improve H.264 decoding performance,
>> including
>> use multi-cpu or any other way?
>>
>> Thanks a lot.
>>
>> Karma
>>
>>
>>
>> 搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
>> 新地址为:上海张江祖冲之路887弄88号502室。
>> ==========================================================
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>
>

------------------------------------------------------------------------------
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: H.264 performance optimization, and gstreamer for coreavc

Robert Swain-2
2010/6/10 Julien Moutte <[hidden email]>:
> FFmpeg has multithread support I think. Are you sure you can no try to
> build ffmpeg and gst-ffmpeg correctly to get proper multithread
> support ?
>
> I have been comparing the ffmpeg multithread performance with
> Fluendo's H264 decoder and they are pretty similar using all the
> cores.

http://gitorious.org/ffmpeg/ffmpeg-mt

It's not yet merged into trunk and not even being attempted yet as
there are a number of things left on Alexander's todo list.

Regards,
Rob

------------------------------------------------------------------------------
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: H.264 performance optimization, and gstreamer for coreavc

Julien Moutte-2
Strange, I was sure I've seen decoding of H264 through ffmpeg happen
on multiple cores...

I will double check...

Julien Moutte,
FLUENDO S.A.



On Thu, Jun 10, 2010 at 10:35 AM, Robert Swain <[hidden email]> wrote:

> 2010/6/10 Julien Moutte <[hidden email]>:
>> FFmpeg has multithread support I think. Are you sure you can no try to
>> build ffmpeg and gst-ffmpeg correctly to get proper multithread
>> support ?
>>
>> I have been comparing the ffmpeg multithread performance with
>> Fluendo's H264 decoder and they are pretty similar using all the
>> cores.
>
> http://gitorious.org/ffmpeg/ffmpeg-mt
>
> It's not yet merged into trunk and not even being attempted yet as
> there are a number of things left on Alexander's todo list.
>
> Regards,
> Rob
>
> ------------------------------------------------------------------------------
> 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: H.264 performance optimization, and gstreamer for coreavc

shenyue
In reply to this post by Julien Moutte-2
Thanks for reply so soon.

I've seldom posted in this maillist, so you really encourage me a lot.

I've not yet tried ffmpeg multithread version, and will try it recently.
Since you've compared ffmpeg multithread with Fluendo's H.264 decoder,
have you compared CoreCodec CoreAVC with Fluendo's H.264 decoder?
are they similar too?

Best regards,

Karma

----- Original Message -----
From: "Julien Moutte" <[hidden email]>
To: "Discussion of the development of GStreamer"
<[hidden email]>
Sent: Thursday, June 10, 2010 4:27 PM
Subject: Re: [gst-devel] H.264 performance optimization,and gstreamer for
coreavc


> FFmpeg has multithread support I think. Are you sure you can no try to
> build ffmpeg and gst-ffmpeg correctly to get proper multithread
> support ?
>
> I have been comparing the ffmpeg multithread performance with
> Fluendo's H264 decoder and they are pretty similar using all the
> cores.
>
> Best regards,
>
> Julien Moutte,
> FLUENDO S.A.
>
>
>
> 2010/6/10 Kapil Agrawal <[hidden email]>:
>> One way might be to write you own codecs + gst plugin, optimized for
>> multi
>> thread utilization.
>> Typically embedded platforms have such codecs desiged as per there
>> specific
>> need.
>>
>> Best
>> -kapil
>>
>> On Wed, Jun 9, 2010 at 4:26 PM, shenyue <[hidden email]> wrote:
>>>
>>> Hi,
>>>
>>> I'm working on gstreamer to improve H.264 decode performance on
>>> multi-cpu
>>> PC, ffmpeg's H.264 decode's performance seems not very good (can only
>>> run
>>> on
>>> one cpu one hyperthread).
>>> According to mplayer's document, using wine+dshowserver+coreavc is one
>>> way
>>> which can significantly improve H.264 decode performance, but I can't
>>> find
>>> any gstreamer element/plugin using coreavc/dshowserver, So I'm writing
>>> one.
>>>
>>> So does anybody know whether there's such element (using
>>> coreavc+dshowserver, just like mplayer) or plan for such element?
>>> And is there any other way to improve H.264 decoding performance,
>>> including
>>> use multi-cpu or any other way?
>>>
>>> Thanks a lot.
>>>
>>> Karma
>>>
>>>
>>>
>>> 搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
>>> 新地址为:上海张江祖冲之路887弄88号502室。
>>> ==========================================================
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>
>>
>
> ------------------------------------------------------------------------------
> 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
>



搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
新地址为:上海张江祖冲之路887弄88号502室。
==========================================================

------------------------------------------------------------------------------
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: H.264 performance optimization, and gstreamer for coreavc

shenyue
In reply to this post by Kapil Agrawal
Hi Kapil,

Thanks for replying soon.

I've finished my gst plugin using wine + coreavc + dshowserver.
I just follow http://code.google.com/p/coreavc-for-linux/  , and port it's
mplayer coreavc patch (vd_dshowserver.c) to gstreamer.

It works, but everytime I start my H.264 decode through wine, it takes
one more second to start, and whenever system bootup, it takes wine
 5 more second to start my decoder, so I'm working on it.

So far, I've not compared coreavc(especially with wine) with
ffmpeg-mt and fluendo's H.264 decoder yet.
Also, I haven't compare performance between coreavc+wine in linux and
coreavc in windows, so I don't know whether there's a performance lost in
wine.

Best Regards,

Karma

----- Original Message -----
From: "Kapil Agrawal" <[hidden email]>
To: "Discussion of the development of GStreamer"
<[hidden email]>
Sent: Thursday, June 10, 2010 4:13 PM
Subject: Re: [gst-devel] H.264 performance optimization,and gstreamer for
coreavc


One way might be to write you own codecs + gst plugin, optimized for multi
thread utilization.
Typically embedded platforms have such codecs desiged as per there specific
need.

Best
-kapil

On Wed, Jun 9, 2010 at 4:26 PM, shenyue <[hidden email]> wrote:

> Hi,
>
> I'm working on gstreamer to improve H.264 decode performance on multi-cpu
> PC, ffmpeg's H.264 decode's performance seems not very good (can only run
> on
> one cpu one hyperthread).
> According to mplayer's document, using wine+dshowserver+coreavc is one way
> which can significantly improve H.264 decode performance, but I can't find
> any gstreamer element/plugin using coreavc/dshowserver, So I'm writing
> one.
>
> So does anybody know whether there's such element (using
> coreavc+dshowserver, just like mplayer) or plan for such element?
> And is there any other way to improve H.264 decoding performance,
> including
> use multi-cpu or any other way?
>
> Thanks a lot.
>
> Karma
>
>
>
> 搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
> 新地址为:上海张江祖冲之路887弄88号502室。
> ==========================================================
>
>
> ------------------------------------------------------------------------------
> 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
>



搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
新地址为:上海张江祖冲之路887弄88号502室。
==========================================================

------------------------------------------------------------------------------
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: H.264 performance optimization, and gstreamer for coreavc

shenyue
In reply to this post by Robert Swain-2
Hi Robert,

Thanks a lot for your help, I'll try ffmpeg-mt as soon as possible.
:)

Best Regards,

Karma
----- Original Message -----
From: "Robert Swain" <[hidden email]>
To: "Discussion of the development of GStreamer"
<[hidden email]>
Sent: Thursday, June 10, 2010 4:35 PM
Subject: Re: [gst-devel] H.264 performance optimization,and gstreamer for
coreavc


> 2010/6/10 Julien Moutte <[hidden email]>:
>> FFmpeg has multithread support I think. Are you sure you can no try to
>> build ffmpeg and gst-ffmpeg correctly to get proper multithread
>> support ?
>>
>> I have been comparing the ffmpeg multithread performance with
>> Fluendo's H264 decoder and they are pretty similar using all the
>> cores.
>
> http://gitorious.org/ffmpeg/ffmpeg-mt
>
> It's not yet merged into trunk and not even being attempted yet as
> there are a number of things left on Alexander's todo list.
>
> Regards,
> Rob
>
> ------------------------------------------------------------------------------
> 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
>



搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
新地址为:上海张江祖冲之路887弄88号502室。
==========================================================

------------------------------------------------------------------------------
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: H.264 performance optimization, and gstreamer for coreavc

Kapil Agrawal
In reply to this post by shenyue
Hello Karma,

Curious why do you so much want to use coreavc codec ?
If it needs wine to run , its anyways not a great idea to use such codec on linux natively IMHO.

Best
Kapil

On Fri, Jun 11, 2010 at 6:45 AM, shenyue <[hidden email]> wrote:
Hi Kapil,

Thanks for replying soon.

I've finished my gst plugin using wine + coreavc + dshowserver.
I just follow http://code.google.com/p/coreavc-for-linux/  , and port it's
mplayer coreavc patch (vd_dshowserver.c) to gstreamer.

It works, but everytime I start my H.264 decode through wine, it takes
one more second to start, and whenever system bootup, it takes wine
 5 more second to start my decoder, so I'm working on it.

So far, I've not compared coreavc(especially with wine) with
ffmpeg-mt and fluendo's H.264 decoder yet.
Also, I haven't compare performance between coreavc+wine in linux and
coreavc in windows, so I don't know whether there's a performance lost in
wine.

Best Regards,

Karma

----- Original Message -----
From: "Kapil Agrawal" <[hidden email]>
To: "Discussion of the development of GStreamer"
Sent: Thursday, June 10, 2010 4:13 PM
Subject: Re: [gst-devel] H.264 performance optimization,and gstreamer for
coreavc


One way might be to write you own codecs + gst plugin, optimized for multi
thread utilization.
Typically embedded platforms have such codecs desiged as per there specific
need.

Best
-kapil

On Wed, Jun 9, 2010 at 4:26 PM, shenyue <[hidden email]> wrote:

> Hi,
>
> I'm working on gstreamer to improve H.264 decode performance on multi-cpu
> PC, ffmpeg's H.264 decode's performance seems not very good (can only run
> on
> one cpu one hyperthread).
> According to mplayer's document, using wine+dshowserver+coreavc is one way
> which can significantly improve H.264 decode performance, but I can't find
> any gstreamer element/plugin using coreavc/dshowserver, So I'm writing
> one.
>
> So does anybody know whether there's such element (using
> coreavc+dshowserver, just like mplayer) or plan for such element?
> And is there any other way to improve H.264 decoding performance,
> including
> use multi-cpu or any other way?
>
> Thanks a lot.
>
> Karma
>
>
>
> 搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
> 新地址为:上海张江祖冲之路887弄88号502室。
> ==========================================================
>
>
> ------------------------------------------------------------------------------
> 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
>



搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
新地址为:上海张江祖冲之路887弄88号502室。
==========================================================

------------------------------------------------------------------------------
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: H.264 performance optimization, and gstreamer for coreavc

shenyue
Hello Kapil,

I agree with you, anyhow need wine is not a good idea.

Blush, because a few days ago when I realize that I need to optimize H.264
performance,
I don't know much about how ffmpeg/mplayer multithread is going on. Also at
that time,
after some google work, someone said that coreavc is quite good, and since
there's already
coreavc-for-linux project there, I tried and found out it's really simple
for mplayer+coreavc+wine
to work, and the source code is also very simple (vd_dshowserver.c). So
that's why I write
a gst plugin for coreavc.

Now since you have told me about ffmpeg multithread, of course I'll try it,
if its performance
is similiar to coreavc and Fluendo's H.264 decode, ffmpeg-mt will be the
right choice.

Again thanks for your to give me directions.

Best Regards,

Karma

----- Original Message -----
From: "Kapil Agrawal" <[hidden email]>
To: "Discussion of the development of GStreamer"
<[hidden email]>
Sent: Friday, June 11, 2010 2:19 PM
Subject: Re: [gst-devel] H.264 performance optimization,and gstreamer for
coreavc


Hello Karma,

Curious why do you so much want to use coreavc codec ?
If it needs wine to run , its anyways not a great idea to use such codec on
linux natively IMHO.

Best
Kapil

On Fri, Jun 11, 2010 at 6:45 AM, shenyue <[hidden email]> wrote:

> Hi Kapil,
>
> Thanks for replying soon.
>
> I've finished my gst plugin using wine + coreavc + dshowserver.
> I just follow http://code.google.com/p/coreavc-for-linux/  , and port it's
> mplayer coreavc patch (vd_dshowserver.c) to gstreamer.
>
> It works, but everytime I start my H.264 decode through wine, it takes
> one more second to start, and whenever system bootup, it takes wine
>  5 more second to start my decoder, so I'm working on it.
>
> So far, I've not compared coreavc(especially with wine) with
> ffmpeg-mt and fluendo's H.264 decoder yet.
> Also, I haven't compare performance between coreavc+wine in linux and
> coreavc in windows, so I don't know whether there's a performance lost in
> wine.
>
> Best Regards,
>
> Karma
>
> ----- Original Message -----
> From: "Kapil Agrawal" <[hidden email]>
> To: "Discussion of the development of GStreamer"
> <[hidden email]>
> Sent: Thursday, June 10, 2010 4:13 PM
> Subject: Re: [gst-devel] H.264 performance optimization,and gstreamer for
> coreavc
>
>
> One way might be to write you own codecs + gst plugin, optimized for multi
> thread utilization.
> Typically embedded platforms have such codecs desiged as per there
> specific
> need.
>
> Best
> -kapil
>
> On Wed, Jun 9, 2010 at 4:26 PM, shenyue <[hidden email]> wrote:
>
> > Hi,
> >
> > I'm working on gstreamer to improve H.264 decode performance on
> > multi-cpu
> > PC, ffmpeg's H.264 decode's performance seems not very good (can only
> > run
> > on
> > one cpu one hyperthread).
> > According to mplayer's document, using wine+dshowserver+coreavc is one
> way
> > which can significantly improve H.264 decode performance, but I can't
> find
> > any gstreamer element/plugin using coreavc/dshowserver, So I'm writing
> > one.
> >
> > So does anybody know whether there's such element (using
> > coreavc+dshowserver, just like mplayer) or plan for such element?
> > And is there any other way to improve H.264 decoding performance,
> > including
> > use multi-cpu or any other way?
> >
> > Thanks a lot.
> >
> > Karma
> >
> >
> >
> > 搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
> > 新地址为:上海张江祖冲之路887弄88号502室。
> > ==========================================================
> >
> >
> >
> ------------------------------------------------------------------------------
> > 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
> >
>
>
>
> 搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
> 新地址为:上海张江祖冲之路887弄88号502室。
> ==========================================================
>
>
> ------------------------------------------------------------------------------
> 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
>



搬迁通知: 2010年1月18日起,上海奇码数字信息有限公司迁至新址办公。
新地址为:上海张江祖冲之路887弄88号502室。
==========================================================

------------------------------------------------------------------------------
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