Forums

H.264 or MPEG-4 for Surveillance?

Started by Unknown December 19, 2007
Hello,

Suppose you have a surveillance project on which two 4-CIF NTSC
streams (704 x 480) @ 15 fps have to be encoded for network streaming
and for storage, and that the network bandwidth is up to 2 Mbps.

Also, the encoder has to run on an embedded platform (Blackfin, for
example).

Which of the following codecs would you use:

- H.264 Basic Profile
- MPEG-4 Simple Profile
- MPEG-4 Advanced Simple Profile

More importantly, given a fixed resolution and frame rate, is the
bitrate dependent on the codec used, or is it dependent on the
computational power of the processor used?

Looking forward your replies,

JaaC
On Dec 19, 10:53 pm, "Jaime Andr�s Aranguren Cardona"
<jaime.arangu...@gmail.com> wrote:
> Hello, > > Suppose you have a surveillance project on which two 4-CIF NTSC > streams (704 x 480) @ 15 fps have to be encoded for network streaming > and for storage, and that the network bandwidth is up to 2 Mbps. > > Also, the encoder has to run on an embedded platform (Blackfin, for > example). > > Which of the following codecs would you use: > > - H.264 Basic Profile > - MPEG-4 Simple Profile > - MPEG-4 Advanced Simple Profile > > More importantly, given a fixed resolution and frame rate, is the > bitrate dependent on the codec used, or is it dependent on the > computational power of the processor used? > > Looking forward your replies, > > JaaC
For surveillance application, asic is chosen because only one video standard need to be supported. Jogging
<joggingsong@gmail.com> escribi&#2013265923; en el mensaje 
news:a6e3fda2-cb30-46b5-b540-0ea062a257d6@s8g2000prg.googlegroups.com...
On Dec 19, 10:53 pm, "Jaime Andr&#2013265929;s Aranguren Cardona"
<jaime.arangu...@gmail.com> wrote:
> Hello, > > Suppose you have a surveillance project on which two 4-CIF NTSC > streams (704 x 480) @ 15 fps have to be encoded for network streaming > and for storage, and that the network bandwidth is up to 2 Mbps. > > Also, the encoder has to run on an embedded platform (Blackfin, for > example). > > Which of the following codecs would you use: > > - H.264 Basic Profile > - MPEG-4 Simple Profile > - MPEG-4 Advanced Simple Profile > > More importantly, given a fixed resolution and frame rate, is the > bitrate dependent on the codec used, or is it dependent on the > computational power of the processor used? > > Looking forward your replies, > > JaaC
For surveillance application, asic is chosen because only one video standard need to be supported. Jogging -- Hi, Here the discussion is not much about ASIC / FPGA / DaVinci / Blackfin, or whatever. The discussion is what codec to use, and the most important: given a fixed resolution and frame rate, is the (achieved) bitrate dependent on the codec used, or is it dependent on the computational power of the processor (or FPGA or ASIC or whatever) used? Cheers, -- Jaime Andres Aranguren C. SanJaaC Electronics Soluciones en DSP www.sanjaac.com -- Posted via a free Usenet account from http://www.teranews.com

Jaime Andres Aranguren Cardona wrote:

