Springen naar inhoud


l0pan

Lid geworden: 26 sep 2012
Offline Laatste activiteit: 10 sep 2014 14:07
-----

Onderwerpen die ik ben begonnen

Decode MPEG and analyze content for surveillance

26 september 2012 - 15:55

I have IP camera which sends MPEG TS video stream to my DM8000. I’d like that DM8000 receives and decodes it for motion detection with gstreamer. So a hardware MPEG decoding is needed for gstreamer. I think it can be done this way:[list=1]
[*]Add a Property for selecting decoder in gst-plugin-dvbmediasink/gstdvbvideosink.c
[*]Now I can send mpeg stream to the second HW decoder (i.e. /dev/dvb/adapter0/video1) and it won’t affect TV (?)
[*]Create gstdvbvideosrc (in openpli/gst-plugin-dvbmediasink ?) that can read raw decoded data from decoder the same way as AiO stb screengrabber does this
[*]Now I can get decoded video from gstdvbvideosrc for motion detection
[/list]

Will it work?
Is there any other ways to do this?
Also for what purposes is there the second decoder in dm8000?