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.


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

vBulletin® Version 3.8.8