maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Mpeg2 and build-in player in N900 (https://talk.maemo.org/showthread.php?t=35203)

Liplap 2009-11-26 21:33

Mpeg2 and build-in player in N900
 
Does the N900 built-in player support mpeg2? Tried streaming mpeg2 transport stream recoding from my Dreambox and the player informed me that format is not supported.

Tomaszd 2009-11-26 21:43

Re: Mpeg2 and build-in player in N900
 
We can help you if you tell us the mimetype of the stream. But my educated guess is to install the libmpeg2-4 library (try gstreamer0.10-ffmpeg too), install tracker-distutils and try the following:

Code:

tracker-register-mimetype -c Videos -a video/mp2t
This change is harmless, if it causes trouble you can remove it:

Code:

tracker-register-mimetype -c Videos -d video/mp2t
Of course you have to do this using the root shell.

zaheerm 2009-11-27 06:59

Re: Mpeg2 and build-in player in N900
 
in fact it is video/mpegts you want not video/mp2t with the tracker-register-mimetype

you would need to install gstreamer0.10-ffmpeg to get the mpeg2 decoder.

however because there is no dsp accelerated mpeg2 i doubt SD recordings from your dreambox will play well enough. some tricks with not decoding all macroblocks etc can be done to optimise it.

buchti 2010-02-20 12:32

Re: Mpeg2 and build-in player in N900
 
Quote:

Originally Posted by Liplap (Post 394626)
Does the N900 built-in player support mpeg2? Tried streaming mpeg2 transport stream recoding from my Dreambox and the player informed me that format is not supported.

Hello, looking for a solution to watch dreambox tv on the N900.
you have found a solution?

Arif 2010-02-20 23:14

Re: Mpeg2 and build-in player in N900
 
I use KMPlayer which works in combination with DVBViewer + Recording Service which is similar to DreamBox' streaming

buchti 2010-02-20 23:57

Re: Mpeg2 and build-in player in N900
 
thanks
But that does not work
The connection breaks off after a short time and the sound is not syncron?

buchti 2010-02-21 00:08

Re: Mpeg2 and build-in player in N900
 
user@N900:~/MyDocs$ mplayer http://192.168.178.2:31339/0,0061,01ff,0200,0203
MPlayer SVN-r30099-4.2.1 (C) 2000-2009 MPlayer Team

Playing http://192.168.178.2:31339/0,0061,01ff,0200,0203.
Connecting to server 192.168.178.2[192.168.178.2]: 31339...
Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)
TS file format detected.
VIDEO MPEG2(pid=511) AUDIO MPA(pid=512) NO SUBS (yet)! PROGRAM N. 17501
Stream not seekable!
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 15000.0 kbps (1875.0 kbyte/s)
================================================== ========================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
================================================== ========================
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12
[AO_ALSA] Write error: Broken pipe-0.020 10/ 10 ??% ??% ??,?% 8 0 17%
[AO_ALSA] Trying to reset soundcard.
nop_streaming_read error : Connection reset by peer% ??% ??,?% 9 0 1%
TS_PARSE: COULDN'T SYNC
[AO_ALSA] Write error: Broken pipe
[AO_ALSA] Trying to reset soundcard.
A:7136.1 V:7135.5 A-V: 0.664 ct: -0.016 13/ 13 ??% ??% ??,?% 9 0 0%
Broken frame at 0x9480
A:7136.1 V:7136.1 A-V: 0.039 ct: 0.051 29/ 29 92% 28% 164.5% 9 0 0%

Exiting... (End of file)

Stefanopolis 2010-02-23 14:00

Re: Mpeg2 and build-in player in N900
 
Hi, I have Dreambox 800 HD PVR transcode with computer and watch any chanel i want on my beautiful N900 :-).
The combination of Dremabox, VLC streamer, VNC viewer and KMPlayer and 550kb per sec. is enough to watch TV on 3G

buchti 2010-02-23 20:15

Re: Mpeg2 and build-in player in N900
 
Thank you for the tip.
But I'm looking for a solution without a PC ;)
Thanks

mikec 2010-02-23 20:21

Re: Mpeg2 and build-in player in N900
 
have you got extra decoders support installed from the application manager?


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

vBulletin® Version 3.8.8