Fixing mp4 file streaming for ushare on ubuntu is pretty straightforward luckily….
Just to share with the world (and to keep as note to myself :-)):
To fix ushare into streaming mp4 files you can easily re-compile a quick and dirty fix into your own binary using the following steps:
apt-get source ushare
In mime.c src directory) delete the line for "mp4" in the list of Audio files and add the following line under videos:
{ "mp4", UPNP_VIDEO, "http-get:*:video/quicktime:"},
Then just follow the ordinary steps:
./configure, make and checkinstall
Just make sure you ./configure with the location with your current configuration settings. After doing this you should be able to stream mp4 files hooray
Embedded Link
GeeXboX uShare UPnP A/V Media Server HomePage
GeeXboX uShare Homepage : a free software UPnP A/V Media Server Linux
This post has been reshared 1 times on Google+
View this post on Google+
12 Replies to “Fixing mp4 file streaming for ushare on ubuntu is pretty straightforward luckily….”
I use http://mediatomb.cc/ to stream films from a Ubuntu server to my Sony Bravia TV. Works great.
I use http://mediatomb.cc/ to stream films from a Ubuntu server to my Sony Bravia TV. Works great.
+Ari Loytynoja did you try both ushare and mediatomb? Is there any reason why you'd prefer mediatomb above ushare?
+Ari Loytynoja did you try both ushare and mediatomb? Is there any reason why you'd prefer mediatomb above ushare?
I didn't try, probably mediatomb was one of the first google hits and it then worked fine with my telly. It is a rather simple program (cli server + web gui to admin files) but your alternative looks equally spartan…
I didn't try, probably mediatomb was one of the first google hits and it then worked fine with my telly. It is a rather simple program (cli server + web gui to admin files) but your alternative looks equally spartan…
So you used the same strategy! I also just googled and used the first tool that I found and am still using that one – though development of ushare has stopped so maybe it's time to check if mediatomb is adding new features that might be interesting to me as well 🙂
So you used the same strategy! I also just googled and used the first tool that I found and am still using that one – though development of ushare has stopped so maybe it's time to check if mediatomb is adding new features that might be interesting to me as well 🙂
Hi, Sander,
I need to do the same thing with the ushare, but could you please tell me, which libraries, Ubuntu install and so on I need to recompile this binary?
Thanks!
Hi Needz,
at what point in the steps above do you encounter issues? What doesn’t work and what is the error? For me, I didn’t install any other libraries on purpose and just did a reinstall of ushare by compiling my own with the steps above.
Without having to recompile ushare. Rename mp4 (audio) to m4v (video) streaming will just work fine.
The novice is right, rename to m4v is the canonical fix.