4

I am receiving continuous live stream of IP camera content in the format of H.264 AVC and I learnt that Android phones with SDK lesser than 3.0 do not support it. Is there a way where I can convert it while receiving it and display in the form if H.263 from my end? I am testing on Samsung Galaxy with OS 2.2.

Rashmi.B
  • 1,759
  • 2
  • 18
  • 34

1 Answers1

0

Pre Android 3.0 devices do support H.264 playback (ie, decoding). They just don't support H.264 encoding. (See the documentation.) See also this Q&A.

I don't know of any way to convert a live stream to H.263 as the OP asked, but for those who can do the conversion first, FFmpeg is a possible solution.

ffmpeg -i /path/to/your/file.h264 -vcodec copy -acodec copy /path/to/your/newfile.h263

(source)

But see this answer for a much more specific ffmpeg parameters meant to work on Android.

Community
  • 1
  • 1
Suragch
  • 364,799
  • 232
  • 1,155
  • 1,198