Active Topics

 



Notices


Reply
Thread Tools
Posts: 45 | Thanked: 45 times | Joined on Jul 2010 @ Berlin
#11
Originally Posted by extendedping View Post
smil file

<smil>
<body>
<seq>
<par title="MyHomeTV - kanal5">
<video src="rtsp://www.my-home-tv.com:554/Archive/kanal5/kanal534-30-11-6-8-2010.rm?mhtvsession=NzQuNzIuMjA5LjEwODo5MTg2MjI6Mj AxMC0wOC0yNjo0OTMxMzA1Y2NiZjM0ZTgzNTY1N2U5NDFmYjhi NTI1NA==" clip-begin="0:41:00"/>
<prefetch src="rtsp://www.my-home-tv.com:554/Archive/kanal5/kanal535-30-12-6-8-2010.rm?mhtvsession=NzQuNzIuMjA5LjEwODo5MTg2MjI6Mj AxMC0wOC0yNjo0OTMxMzA1Y2NiZjM0ZTgzNTY1N2U5NDFmYjhi NTI1NA==" mediaTime="30s" bandwidth="512000" />
</par>
...
It seems that .smil is an XML file which links to the media content.

RTSP is the real time streaming protocol. You can filter the rtsp-links with the following command:

Code:
grep rtsp myfile.smil | sed 's/.*\(rtsp:[^"]*\).*/\1/g'
You can play the rtsp stream with mplayer:
Code:
# play with full screen and 2000 kb buffer
mplayer -fs -cache 2000 "rtsp://..."

# save the stream as file: stream.dump
mplayer -dumpstream "rtsp://..."
Maybe kmplayer can do this too. But I only have tested the rtsp with mplayer from the command line.
 
Posts: 143 | Thanked: 205 times | Joined on Apr 2008
#12
Originally Posted by TorstenT View Post
Maybe kmplayer can do this too. But I only have tested the rtsp with mplayer from the command line.
Yes, kmplayer supports SMIL.
 
Posts: 44 | Thanked: 1 time | Joined on Aug 2010
#13
that is a test...
 
Posts: 143 | Thanked: 205 times | Joined on Apr 2008
#14
Originally Posted by koos View Post
Yes, kmplayer supports SMIL.
Btw. it might be a copy&paste problem, but the rtsp links report a 'source not found' error.
You need to use gstreamer (osso-media-server), mplayer doesn't really support rtsp.
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#15
its all greek to me...
 
Posts: 45 | Thanked: 45 times | Joined on Jul 2010 @ Berlin
#16
Originally Posted by extendedping View Post
its all greek to me...
There is a dictionary for greek called "Wikipedia".

http://en.wikipedia.org/wiki/Rtsp
http://en.wikipedia.org/wiki/Mplayer..._media_formats
http://en.wikipedia.org/wiki/Synchro...ation_Language

Meanwhile, I tried kmplayer. It filters the RTSP-links from the SMIL file but does not start playing when you click on the links.

Therefore you need to start the X Terminal on the N900 and use the command line. Kmplayer is a graphical front-end for mplayer. mplayer is the program for the command line. You can add parameters behind the program name. -fs means full screen. -cache means buffer the movie before playing. rtsp://... is the link to the streaming server and the file name.

Check on your PC that an RTSP-Link is working. If it is working then you can check the link on the N900.

Code:
mplayer -fs -cache 2000 "rtsp://..."
This is a command line that you can enter in the X Terminal on the N900. rtsp://... has to be replaced with the real RTSP-link.

A manual with the different options of mplayer is here:
http://tivo-mplayer.sourceforge.net/...layer-man.html
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#17
thanks will look at this tomorrow.
 
Posts: 143 | Thanked: 205 times | Joined on Apr 2008
#18
Originally Posted by TorstenT View Post
Meanwhile, I tried kmplayer. It filters the RTSP-links from the SMIL file but does not start playing when you click on the links.
Did you select osso-media-server (gstreamer), from main window menu, option 'Select Player'?
Firstly I suspect mplayer doesn't support these rtsp links, secondly it was reported to be working on Ubuntu (which makes me guess that totem plays it)
Note that the pasted smil file is probably corrupted, eg contains spaces in the urls.
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:06.