maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Videocenter/media player does NOT work under 2008Os (https://talk.maemo.org/showthread.php?t=19747)

bunanson 2008-05-03 15:53

Videocenter/media player does NOT work under 2008Os
 
Add http://feeds.cbsnews.com/podcast_eveningnews_video_1, CBS Evening news with Katie Couric, to videocenter and watch it under 2007Os and 2008Os. I am able to watch a 30min news streaming under 2007Os, be it 770 or N800 (N810 did not try), smooth and enjoyable all the way to the end. On 2008Os N8x0, it runs fine for five minutes, it then slowly deteriot and 10 min into its running, it is NOT watchable. Its video stutters horribly and comes to almost a halt. Audio deteriots later, but also comes to a complete halt in 12 min or so.

Kmplayer does not have this problem. It also streams video from various sources and is able to run forever without deteriotion.

RSS feeds using those URLs, CBS news with Katie Couric, same results. This suggests that the problem lies with media player instead of video ceneter.


Any comments? Suggestions?

Videocenter is my number one app. I am thinking to stay with 2007Os if this is the current situation.



bun

qwerty12 2008-05-03 15:59

Re: Videocenter/media player does NOT work under 2008Os
 
Hmm, have you tried setting it to use kmplayer or mplayer instead of the built in media player?

I've never used OS2007 so I don't know if the video playback is better in it.

bunanson 2008-05-03 16:08

Re: Videocenter/media player does NOT work under 2008Os
 
In general, media player renders better than mplayer. No, I have not tried that. Good suggestion, I am watching it under mplayer and see how it goes.

Fanoush post this, http://www.internettablettalk.com/fo...t=16308&page=4, thread #38,
__________________________________________________ ____
Senior Member Join Date: Jan 2006
Location: Czech Republic
Posts: 1,443
Thanks: 19
Thanked 273 Times in 172 Posts

Re: 770 Or N800?

--------------------------------------------------------------------------------

Quote:
Originally Posted by bunanson
the whole 30 min news streaming is silk smooth and enjoyable till the last frame on the 770, while the N800 and N810 will run for less than a minute and start choking, stuttering, and let it go for 5 min
....
All are MMC booted.....................umm, you going to ask me how about internal flash boot? have not tried yet, will post later...

Might be worth trying. Having system on mmc can sometimes cause audoi stuttering. At least with stock media player or internet radio applet, not sure about mplayer. The problem is that since 2.6.18 kernel, mmcqd kernel thread has higher priority than audio daemon so with random mmc writing audio may stutter. If you hear this try to run
Code:
renice 0 `pidof mmcqd`as root to check if it goes away. Good place to run it is somewhere inside /usr/sbin/osso-mmc-mount.sh script which is run after mmc card is inserted. I have mentioned this few times but nobody ever complains about it so maybe it happens just to me :-)

As for 770 being better in smooth playback, maybe kernel preemption, http://www.linuxjournal.com/article/5600, helps too. N8x0 kernel is not preemptible so latency in kernel may be higher.

__________________________________________________ _

It is a little bit over my head. I tried the code pidof and returns,

error "wrong value for pidof"

I am still watching the CBS under mplayer and see how it goes...

bun

qwerty12 2008-05-03 16:12

Re: Videocenter/media player does NOT work under 2008Os
 
I just tried that : renice 0 `pidof mmcqd`

and it ran fine on my n800.

Bundyo 2008-05-03 16:15

Re: Videocenter/media player does NOT work under 2008Os
 
bunanson, the tearsync kernel plays videos very good in 770.

bunanson 2008-05-03 16:36

Re: Videocenter/media player does NOT work under 2008Os
 
Quote:

Originally Posted by Bundyo (Post 177518)
bunanson, the tearsync kernel plays videos very good in 770.

?

I guess the tearsync kernel is probably the kernal on 770. So....how do we go from here to help the 2008Os on the N8x0?


bun

qwerty12 2008-05-03 16:38

Re: Videocenter/media player does NOT work under 2008Os
 
Quote:

Originally Posted by bunanson (Post 177534)
?

I guess the tearsync kernel is probably the kernal on 770. So....how do we go from here to help the 2008Os on the N8x0?


bun

