Hi,
just remember to also set the -f option to force the use of the
specified pixel format (otherwise the camera default one is used).
So the two options that need to be set are: -o -f

regards,
Paulo

2011/9/12 Ajay Bhargav <ajay.bhar...@einfochips.com>:
> Hi Paulo,
>
> This is good.. thanks I will test it with my camera too..
>
> Regards,
> Ajay Bhargav
>
> ----- "Paulo Assis" <pj.as...@gmail.com> wrote:
>
>> Hi,
>> see attached a patched capture example, for saving the driver output
>> buffer into raw files (200).
>> I haven't been able to test build it, but the changes are minimal so
>> it should work.
>>
>> You just need to change the resolution, and maybe the pixel format to
>> whatever the driver expects.
>> see lines 495-497.
>>
>> Regards,
>> Paulo
>>
>> 2011/9/9 Robert Krakora <rob.krak...@messagenetsystems.com>:
>> > All,
>> >
>> > I forgot to tell you that I came up with one more patch for the UVC
>> source
>> > in v4l2 to get MPEG2 transport streams to behave correctly.  I have
>> attached
>> > it to this e-mail.  My sincerest apologies.
>> >
>> > Best Regards,
>> >
>> > --
>> > Rob Krakora
>> > MessageNet Systems
>> > 101 East Carmel Dr. Suite 105
>> > Carmel, IN 46032
>> > (317)566-1677 Ext 212
>> > (317)663-0808 Fax
>> >
>> > On Fri, Sep 9, 2011 at 10:05 AM, Paulo Assis <pj.as...@gmail.com>
>> wrote:
>> >>
>> >> Well one important thing to notice is the pixel format returned by
>> the
>> >> driver, will it differentiate between avc and svc streams, or even
>> >> mpeg2 ?
>> >> If not maybe then it becomes harder for generic apps to decode it,
>> >> unless we use a bunch of switch cases for the different cameras
>> >> (something like this would be best implemented in the driver
>> though)
>> >>
>> >> Regards,
>> >> Paulo
>> >>
>> >> 2011/9/9 Ajay Bhargav <ajay.bhar...@einfochips.com>:
>> >> > Hi Robert,
>> >> >
>> >> > As you know its a development camera... I think my camera need
>> some
>> >> > fixing..
>> >> > my hardware decoder does not work with H.264 stream directly... I
>> added
>> >> > h264parse element before h264 decoder in gstreamer pipeline to
>> make it
>> >> > work.
>> >> >
>> >> > Regards,
>> >> > Ajay Bhargav
>> >> >
>> >> > ----- "Robert Krakora" <rob.krak...@messagenetsystems.com>
>> wrote:
>> >> >
>> >> > Hi Ajay,
>> >> >
>> >> > The encoder in your camera may be different and produce H.264
>> AVC
>> >> > instead of
>> >> > SVC.  The latest gstreamer-ffmpeg did not work for me for the
>> FaceVsion
>> >> > Touchcam E1.
>> >> >
>> >> > Best Regards,
>> >> >
>> >> > Rob Krakora
>> >> >
>> >> > On Fri, Sep 9, 2011 at 9:18 AM, Ajay Bhargav
>> >> > <ajay.bhar...@einfochips.com>
>> >> > wrote:
>> >> >>
>> >> >> Hi Paulo,
>> >> >>
>> >> >> for me ffdec_h264 worked perfectly... I used current stable
>> release of
>> >> >> gstreamer-ffmpeg. It has many more formats...
>> >> >>
>> >> >> --Ajay Bhargav
>> >> >>
>> >> >>
>> >> >> ----- "Paulo Assis" <pj.as...@gmail.com> wrote:
>> >> >>
>> >> >> > Hi,
>> >> >> > have you tried the open svc decoder (
>> >> >> > http://sourceforge.net/projects/opensvcdecoder/ ) ?
>> >> >> >
>> >> >> > It would probably be easier to add as dependency.
>> >> >> >
>> >> >> > Regards,
>> >> >> > Paulo
>> >> >> >
>> >> >> > 2011/9/9 Alexey Fisher <bug-tr...@fisher-privat.net>:
>> >> >> > > Hi Paulo,
>> >> >> > >
>> >> >> > > i have video dump from Robert, not v4l2... The problem with
>> it is
>> >> >> > codec. It
>> >> >> > > seems to be some SVC variant of h264 and ffmpeg can't play
>> it
>> >> >> > correctly.
>> >> >> > > Robert say, currently only fluh264dec (flyendo plugin for
>> >> >> > > gstreamer)
>> >> >> > can
>> >> >> > > play it.
>> >> >> > >
>> >> >> > > Am 09.09.2011 13:23, schrieb Paulo Assis:
>> >> >> > >>
>> >> >> > >> Hi,
>> >> >> > >> I was thinking on using ffmpeg (libavcodec) since this is
>> already
>> >> >> > a
>> >> >> > >> guvcview dependency for enconding the streams, decoding
>> them
>> >> >> > shouldn't
>> >> >> > >> be to hard, I just need to understand how they are handled
>> by the
>> >> >> > driver.
>> >> >> > >> This is the reason I need the raw data, you should be able
>> to use
>> >> >> > the
>> >> >> > >> v4l2 capture example to store the buffer data as delivered
>> by the
>> >> >> > driver
>> >> >> > >> (something like buffer-1.raw,...,buffer-n.raw would be
>> nice), or I
>> >> >> > can
>> >> >> > >> send you some code for doing this if you prefer.
>> >> >> > >>
>> >> >> > >> Regards,
>> >> >> > >> Paulo
>> >> >> > >>
>> >> >> > >> 2011/9/9 Ajay Bhargav <ajay.bhar...@einfochips.com
>> >> >> > >> <mailto:ajay.bhar...@einfochips.com>>
>> >> >> > >>
>> >> >> > >>    Hi Paulo,
>> >> >> > >>
>> >> >> > >>    I am not having H.264 camera, My camera is similar to
>> >> >> > Facevision's
>> >> >> > >>    Touchcam E1. It sends out MPEG2-TS stream encoded with
>> H.264. I
>> >> >> > have
>> >> >> > >>    recorded some videos during my testing if that is fine
>> for you
>> >> >> > >> I
>> >> >> > can
>> >> >> > >>    send across... it would be great if guvcview can show
>> >> >> > compressed
>> >> >> > >>    streams :) we can make use of gstreamer to achieve
>> this..
>> >> >> > >>
>> >> >> > >>    -- Ajay Bhargav
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>    ----- "Paulo Assis" <pj.as...@gmail.com
>> >> >> > <mailto:pj.as...@gmail.com>>
>> >> >> > >>    wrote:
>> >> >> > >>
>> >> >> > >>        Hi,
>> >> >> > >>        I would like to add support for H.264 stream format
>> in
>> >> >> > guvcview,
>> >> >> > >>        Could you post some stream info, or even better an
>> example
>> >> >> > of
>> >> >> > >>        raw data output (does the capture buffer contains an
>> exact
>> >> >> > frame
>> >> >> > >>        like in MJPEG ?)
>> >> >> > >>
>> >> >> > >>        Regards,
>> >> >> > >>        Paulo
>> >> >> > >>
>> >> >> > >>        2011/9/9 Ajay Bhargav <ajay.bhar...@einfochips.com
>> >> >> > >>        <mailto:ajay.bhar...@einfochips.com>>
>> >> >> > >>
>> >> >> > >>            Hi Srinivas,
>> >> >> > >>
>> >> >> > >>            UVC fixes wont be needed for you to get your
>> cam
>> >> >> > output..
>> >> >> > >>
>> >> >> > >>            You can build gstreamer0.10-ffmpeg to decode
>> H.264
>> >> >> > stream,
>> >> >> > >>            Robert has used fluendo package for decoding.
>> >> >> > >>
>> >> >> > >>            --Ajay
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>            ----- "Max Lapshin" <max.laps...@gmail.com
>> >> >> > >>            <mailto:max.laps...@gmail.com>> wrote:
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>                On Fri, Sep 9, 2011 at 11:01 AM, Srinivas
>> >> >> > Mandavilli
>> >> >> > >>                <srinivas.mandavi...@lucivid.com
>> >> >> > >>                <mailto:srinivas.mandavi...@lucivid.com>>
>> wrote:
>> >> >> > >>
>> >> >> > >>                    Thanks Ajay! I just got a B990, and am
>> trying
>> >> >> > to
>> >> >> > >>                    stream out H264.
>> >> >> > >>
>> >> >> > >>                Hi, Srinivas. Be so kind: if you will have
>> success
>> >> >> > with
>> >> >> > >>                it, write an email: what kernel version are
>> you
>> >> >> > using?
>> >> >> > >>
>> >> >> > >>                I failed to do it with kernel 3.0.0
>> >> >> > >>
>> >> >> > >>                --
>> >> >> > >>                This message has been scanned for viruses
>> and
>> >> >> > >>                dangerous content by *Clean Mail Gateway*
>> >> >> > >>                <http://www.CleanMailGateway.com/>, and is
>> >> >> > >>                believed to be clean.
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>            _______________________________________________
>> >> >> > >>            Linux-uvc-devel mailing list
>> >> >> > >>            Linux-uvc-devel@lists.berlios.de
>> >> >> > >>            <mailto:Linux-uvc-devel@lists.berlios.de>
>> >> >> > >>
>> >> >> >  https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>        --
>> >> >> > >>        This message has been scanned for viruses and
>> >> >> > >>        dangerous content by *Clean Mail Gateway*
>> >> >> > >>        <http://www.CleanMailGateway.com/>, and is
>> >> >> > >>        believed to be clean.
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> > >>
>> >> >> > >> _______________________________________________
>> >> >> > >> Linux-uvc-devel mailing list
>> >> >> > >> Linux-uvc-devel@lists.berlios.de
>> >> >> > >> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>> >> >> > >
>> >> >> > >
>> >> >> >
>> >> >> > --
>> >> >> > This message has been scanned for viruses and
>> >> >> > dangerous content by Clean Mail Gateway, and is
>> >> >> > believed to be clean.
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> *************************************************************************************************************************************************************
>> >> >> > einfochips Business Disclaimer : This e-mail message and all
>> >> >> > attachments transmitted with it are intended solely for the
>> use of
>> >> >> > the
>> >> >> > addressee and may contain legally privileged and confidential
>> >> >> > information. If the reader of this message is not the
>> intended
>> >> >> > recipient, or an employee or agent responsible for delivering
>> this
>> >> >> > message to the intended recipient, you are hereby notified
>> that any
>> >> >> > dissemination, distribution, copying, or other use of this
>> message or
>> >> >> > its attachments is strictly prohibited. If you have received
>> this
>> >> >> > message in error, please notify the sender immediately by
>> replying to
>> >> >> > this message and please delete it from your computer. Any
>> views
>> >> >> > expressed in this message are those of the individual sender
>> unless
>> >> >> > otherwise stated. Company has taken enough precautions to
>> prevent the
>> >> >> > spread of viruses. However the company accepts no liability
>> for any
>> >> >> > damage caused by any virus transmitted by this email.
>> >> >> >
>> >> >> >
>> >> >> >
>> *************************************************************************************************************************************************************
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Rob Krakora
>> >> > MessageNet Systems
>> >> > 101 East Carmel Dr. Suite 105
>> >> > Carmel, IN 46032
>> >> > (317)566-1677 Ext 212
>> >> > (317)663-0808 Fax
>> >> >
>> >> > --
>> >> > This message has been scanned for viruses and
>> >> > dangerous content by Clean Mail Gateway, and is
>> >> > believed to be clean.
>> >> >
>> >> > _______________________________________________
>> >> > Linux-uvc-devel mailing list
>> >> > Linux-uvc-devel@lists.berlios.de
>> >> > https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>> >> >
>> >> >
>> >
>> >
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by Clean Mail Gateway, and is
>> believed to be clean.
>>
>>
>> *************************************************************************************************************************************************************
>> einfochips Business Disclaimer : This e-mail message and all
>> attachments transmitted with it are intended solely for the use of the
>> addressee and may contain legally privileged and confidential
>> information. If the reader of this message is not the intended
>> recipient, or an employee or agent responsible for delivering this
>> message to the intended recipient, you are hereby notified that any
>> dissemination, distribution, copying, or other use of this message or
>> its attachments is strictly prohibited. If you have received this
>> message in error, please notify the sender immediately by replying to
>> this message and please delete it from your computer. Any views
>> expressed in this message are those of the individual sender unless
>> otherwise stated. Company has taken enough precautions to prevent the
>> spread of viruses. However the
>>   company accepts no liability for any damage caused by any virus
>> transmitted by this email.
>> *************************************************************************************************************************************************************
>
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to