[android-developers] Re: streaming mp4 from Internet
thanks alot for this support. On Nov 23, 8:42 pm, Mark Murphy wrote: > On Tue, Nov 23, 2010 at 1:38 PM, Ahmed Shoeib > > wrote: > > but the video streams correctly on iphone > > That may be true. However, you will note that Android is not iPhone. > In particular, early Android devices have little storage space, and so > while iPhone can buffer the MP4 to deal with the unhinted data, > Android does not. > > A properly-hinted MP4 file, such as is generated via MP4Box -hint, > will start playback faster on iOS devices, as well as be compatible > with current generations of Android devices. > > Perhaps one day the "safe for streaming" limitation will be lifted. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: streaming mp4 from Internet
On Tue, Nov 23, 2010 at 1:38 PM, Ahmed Shoeib wrote: > but the video streams correctly on iphone That may be true. However, you will note that Android is not iPhone. In particular, early Android devices have little storage space, and so while iPhone can buffer the MP4 to deal with the unhinted data, Android does not. A properly-hinted MP4 file, such as is generated via MP4Box -hint, will start playback faster on iOS devices, as well as be compatible with current generations of Android devices. Perhaps one day the "safe for streaming" limitation will be lifted. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: streaming mp4 from Internet
but the video streams correctly on iphone On Nov 23, 5:22 pm, Mark Murphy wrote: > On Tue, Nov 23, 2010 at 10:14 AM, Ahmed Shoeib > > wrote: > > as a conclusion > > to stream mp4 video from internet i need to use MP4Box installed on my > > device > > Right ?? > > If by "device" you mean "Android device", then no. MP4Box runs on a > Windows, OS X, or Linux computer. You use it to fix up an MP4 file, > such that it is "safe for streaming". Then, you can upload that video > file to your Web server, and Android devices will be able to stream > it. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: streaming mp4 from Internet
On Tue, Nov 23, 2010 at 10:14 AM, Ahmed Shoeib wrote: > as a conclusion > to stream mp4 video from internet i need to use MP4Box installed on my > device > Right ?? If by "device" you mean "Android device", then no. MP4Box runs on a Windows, OS X, or Linux computer. You use it to fix up an MP4 file, such that it is "safe for streaming". Then, you can upload that video file to your Web server, and Android devices will be able to stream it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: streaming mp4 from Internet
as a conclusion to stream mp4 video from internet i need to use MP4Box installed on my device Right ?? On Nov 22, 8:38 pm, Leon Moreyn-Android Development wrote: > If this video is your video is stored locally on your computer. If its > not video, ie you are trying to steam from Youtube or something like > that that is streaming this video on the web then you will not be able > to do so. You must have admin access to the video for it to be "your > video". MP4Box is tool to repair the video file before it reaches > your device. You do not run the repair on the device because while > Android are robust the battery need to repair small video will consume > too large a portion of battery. > > On Nov 21, 4:20 pm, Ahmed Shoeib > wrote: > > > what do you mean by this video is my video or not ?? > > and how to start MP4Box on device ?? > > > On Nov 21, 10:55 pm, Mark Murphy wrote: > > > > On Sun, Nov 21, 2010 at 3:52 PM, Ahmed Shoeib > > > > wrote: > > > > but i tried it on areal device > > > > how can MP4Box added to fix this problem ?? > > > > You do not run MP4Box on the device. > > > > Either this is your video, or it is not. > > > > If it is your video, on your PC, run MP4Box on the video file, and > > > arrange it so your device can download the repaired file. > > > > If this is not your video, you simply cannot play it streaming. You > > > are welcome to download the video and play it locally. > > > > -- > > > Mark Murphy (a Commons > > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > > Android App Developer Books:http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: streaming mp4 from Internet
If this video is your video is stored locally on your computer. If its not video, ie you are trying to steam from Youtube or something like that that is streaming this video on the web then you will not be able to do so. You must have admin access to the video for it to be "your video". MP4Box is tool to repair the video file before it reaches your device. You do not run the repair on the device because while Android are robust the battery need to repair small video will consume too large a portion of battery. On Nov 21, 4:20 pm, Ahmed Shoeib wrote: > what do you mean by this video is my video or not ?? > and how to start MP4Box on device ?? > > On Nov 21, 10:55 pm, Mark Murphy wrote: > > > > > On Sun, Nov 21, 2010 at 3:52 PM, Ahmed Shoeib > > > wrote: > > > but i tried it on areal device > > > how can MP4Box added to fix this problem ?? > > > You do not run MP4Box on the device. > > > Either this is your video, or it is not. > > > If it is your video, on your PC, run MP4Box on the video file, and > > arrange it so your device can download the repaired file. > > > If this is not your video, you simply cannot play it streaming. You > > are welcome to download the video and play it locally. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > Android App Developer Books:http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: streaming mp4 from Internet
what do you mean by this video is my video or not ?? and how to start MP4Box on device ?? On Nov 21, 10:55 pm, Mark Murphy wrote: > On Sun, Nov 21, 2010 at 3:52 PM, Ahmed Shoeib > > wrote: > > but i tried it on areal device > > how can MP4Box added to fix this problem ?? > > You do not run MP4Box on the device. > > Either this is your video, or it is not. > > If it is your video, on your PC, run MP4Box on the video file, and > arrange it so your device can download the repaired file. > > If this is not your video, you simply cannot play it streaming. You > are welcome to download the video and play it locally. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android App Developer Books:http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: streaming mp4 from Internet
how to support it or do you have any other way to play mp4 file ?? On Nov 21, 10:27 pm, Kumar Bibek wrote: > You cannot fix this. This media type is not supported on your device, > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > On Mon, Nov 22, 2010 at 1:47 AM, Ahmed Shoeib > > wrote: > > hi , > > > i got this message when trying to play mp4 video on android from url > > ( video is not valid for streaming on this device ) > > > the code i use to play mp4 > > > Intent intent = new Intent(Intent.ACTION_VIEW); > > intent.setDataAndType(Uri.parse(url), "video/mp4"); > > startActivity(intent); > > > how to solve this problem ?? > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: streaming mp4 from Internet
but i tried it on areal device how can MP4Box added to fix this problem ?? On Nov 21, 10:40 pm, Mark Murphy wrote: > On Sun, Nov 21, 2010 at 3:35 PM, Ahmed Shoeib > > wrote: > > how to support it > > You need to modify the video. The video is not safe for streaming. > > http://groups.google.com/group/android-developers/browse_frm/thread/f... > > Use MP4Box -hint to fix it. > > http://www.videohelp.com/tools/mp4box > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android App Developer Books:http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: streaming mp4 from Internet
On Sun, Nov 21, 2010 at 3:52 PM, Ahmed Shoeib wrote: > but i tried it on areal device > how can MP4Box added to fix this problem ?? You do not run MP4Box on the device. Either this is your video, or it is not. If it is your video, on your PC, run MP4Box on the video file, and arrange it so your device can download the repaired file. If this is not your video, you simply cannot play it streaming. You are welcome to download the video and play it locally. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: streaming mp4 from Internet
On Sun, Nov 21, 2010 at 3:35 PM, Ahmed Shoeib wrote: > how to support it You need to modify the video. The video is not safe for streaming. http://groups.google.com/group/android-developers/browse_frm/thread/f3ce21be6a10b50a/cc31b391e11e3c33 Use MP4Box -hint to fix it. http://www.videohelp.com/tools/mp4box -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en