> <joggingsong@gmail.com> escribi&#2013265923; en el mensaje > news:a6e3fda2-cb30-46b5-b540-0ea062a257d6@s8g2000prg.googlegroups.com... > On Dec 19, 10:53 pm, "Jaime Andr&#2013265929;s Aranguren Cardona" > <jaime.arangu...@gmail.com> wrote: > >>Hello, >> >>Suppose you have a surveillance project on which two 4-CIF NTSC >>streams (704 x 480) @ 15 fps have to be encoded for network streaming >>and for storage, and that the network bandwidth is up to 2 Mbps. >> >>Also, the encoder has to run on an embedded platform (Blackfin, for >>example). >> >>Which of the following codecs would you use: >> >>- H.264 Basic Profile >>- MPEG-4 Simple Profile >>- MPEG-4 Advanced Simple Profile >>
1. For the video codecs, the quality at a given bit rate strongly depends on the computational power that you have. 2. The MPEG4 video encoding at the real time requires the compung power of ~tens of GOPS (depends on the profile). So you need either ASIC/FPGA solution or the cluster of DSPs. 3. For the real time encoding on the DSP, I would use the DV format for its simplicity and low computing requirements. Vladimir Vassilevsky DSP and Mixed Signal Design Consultant http://www.abvolt.com
"Vladimir Vassilevsky" <antispam_bogus@hotmail.com> escribio en el mensaje 
news:36Waj.706$lo5.492@newssvr19.news.prodigy.net...


Jaime Andres Aranguren Cardona wrote:

> <joggingsong@gmail.com> escribi&#2013265923; en el mensaje > news:a6e3fda2-cb30-46b5-b540-0ea062a257d6@s8g2000prg.googlegroups.com... > On Dec 19, 10:53 pm, "Jaime Andr&#2013265929;s Aranguren Cardona" > <jaime.arangu...@gmail.com> wrote: > >>Hello, >> >>Suppose you have a surveillance project on which two 4-CIF NTSC >>streams (704 x 480) @ 15 fps have to be encoded for network streaming >>and for storage, and that the network bandwidth is up to 2 Mbps. >> >>Also, the encoder has to run on an embedded platform (Blackfin, for >>example). >> >>Which of the following codecs would you use: >> >>- H.264 Basic Profile >>- MPEG-4 Simple Profile >>- MPEG-4 Advanced Simple Profile >>
1. For the video codecs, the quality at a given bit rate strongly depends on the computational power that you have. 2. The MPEG4 video encoding at the real time requires the compung power of ~tens of GOPS (depends on the profile). So you need either ASIC/FPGA solution or the cluster of DSPs. 3. For the real time encoding on the DSP, I would use the DV format for its simplicity and low computing requirements. Vladimir Vassilevsky DSP and Mixed Signal Design Consultant http://www.abvolt.com -- Hello Vladimir, thanks for showing up. Also, thanks to JoggingSong for the comments. I did take note of your replies. However, let's re-paraphrase the question: you have the above mentioned codecs and profiles, which are: - H.264 Basic Profile - MPEG-4 Simple Profile - MPEG-4 Advanced Simple Profile Question 1: suppose you have the computational power to perform that encoding in real time. Which of those codecs gives the lower bitrate, at a given resolution and frame rate? Question 2: at a defined resolution and frame rate, could you reduce the bitrate if you had more processing power? Or is the achieved bit rate depending only on the resolution? Regards, -- Jaime Andres Aranguren C. SanJaaC Electronics Soluciones en DSP www.sanjaac.com -- Posted via a free Usenet account from http://www.teranews.com

Jaime Andres Aranguren Cardona wrote:


> I did take note of your replies. However, let's re-paraphrase the question: > you have the above mentioned codecs and profiles, which are: > > - H.264 Basic Profile > - MPEG-4 Simple Profile > - MPEG-4 Advanced Simple Profile > > Question 1: suppose you have the computational power to perform that > encoding in real time. Which of those codecs gives the lower bitrate, at a > given resolution and frame rate?
H.264 is supposed to be superior to the others.
> Question 2: at a defined resolution and frame rate, could you reduce the > bitrate if you had more processing power? Or is the achieved bit rate > depending only on the resolution?
The motion predictor is the computing hog. Especially the multiframe predictor of H.264. The quality of the motion prediction determines the quality at a given bit rate. The standard doesn't tell you how to do the motion prediction. It only tells you what are the available options. So, depending on your algorithms and computing resources, the quality may be quite different for the same given bit rate. Vladimir Vassilevsky DSP and Mixed Signal Design Consultant http://www.abvolt.com