android Programming Glossary: elementary
Fix 3GP file after streaming from Android Media Recorder http://stackoverflow.com/questions/11994470/fix-3gp-file-after-streaming-from-android-media-recorder also given by other answers One can still stream the AV by parsing the mp4 as it gets generated and sending the elementary streams seperately over a socket. The only issue you will face is that you will not get perfect AV sync as you do not know..
Encoding H.264 from camera with Android MediaCodec http://stackoverflow.com/questions/13458289/encoding-h-264-from-camera-with-android-mediacodec the other side has to be told the frame rate in advance or timestamps with each frame. Both of these are not part of elementary stream. Either pre determined framerate is chosen or you pass on some sdp or something like that or you use existing protocols.. stream sent in form of something like rtp. Then the client has to depay the rtp stream and play it bacl. This is how elementary streaming works. either fix your frame rate if you have a fixed rate encoder or give timestamps Local PC playback will be.. should have NAL headers enabled annex b format. I don't know much about android but this is requirement for any h.264 elementary stream to be playable when they are not in any containers and need to be dumped and played later. If android default is..
How to encode Bitmaps into a video using MediaCodec? http://stackoverflow.com/questions/17096726/how-to-encode-bitmaps-into-a-video-using-mediacodec bitmap h.264 android 4.2 video encoding share improve this question The output of MediaCodec is a raw H.264 elementary stream. I've found that the Totem media player for Linux is able to play them. What you really want to do is convert the..
Using MediaCodec to save series of images as Video http://stackoverflow.com/questions/18795353/using-mediacodec-to-save-series-of-images-as-video send EOS with a zero length buffer. The output of the codecs is generally pretty raw e.g. the AVC codec emits an H.264 elementary stream rather than a cooked .mp4 file. Many players won't accept this format. If you can't rely on the presence of MediaMuxer..
|