Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Clowneh
Old
(Last edited by Clowneh; 5th November 2010 at 09:24 PM.)
#1  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Feb 2010
Default [FIXED] Streaming iPod encoded .mp4 over network

I've got an annoying problem that I don't know how to fix.

I have a script that uses handbrake to encode videos for me and spits them out as a .mp4 file. I used to view these from a local open web directory so I could stream them while I was in the bath or in the kitchen or having a dump or whenever I wasn't in front of my TV.

They work on my iPhone, iPod touch and on the various Android things I put on my HD2. How can it work on a flashed WinMo phone and not on a proper Android device?

What's frustrating is that they work when I transfer them over using Astro or downloading them in the browser. I assume it would work if I put them on a memory stick but all of these solutions take more time.

I was thinking I should root the Tab and put a custom Android on it, but is there anything else I can do without re-encoding a bunch of files?
 
ftgg99
Old
#2  
Account currently disabled
Thanks Meter 2033
Posts: 7,047
Join Date: Mar 2010
What exactly is the problem? How are you trying to stream them?
 
Clowneh
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Feb 2010
I have an open web directory which is basically just a list of .mp4 files. I open the browser and point it to my site, 192.168.1.3/movies, and then click on whatever I want to watch.

Then usually it gives me an option of what app I want to play it in and I usually just pick the default video player.

This doesn't work on the Tab where it does on my other devices (Android and iOS).
 
mklass
Old
#4  
Senior Member
Thanks Meter 20
Posts: 281
Join Date: Apr 2010
So the problem is that its not giving you an option to pick which app to open the .mp4 with?

Maybe you dont have any other apps that can play the file?-
 
Clowneh
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Feb 2010
It does give me an option, it just refuses to play saying that the type is not supported. I've tried the built in video player, rockplayer, meridian. I've also tried it on a file manager like Astro.

The files just refuses to play like they do on my hacked HD2 and iPhone.
 
cmloo
Old
#6  
Senior Member
Thanks Meter 96
Posts: 194
Join Date: Dec 2006

 
DONATE TO ME
Are you trying to emulate this like the AllShare program? Cant seem to get this to work too on the network media
 
Clowneh
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Feb 2010
I don't know what AllShare is unfortunately. Did it work on a previous device?
 
ftgg99
Old
#8  
Account currently disabled
Thanks Meter 2033
Posts: 7,047
Join Date: Mar 2010
Allshare is sammys DLNA client. Its pretty good for small folders on a LAN server. But it doesn't understand headers very well. Search is your friend.
 
Clowneh
Old
#9  
Junior Member - OP
Thanks Meter 0
Posts: 9
Join Date: Feb 2010
Someone pointed me in the right direction on another board.
Quote:
Originally Posted by Another Forum
OK, figured it out. The problem is that most MPEG4/QuickTime muxers append a critical piece of metadata to the end of the file and it needs to be moved to the beginning to allow streaming/progressive downloading in the Android media player (it's not a Samsung-specific problem).

If you already have a bunch of non-streaming-compatible MP4 files, there's a tool that comes with ffmpeg called qt-faststart that rewrites them (without reencoding) in a compatible fashion.

Also, it looks like Handbrake 0.9.2 and up have an option for producing "Web optimized" MPEG-4 files, which if you enable should fix future videos.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Gear Up Because it’s Time to Save Earth

*Cue Dramatic Music*Put on your red and blue latex overalls and cape because it’s time to … more

Recognized Contributor Code of Conduct

During the first half of 2012, XDA initiated the Recognized Contributor (RC) program to recognize … more

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more