View Single Post
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#552
Originally Posted by wildt View Post
Having said that I'd love to try it out - I have a feeling that the codec combo I mentioned would work perfectly with gstreamer (as it's the compo Nokia chose to showcase the devices video playback abilities).
Ok, here are quick instructions to test, it isn't too hard actually. I just tried it myself and passthough seemed to work fine for xvid, but rest not so much. On your N900, run the following command as root:

Code:
apt-get install gstreamer0.10-tools
Then use your browser and select your profile from the dropdown list and start the stream. It doesn't have to work on your browser, most important thing is that it starts the stream (switch to log_level 1 and start Knots in terminal if you want to see the stream address, but it's usually the one listed below)

Then on your N900, run the following command (on same line):

Code:
gst-launch-0.10 -v playbin2 uri=http://desktopip:19780/stream.asf
Stream extension depends on stream_extension field in the profile so if you use ts mux and ts extension, it's stream.ts. Try different muxes that can be used with http (ts, ps, asf) and see what plays and what doesn't. If you get h264 working with gstreamer fine, I could consider switching to it on N900 version of Knots.
 

The Following User Says Thank You to ukki For This Useful Post: