maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   Play video from my network with mplayer (https://talk.maemo.org/showthread.php?t=22114)

marce_245 2008-07-20 18:40

Play video from my network with mplayer
 
Using the default file manager I can see my files from my network. If i open a video it plays with the default media player. How can I play the same video but using mplayer? (the only videos that mplayer shows are the ones in the device)

Thanks in advance

marce_245 2008-07-20 21:50

Re: Play video from my network with mplayer
 
Please, somebody?!

Thesandlord 2008-07-20 21:56

Re: Play video from my network with mplayer
 
Do a search next time please

http://www.internettablettalk.com/fo...ad.php?t=17757

marce_245 2008-07-21 18:50

Re: Play video from my network with mplayer
 
I did a search, and I did find that thread but thats not what i was looking for. I don't want to install anything, I was thinking that maybe there was a command I could use in xterm to open my files on my net. I know how to open files in my device but how can I input the location of the files in my network (in xterm)?

josiahg777 2008-07-21 19:52

Re: Play video from my network with mplayer
 
You should be able to. If the files show up in your file manager they're on a system that's been mounted to your device somewhere.

Check the contents of /media or /dev :)

marce_245 2008-07-22 02:49

Re: Play video from my network with mplayer
 
I tried what you told me josiahg but with no luck, I didn't find anything. Maybe its a hidden folder, I don't know. Thanks for trying though. I'm open for other suggestions...

josiahg777 2008-07-22 05:47

Re: Play video from my network with mplayer
 
hmmm well I went through and checked but I didn't find anything. I'll poke around some more later. I'd say your best bet is to either intercept the mime handler or use a different method of accessing the videos. UPNP maybe?

marce_245 2008-07-22 19:56

Re: Play video from my network with mplayer
 
Ok, thanks anyway. Let me know if you find anything.

iancumihai 2008-07-27 20:14

Re: Play video from my network with mplayer
 
i'm using http.

my home server is a nslu2 and all the movies are shared via samba and http. over wifi http works best (my case)

you can run: mplayer http://_server_/_file_.avi

should work without problems

briand 2008-07-28 14:51

Re: Play video from my network with mplayer
 
...or, if your media server supports UPnP, you can install `mediastreamer` on your N8xx and stream the media directly, make playlists, etc.

I've used mediastreamer to great success with my MythTV installation at home. [I tried some other software, at one point, but the UPnP implementation was ... well, not optimal, in that software, and the developers kept blaming MythTV instead of fixing their beta software... long story, and not worth repeating here. ;) ]

dornanu 2008-08-10 15:18

Re: Play video from my network with mplayer
 
I also would like to see a solution to marce_245`s problem.

To add clarity to the question, it`s not about associating the default player. Follow these steps:

1. Open mplayer.
2. In the list of files shown, it only shows the local files. Fair enough, I don`t really want it to walk my entire network searching for files. Press the Open button.
3. Browse to the network share (when it works) and select the file on the network. The path to the file shows in the filename box to the right of the play button (hmm... Ok, this filename doesn`t show up so then still not able to play).
4. Press the play button.
5. File does NOT play.

A similar issue with Quiver Image viewer. I think it`s a maemo problem more than a mplayer issue. The shares need to mounted so that these apps can find them. But the maemo media player and picture viewer can find the files without the mounts.

pycage 2008-08-11 07:35

Re: Play video from my network with mplayer
 
It's not a maemo problem. The problem is that the network folders you see in the filebrowser are visible through the gnome-vfs virtual filesystem. Any application using gnome-vfs for file access can open these files.
mplayer, however, does use the normal kernel filesystem operations and thus cannot see non-local files.
As a solution, one can either mount the network folders so that the kernel can see them, or use UPnP for accessing the files. UPnP exposes http-URLs from which mplayer can perfectly well play media.
The tricky part is to get these URLs from UPnP. Some media players do this part for you by letting you browse the UPnP folders and then invoke mplayer.

Something simpler would be to create a wrapper/proxy for mplayer, which accepts gnome-vfs paths and exposes the file to mplayer via a local HTTP server. If there is interest, I could hack one together in Python within a few hours, since similar stuff has already been developed for MediaBox to let mplayer access YouTube videos.


All times are GMT. The time now is 15:12.

vBulletin® Version 3.8.8