No, tearsync isnt in 770 kernel by default. fanoush backported it in his custom kernel. N800 has tearsync in the kernel by default.

bunanson 2008-05-03 16:46

Re: Videocenter/media player does NOT work under 2008Os
 
Quote:

Originally Posted by qwerty12 (Post 177509)
Hmm, have you tried setting it to use kmplayer or mplayer instead of the built in media player?

I've never used OS2007 so I don't know if the video playback is better in it.

kmplayer is a frontend for the media player and mplayer, and I am trying to configure VC to use kmplayer as the ext player and see how it work; maybe kmplayer is more optimize to media player then media player itself (?).

The 2nd idea works some. I configured the VC to use mplayer instead of media player. It plays ALL 30 min till the end of the CBS news, streaming, without deteriotion over play time. However, my the mplayer has serious lag problem, even upon beginning. Video is prominently lag behing audio. You hear the word then you slowly see the mouth moves. It is annoying, I guess, it is still kind of watchable though.


kmplayer 0.8.2-1
mplayer 1.0rc1-maemo.26.n8x0
N800/mmc boot/2.2007.51-3

bunanson 2008-05-03 16:57

Re: Videocenter/media player does NOT work under 2008Os
 
@qwerty12: You know how to make VC to use kmplayer?

I configured the VC to use kmplayer as the ext player. VC opens the kmplayer and that is all, it does not play the CBS news.

bun

qwerty12 2008-05-03 17:01

Re: Videocenter/media player does NOT work under 2008Os
 
Quote:

Originally Posted by bunanson (Post 177542)
@qwerty12: You know how to make VC to use kmplayer?

I configured the VC to use kmplayer as the ext player. VC opens the kmplayer and that is all, it does not play the CBS news.

bun

No sorry, maybe kmplayer uses dbus to recieve a file. Hmm, I'll take a look later for a right dbus string (hopefully)

bunanson 2008-05-03 17:01

Re: Videocenter/media player does NOT work under 2008Os
 
Quote:

Originally Posted by qwerty12 (Post 177535)
No, tearsync isnt in 770 kernel by default. fanoush backported it in his custom kernel. N800 has tearsync in the kernel by default.

I guess its a question I may not even qualify to ask, so how can one test this tearsync kernel on the N800? Or is it using in the VC on the N800/2008Os?

Anyhow, I am watching the news with mplayer, and trying to the ignore the sync problem, it is bearable as compare to the media player, where the media player simply comes to a halt.


bun

bunanson 2008-05-03 17:15

Re: Videocenter/media player does NOT work under 2008Os
 
Thanks qwerty12, I managed to run the code renice. It does no quat. VC media player halts at 7.5 min. So far, the only one that kind of running is VC with mplayer bundled with sync problem. This is very sad.

bun

Bundyo 2008-05-03 17:38

Re: Videocenter/media player does NOT work under 2008Os
 
I think tearsync is used automatically in mplayer on n8x0, however the config option is vo=omapfb:tearsync=1 or replace omapfb with nokia770 if using earlier mplayer.

qwerty12 2008-05-03 18:23

Re: Videocenter/media player does NOT work under 2008Os
 
Ok, thanks to fiferboy, I pieced this command together like I said I would:

/usr/bin/dbus-send --print-reply --dest=com.nokia.kmplayer /com/nokia/kmplayer com.nokia.kmplayer.mime_open string:"%s"

I tried it and it works.

bunanson 2008-05-03 19:53

Re: Videocenter/media player does NOT work under 2008Os
 
More info pls.

bun

qwerty12 2008-05-03 19:58

Re: Videocenter/media player does NOT work under 2008Os
 
My bad, using that command as the external media player in video center will let you watch the videos in kmplayer.

bunanson 2008-05-03 20:29

Re: Videocenter/media player does NOT work under 2008Os
 
STRONG WORK, qwerty12! It does open kmplayer and plays with kmplayer. I am now watching it and see whether it is better behaved then playing directly with media player....

bun

bunanson 2008-05-03 20:49

Re: Videocenter/media player does NOT work under 2008Os
 
