Does gst-omx support Raspberry Pi for simultaneously H.264 video decoding and coding?

Miguel Domingues miguelbrazaodomingues at gmail.com
Thu Jan 28 02:36:53 PST 2016


I was unaware that raspivid encoded the video.

Regarding the pipeline, I split the HD 1080 video (with a tee), the first
goes into a appsink to record the video when I want. The second copy is
decoded, rescaled, changes fps and then is used for web streaming
(re-encoded into h264) and motion detection (using opencv).
The motion detection signals the recorder appsink to start and stop
recording.

So in the end, if rpicamsrc/raspivid is encoding the video, then my
pipeline encodes, decodes and re-encodes...
I will also look into raspivid to see if it is possible to get the raw
video.

Thanks for the info.
Miguel

Miguel Domingues

On Thu, Jan 28, 2016 at 10:13 AM, Peter Maersk-Moller <pmaersk at gmail.com>
wrote:

> Hi Tim
>
> See inline.
>
> On Thu, Jan 28, 2016 at 10:55 AM, Tim Müller <tim at centricular.com> wrote:
>
>> On Thu, 2016-01-28 at 01:57 +0100, Peter Maersk-Moller wrote:
>>
>> > The rpicamsrc is a wrapper around raspivid. The raspivid reads raw
>> > video from the cam and encodes it for H.264 using the processors
>> > hardware encoder. So in your pipeline you do two hardware encodings
>> > and one decoding. Unless Broadcom did something really stupid, it
>> > should be possible to modify rpicamsrc (using code example from
>> > raspivid or raspiyuv) to read RGB or YUV (I420 perhaps).
>>
>> Are you sure it's possible to get the raw (post-processed) video from
>> the camera sensors before it gets encoded? I seem to remember that the
>> imaging pipeline is closed and they don't give you the option of
>> getting RGB or YUV out, but maybe that's changed.
>>
>
> That's why i wrote "Unless Broadcom did something really stupid ...".
> Github was down last night so I couldn't check the source of raspivid -
> and a little bit busy with a customer today.
>
> That said, raspiyuv can deliver stills as YUV or RGB. And after all, video
> is a long row of successive stills so maybe there is a way.
>
> best regards
> Peter
>
>
>
>>
>>  Cheers
>>   -Tim
>>
>> --
>> Tim Müller, Centricular Ltd - http://www.centricular.com
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160128/c8871f58/attachment.html>


More information about the gstreamer-devel mailing list