maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Playing .ogv on N900 (https://talk.maemo.org/showthread.php?t=61935)

int_ua 2010-09-08 15:41

Playing .ogv on N900
 
Just downloaded 480p ogv version of trailer from
http://durian.blender.org/download/
The only player that opened it was KMplayer and it was veeery slow, about 0.3fps :(
(Media Player, mplayer, vlc and ffplay without options failed)

What can you recommend?
Package for ogg is installed (forgot it's name), maybe there is another one for ogv?

Jack6428 2010-09-08 18:50

Re: Playing .ogv on N900
 
What the hell is OGV? You shouldn't be surprised you can't play it on the N900...it's not a regular format, not even on PC.

pycage 2010-09-08 18:56

Re: Playing .ogv on N900
 
It's Ogg Theora. So it's a regular, albeit not widespread format. Any modern Linux PC is able to play it out of the box, though.

mase 2011-06-07 17:58

Re: Playing .ogv on N900
 
Same question here. Any solution for ogv?

pali 2011-06-07 18:16

Re: Playing .ogv on N900
 
try install package ogg-support from extras-devel

pali 2011-06-07 18:20

Re: Playing .ogv on N900
 
In game stratagus/wargus is all vides converted to ogv format and wargus play all videos without problem. (But yes, it has own simple video player glued into engine - using theroa library).

So HW in N900 can play video without problem, but there is maybe problem with players... I try investigate where is problem and how to easy play ogv videos.

pali 2011-06-07 18:51

Re: Playing .ogv on N900
 
So here is solution how to play theora videos using gstreamer libraries.

What is needed: theora and vorbis decoder for gstreamer; simple gstreamer utility which connect buffer pipes togeter.

Installing packages (as root):
$ apt-get install gstreamer0.10-ogg gstreamer0.10-vorbis gstreamer0.10-theora gstreamer-tools

Playing theora video and vorbis audio from file (file may have extension .ogv):
$ gst-launch filesrc location=<video.ogv> \! oggdemux name=demuxer demuxer. \! queue \! theoradec \! xvimagesink demuxer. \! queue \! vorbisdec \! pulsesink

Q: What?? Why this very long command??
A: gst-launch is very simple program which only connect buffer pipes togeter. '\!' means similar as s pipe '|' in shell/bash. First is needed to demux file into audio and video part. Video stream needs to be decoded from theora format to RGB/YUV images which can be shown on screen by Xv. Next audio stream needs to be decoded from vorbis format to uncompressed RAW/WAV which pulseaudio can play.

mase 2011-06-07 18:55

Re: Playing .ogv on N900
 
I already installed ogg-support. Where is that videopayer?

pali 2011-06-07 18:58

Re: Playing .ogv on N900
 
Quote:

Originally Posted by mase (Post 1024474)
I already installed ogg-support. Where is that videopayer?

I was not able to play my ogv videos with ogg-support and default media player. I think that ogg-support adds only support for ogg/vorbis (not for theora). Next I tried mplayer on n900. No success too... Only what played audio+video from ogv file was gstreamer libraries (with above program gst-launch).

mase 2011-06-07 19:03

Re: Playing .ogv on N900
 
I get this using your command:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Nothing more happens.

pali 2011-06-07 19:06

Re: Playing .ogv on N900
 
Is your video in ogg format with vorbis audio and theora video?

pali 2011-06-07 19:10

Re: Playing .ogv on N900
 
I tested gst-launch with downloaded videos from:
http://www.sintel.org/download/

This working fine without problem:
http://ftp.nluug.nl/ftp/graphics/ble...ailer-480p.ogv

mase 2011-06-07 19:11

Re: Playing .ogv on N900
 
Yes, it is.
On the other way, it it too complicated to use a command like this.
Ok, I could use a script <filename> for this.

ivanrajkovic 2011-06-07 19:22

Re: Playing .ogv on N900
 
i tested sintel_trailer-480p.ogv with the stock media player, and it is working without a problem. mplayer played audio only.

I have installed:
extra decoders support
ogg support
and a bunch of gstreamer plugins, among which:
gstreamer0.10-theora

Maybe you need to restart the tracker/media player somehow if you have just now installed the gstreamer theora support?

mase 2011-06-07 19:40

Re: Playing .ogv on N900
 
Yes, the above video runs with the stock player. But try this one:
http://blip.tv/file/get/Llelectronic...00Teil1258.ogv
This video does not run.
Also no luck with mp4 videos. Most video podcasts are in this formats.
Edit: It runs now, too.

ivanrajkovic 2011-06-07 20:27

Re: Playing .ogv on N900
 
aren't two demo videos that come with n900 in mp4?
9.mp4 and Nokia_N900.mp4

I checked now, and they have mp4v video and aac audio. maybe the podcasts use some other video codec. Try and see what are they using.

mase 2011-06-07 20:52

Re: Playing .ogv on N900
 
They are using h264 @ 640 x 480 with mp4a. This is a format for
ipods.
For example the mp4 files provided here:
http://techviewpodcast.wordpress.com/

ivanrajkovic 2011-06-07 22:31

Re: Playing .ogv on N900
 
I tried downloading a podcast from that site, but it is going quite slow and I don't have time to try it now. Also, I'm on a trip for the next 10 days, so if this is not resolved by then I will check again.

Best of luck,
Ivan

Velian 2014-06-21 03:44

Re: Playing .ogv on N900
 
even there a simpler solution??


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

vBulletin® Version 3.8.8