NO. :(

It ran for about 4 min or so, and it started to stutter and deterioted into becoming a slide show and finally came to its knee, just audio with a still picture. Yes. I have been watching the same CBS/katie/5/2/08 video segment to reproduce the more similar environment, so it is not bandwidth/streaming source/etc. These are compared under the most strict similar environment as possible.

I have also configed to either osso-player or mplayer, no difference. osso-player video deteriot while mplayer audio/video sync problem.



nice try, no cigar yet..........

@Bundyo, would using tearsync770 improves the situation?


I also noticed that short segment video clips streaming does NOT have this problem, say 20 MB or 5 min. But I like to watch 100MB or 20 min+ clips....

bun

bunanson 2008-05-11 03:33

Re: Videocenter/media player does NOT work under 2008Os
 
I am doing other things that requires to watch the same clip over and over again, so I chose CBS evening news with Katie Couric, may1,2008. I watched the same clip with 770, N800, N810, with Wifi streaming, dl a copy, MMC boot etc various combination. The 770 streamed with VideoCenter very well, smooth and clear for the whole 22 min broadcast. Both the N800 and N810, running 2008Os, are NOT watchable after a mere 5 minutes. And I am using media player. Mplayer (rc1.26....) is even worse. How many times I have done it, close to 12 times.

There are serious problems in streaming video signals on 2008Os.


bun

Ism 2008-05-11 22:36

Re: Videocenter/media player does NOT work under 2008Os
 
Quote:

Originally Posted by bunanson (Post 180245)
I am doing other things that requires to watch the same clip over and over again, so I chose CBS evening news with Katie Couric, may1,2008. I watched the same clip with 770, N800, N810, with Wifi streaming, dl a copy, MMC boot etc various combination. The 770 streamed with VideoCenter very well, smooth and clear for the whole 22 min broadcast. Both the N800 and N810, running 2008Os, are NOT watchable after a mere 5 minutes. And I am using media player. Mplayer (rc1.26....) is even worse. How many times I have done it, close to 12 times.

There are serious problems in streaming video signals on 2008Os.


bun


Good news or bad news first?

I tried your Katie stream.

Good news: You forced me to watch Katie Couric. Thank you,
thank you, thank you.

Bad news: Video center Couric stream unwatchable with
Media player after just a few minutes.

More Good News: Katie played very well with my N800 OS2008 Video Center using
mplayer_1.0rc1-maemo.27. Smooth sailing, no stutter. After 14 minutes
audio delay was slightly off (default audio delay with
mplayer is 200 ms). With OSD I quickly changed that to 0 ms and all
was well again. I also watched may 2nd stream. Similar results.
No need to change audio delay. Very good streaming quality.

When I played downloaded Katie stream both Media Player and
mplayer worked very well.

My Video center settings: Player External, command line /usr/bin/mplayer -cache 1024 %s

Perhaps this is because .27 has better AAC audio handling than
previous versions and Katie is using AAC.

mplayer_1.0rc1-maemo.27 thread:
http://www.internettablettalk.com/fo...d.php?p=172871

Try .27. Perhaps it changes your life. Works for me.

bunanson 2008-05-11 22:51

Re: Videocenter/media player does NOT work under 2008Os
 
I read .27. and I also see mixed results and one even ask how to turn it back to .25. I will give it a try just because ISM say so...........;)


bun

Ism 2008-05-11 23:49

Re: Videocenter/media player does NOT work under 2008Os
 
Quote:

Originally Posted by bunanson (Post 180565)
I read .27. and I also see mixed results and one even ask how to turn it back to .25. I will give it a try just because ISM say so...........;)


bun

Well, I think the most important part is to backup your
irreplaceable downloaded Katie Couric episodes before
you update to .27 ;)

Don't do it just for me, do it for Katie too!

bunanson 2008-05-12 12:36

Re: Videocenter/media player does NOT work under 2008Os
 
Ism is totally correct. VC/mplayer .27 works beautifully with CBS evening news. It was smooth from beginning till end. Strong recommend the upgrade to .27 of mplayer. Well, I tried that with kmplayer, it still choppy and stuttering with other mms:// streaming. I would like to try Bundyo's suggestion about tearsyn and see how it works on other streaming source.


bun


All times are GMT. The time now is 03:21.

vBulletin® Version 3.8.8