[Q] Recording jpeg stream in a mp4 file - Android Software Development

I have an app to watch my ip camera jpeg stream.
I would like to write this streaming in a mp4 video file. Is this possible?
Or can I convert avi video file to mp4 using Android?
Thank you.

Related

Silly Question..!

Ive tried encoding a few movie clips to watch on my Hermes I've tried mp4 and avi but just get an error message, file type not supported.
Whats the correct file type? cam records in mp4 and plays back, why not my conversions?
Thanks, Chris
se4me said:
Ive tried encoding a few movie clips to watch on my Hermes I've tried mp4 and avi but just get an error message, file type not supported.
Whats the correct file type? cam records in mp4 and plays back, why not my conversions?
Thanks, Chris
Click to expand...
Click to collapse
Try this thread
http://forum.xda-developers.com/showthread.php?t=281521&highlight=tcpmp
Mike
can i not just convert a video file to mp4 or the correct file type and play it through windows media that cam on the device?
Depends on what you are using to encode the video. The WMP may not have the decoder. Although, AVI movies all have the same *.avi, all AVI movies can be different, depending on what encoder you used to encode the video and the audio. Hence, not all player is able to play all AVI movies. I think it goes relatively the same to MP4 also.
Anyway, what format are you trying to convert. You can go Microsoft homepage and download their Windows Media encoder to encode your stuff into WMV format which should play nicely on your phone.
I have been using Xilisoft MP4 convertor, converting from .avi to .mp4
I will try out the Windows Media encoder and encode into WMV format.
Thanks for the info
converted ok but its not full screen when selected..! any ideas?
its ok sorted it out...!!!!!!!!!

[Q]Allshare wrt MKV

hi all,
when i choose to play a mkv file on my computer to project it on my samsung LCD TV via allshare, which player does it use? The WMP on my computer or the player on my LCD TV?
it's playing from your tv
alright, so if the TV does not have that codec it probably can't play. Got it.
MKV isn't a codec, it's a container. The standard DLNA container is the MP4 container, with MPEG4 or H.264 video codecs inside. Most likely your MKV file contains the proper codecs and just needs to be remuxed into a MP4 file.
Look for mkvtoolnix, use mkvextract to extract the elementary streams from the MKV file, then use MP4Muxer or something to remux the streams into MP4.

[Q] Windows Media video?

Can I do a modification to enable it after it's rooted?
I tried to play .wmv files with floor model but I have no luck.
I have a lot of ripped DVDs in .mp4 (480p) format, but I also have several .wmv files downloaded. The size will drastically increase if I re-encode to .mp4 without degrading quality.
i think its in /etc/media_profiles.xml in bottom of file, change to "yes" and save back.
remember to have system r/w
MKV
You can attempt to convert the files to MKV.
The system by default does not play back this file source but there is a player called Mobo Player available on the market.
I have done a few mp4 720p conversions to mkv 720p and I am pleased to say they worked while not being to to big (average size is 1-2gigs per 1.5hrs)
I have read reports that Diceplayer handles mkv files. You might want to give that a try.
Hello Friends If Your Looking For A Video Player to Play all types of Video
Check out MX Video Player and also don`t forget to download the codec for those video ,been watching all types of video on the go .peace

Unable to play MP4 Video in Player

Hey all,
I never really tried playing video on the nook, but I just tried playing an MP4 and it gives me a "Sorry, this video cannot be played" error.
I've looked into it and it seems that the nook actually supports MP4 playback.
Running on Mirage 7.2.
Also the information VLC Player (on my PC) gives for the mp4 file:
Stream 0
---------
Type: Video
Codec: H264 - MPEG-4 AVC (part 10) (avc1)
Resolution: 640x480
Frame rate: 29.970023
Decoded format: Planar 4:2:0 YUV
Stream 1
---------
Type: Audio
Codec: MPEF AAC Audio (mp4a)
Channels: Stereo
Sample rate: 48000 Hz
I appreciate any effort to sort this one out.
I have had nothing but problems using VLC player on my rooted nook. It has to have soft-decoding enabled for lots of movie files to play on it. This is using the VLC player through the playstore.
One player on the playstore I have had better luck with is called MX player or the Moboplayer, both of those will play the native .mp4 video formats for me.
~~~~~~~~~~~~
Also you might have a corrupted video file if it is not playing on your computer with the correct video codecs downloaded for it. Might want to try to re-download that one video you are having problems with. Check that file in a different video player on your computer and see if it plays. If it doesn't, then you either do not have the correct video codecs downloaded onto your computer for it or it is a corrupted file. On windows OS I have to download a KLite video codec for .mp4 files to play. VLC should play that file by default though on the computer.
~~~~~~~~~~~~~~~~~~~~
Try using the program "handbrake" to encode your video files for playback on the nook to keep from having to soft decode it. Soft decoding takes up lots of processing power on the processor on your nook color. There are guides to show you how to encode video files for your nook color using handbrake here. http://www.androidtablets.net/forum...using-handbrake-convert-video-nook-color.html
Thanks for the quick response.
meteorrock said:
I have had nothing but problems using VLC player on my rooted nook. It has to have soft-decoding enabled for lots of movie files to play on it. This is using the VLC player through the playstore.
Click to expand...
Click to collapse
I only used my Windows VLC Player to determine the codecs information. What I'm trying to do here is to run the mp4 in the native CM7.2 player.
meteorrock said:
Try using the program "handbrake" to encode your video files for playback on the nook to keep from having to soft decode it. Soft decoding takes up lots of processing power on the processor on your nook color. There are guides to show you how to encode video files for your nook color using handbrake here. http://www.androidtablets.net/forum...using-handbrake-convert-video-nook-color.html
Click to expand...
Click to collapse
I will try to re-encode the file. Maybe something with the audio stream there...
Will update! Thanks!
OK it works with the directions what you gave
I tried to give it a go alone with Handbrake. Didn't work.
Then I followed the steps in the link you provided and it plays in the default player, including H/W decoding.
Thanks a bunch!

[Q] Need to change video recording format

Hello!
I have a rooted Nexus 7 device and able to record 720p video with help from this forum. The videos get saved in 3gp format. Is there an way to change the save format type by modifying the media_profiles.xml file or other means?
I want to try to save the video in uncompressed avi or other formats. I understand 3gp is a container for MP4 with H.264 codec
thanks!

Categories

Resources