|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
upgrade GStreamer supportHi all,
I experiment Stefan's patch (http://sourceforge.net/tracker/?func=detail&aid=2890398&group_id=22870&atid=376679) and use cvCreateFileCapture(). It works fine and I realize that it use some new functionalities of GStreamer that I didn't use yet like gst_element_make_from_uri(). Another suggestion of Stefan refers to change opencv api to explicit support codec. However, how is the best way to expose the support for several codecs? What others functionalities/features are necessary? Eduardo Marques ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Opencvlibrary-devel mailing list Opencvlibrary-devel@... https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel |
|
|
Re: upgrade GStreamer supportHi, i committed the patch to svn trunk.
It is not complete or bug free but seems to work :) There are some open issue that i hope Vadim or other on the list could clarify: TODO / Question - We could remove icv function inside and make class variable protected? - Put the code in open close without icv function or transform it in protected methods? - Geneally choiche a method for add codec/container parameter to the api and map to single backends -(low priority) Add support for v4l and dc1394 to the capture. Cheers, Stefano Il giorno ven, 06/11/2009 alle 10.24 +0000, Eduardo Marques ha scritto: > Hi all, > > I experiment Stefan's patch > (http://sourceforge.net/tracker/?func=detail&aid=2890398&group_id=22870&atid=376679) and use cvCreateFileCapture(). It works fine and I realize that it use some new functionalities of GStreamer that I didn't use yet like gst_element_make_from_uri(). > > Another suggestion of Stefan refers to change opencv api to explicit > support codec. However, how is the best way to expose the support for > several codecs? What others functionalities/features are necessary? > > Eduardo Marques > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ Opencvlibrary-devel mailing list Opencvlibrary-devel@... https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Opencvlibrary-devel mailing list Opencvlibrary-devel@... https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel |
|
|
Re: upgrade GStreamer supportHi Stefano,
Please, go ahead with the proposed changes. As long as the external interface does not change, internally you can reorganize the code as you want, especially if it becomes cleaner.
Regards, Vadim
On Fri, Nov 6, 2009 at 3:38 PM, bluef <bluefuture@...> wrote: Hi, i committed the patch to svn trunk. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Opencvlibrary-devel mailing list Opencvlibrary-devel@... https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel |
|
|
Re: upgrade GStreamer supportHi Vadim,
ok but this issue involve external interface change: - Generally choice a method for add codec/container parameter to the api Actually we use fourcc in cvCreateVideoWriter. But mainly fourcc is only for avi container. Generally we need to have parameter "container" (avi, ogg, dirac) and "codec". So how we could specify this parameters to be generally adaptable with different backend in opencv? Regards, Stefano > and map to single backends Il giorno ven, 06/11/2009 alle 18.34 +0300, Vadim Pisarevsky ha scritto: > Hi Stefano, > > > Please, go ahead with the proposed changes. > As long as the external interface does not change, internally you can > reorganize the code as you want, especially if it becomes cleaner. > > > Regards, > Vadim > > On Fri, Nov 6, 2009 at 3:38 PM, bluef <bluefuture@...> wrote: > Hi, i committed the patch to svn trunk. > It is not complete or bug free but seems to work :) > > There are some open issue that i hope Vadim or other on the > list could > clarify: > > TODO / Question > - We could remove icv function inside and make class variable > protected? > - Put the code in open close without icv function or transform > it in > protected methods? > - Geneally choiche a method for add codec/container parameter > to the api > and map to single backends > -(low priority) Add support for v4l and dc1394 to the capture. > > Cheers, > Stefano > > Il giorno ven, 06/11/2009 alle 10.24 +0000, Eduardo Marques ha > scritto: > > > Hi all, > > > > I experiment Stefan's patch > > > (http://sourceforge.net/tracker/?func=detail&aid=2890398&group_id=22870&atid=376679) and use cvCreateFileCapture(). It works fine and I realize that it use some new functionalities of GStreamer that I didn't use yet like gst_element_make_from_uri(). > > > > Another suggestion of Stefan refers to change opencv api to > explicit > > support codec. However, how is the best way to expose the > support for > > several codecs? What others functionalities/features are > necessary? > > > > Eduardo Marques > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > > trial. Simplify your report design, integration and > deployment - and focus on > > what you do best, core application coding. Discover what's > new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > Opencvlibrary-devel mailing list > Opencvlibrary-devel@... > https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and deployment > - and focus on > what you do best, core application coding. Discover what's new > with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Opencvlibrary-devel mailing list > Opencvlibrary-devel@... > https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Opencvlibrary-devel mailing list Opencvlibrary-devel@... https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel |
|
|
Re: upgrade GStreamer supportHello Stefano,
Well, the container can be determined from the file extension, in the case of images it is done this way and appears to work well for everybody. So the fourcc can be used to specify the codec. If some extra parameters are needed (such as bitrate, or the use of B-frames, etc.) it can be implemented as in the current cv::imwrite and cv::imencode. They take the optional vector of pairs: (parameter id, parameter value).
Regards, Vadim
On Fri, Nov 6, 2009 at 7:11 PM, bluef <bluefuture@...> wrote: Hi Vadim, ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Opencvlibrary-devel mailing list Opencvlibrary-devel@... https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel |
|
|
Re: upgrade GStreamer supportHello Vadim,
so do you think that we need to maintain an internal mapping for this[1] inside every backend? [1]http://www.fourcc.org/codecs.php Regards, Stefano Il giorno lun, 09/11/2009 alle 14.50 +0300, Vadim Pisarevsky ha scritto: > Hello Stefano, > > > Well, the container can be determined from the file extension, in the > case of images it is done this way and appears to work well for > everybody. So the fourcc can be used to specify the codec. If some > extra parameters are needed (such as bitrate, or the use of B-frames, > etc.) it can be implemented as in the current cv::imwrite and > cv::imencode. They take the optional vector of pairs: (parameter id, > parameter value). > > > Regards, > Vadim > > On Fri, Nov 6, 2009 at 7:11 PM, bluef <bluefuture@...> wrote: > Hi Vadim, > ok but this issue involve external interface change: > > - Generally choice a method for add codec/container parameter > to the api > > Actually we use fourcc in cvCreateVideoWriter. > But mainly fourcc is only for avi container. > Generally we need to have parameter "container" (avi, ogg, > dirac) and > "codec". > So how we could specify this parameters to be generally > adaptable with > different backend in opencv? > > Regards, > Stefano > > > and map to single backends > > Il giorno ven, 06/11/2009 alle 18.34 +0300, Vadim Pisarevsky > ha scritto: > > > Hi Stefano, > > > > > > Please, go ahead with the proposed changes. > > As long as the external interface does not change, > internally you can > > reorganize the code as you want, especially if it becomes > cleaner. > > > > > > Regards, > > Vadim > > > > On Fri, Nov 6, 2009 at 3:38 PM, bluef <bluefuture@...> > wrote: > > Hi, i committed the patch to svn trunk. > > It is not complete or bug free but seems to work :) > > > > There are some open issue that i hope Vadim or other > on the > > list could > > clarify: > > > > TODO / Question > > - We could remove icv function inside and make class > variable > > protected? > > - Put the code in open close without icv function or > transform > > it in > > protected methods? > > - Geneally choiche a method for add codec/container > parameter > > to the api > > and map to single backends > > -(low priority) Add support for v4l and dc1394 to > the capture. > > > > Cheers, > > Stefano > > > > Il giorno ven, 06/11/2009 alle 10.24 +0000, Eduardo > Marques ha > > scritto: > > > > > Hi all, > > > > > > I experiment Stefan's patch > > > > > > (http://sourceforge.net/tracker/?func=detail&aid=2890398&group_id=22870&atid=376679) and use cvCreateFileCapture(). It works fine and I realize that it use some new functionalities of GStreamer that I didn't use yet like gst_element_make_from_uri(). > > > > > > Another suggestion of Stefan refers to change > opencv api to > > explicit > > > support codec. However, how is the best way to > expose the > > support for > > > several codecs? What others > functionalities/features are > > necessary? > > > > > > Eduardo Marques > > > > > > > > ------------------------------------------------------------------------------ > > > Let Crystal Reports handle the reporting - Free > Crystal > > Reports 2008 30-Day > > > trial. Simplify your report design, integration > and > > deployment - and focus on > > > what you do best, core application coding. > Discover what's > > new with > > > Crystal Reports now. > http://p.sf.net/sfu/bobj-july > > > _______________________________________________ > > Opencvlibrary-devel mailing list > > Opencvlibrary-devel@... > > > https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel > > > > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free > Crystal > > Reports 2008 30-Day > > trial. Simplify your report design, integration and > deployment > > - and focus on > > what you do best, core application coding. Discover > what's new > > with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Opencvlibrary-devel mailing list > > Opencvlibrary-devel@... > > > https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel > > > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and deployment > - and focus on > what you do best, core application coding. Discover what's new > with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Opencvlibrary-devel mailing list > Opencvlibrary-devel@... > https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel > > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Opencvlibrary-devel mailing list Opencvlibrary-devel@... https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel |
|
|
Re: upgrade GStreamer supportHello Stefano,
Yes, why not. We do not have to support every fourcc, only the most popular ones (motion jpeg, mpeg 2, mpeg 4 (xvid, dx50), h264, ogg (theora?), "raw" uncompressed, probably that's it).
Remember, that's encoding, not decoding, it can be enough to support just a few formats. If user needs some exotic representation, he may store the video in some of OpenCV supported formats and then recode the video using VirtualDub, ffmpeg or other such tool.
Regards, Vadim
On Mon, Nov 9, 2009 at 3:06 PM, bluef <bluefuture@...> wrote: Hello Vadim, ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Opencvlibrary-devel mailing list Opencvlibrary-devel@... https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel |
| Free embeddable forum powered by Nabble | Forum Help |