maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   MPlayer which version is suitable (https://talk.maemo.org/showthread.php?t=2405)

thefakirrr 2007-08-25 22:10

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by hafken (Post 46731)
I have a N800 and have been using the r13 build for a while now with no problems. However, upon upgrading to r15, my videos no longer play. It appears to be an audio problem, though I'm not sure. Here's the output from the logfile:


*********************************************
And here's the log from r13 using the same video:

***********************************

The video (an episode of arrested development) was first ripped from the DVD, then converted via ffmpeg. I have had no problems viewing these using r13, but but r15 definitely seems to have a problem. I'm pretty sure I tried r14 too, with the same results as r14.

Hope this helps....

-dave

Hi,

i am experiencing this on N800 with current firmware (stock kernel) and current mplayer (default options).
The "ripped by me from dvd" file plays ok on desktop (mplayer and kaffeine/xine) as well as on 770 with older mplayer.

Please (Serge i guess), PM me and i will send you a link to sample file in the hope this can help with this issue.

Tnx, Alex.

Here is what i get on N800 :

~ $ mplayer /media/mmc2/Videos/Indoclips/indoclips-Tes-yeux-noirs.avi
MPlayer 1.0rc1-maemo.18.n800 (C) 2000-2006 MPlayer Team
CPU: ARM
[MENU] Can't open menu config file: /home/user/.mplayer/menu.conf
Menu inited: /etc/mplayer/menu.conf

Playing /media/mmc2/Videos/Indoclips/indoclips-Tes-yeux-noirs.avi.
Cache fill: 0.00% (0 bytes)
AVI file format detected.
VIDEO: [XVID] 320x240 24bpp 25.000 fps 506.7 kbps (61.9 kbyte/s)
Clip info:
Software: transcode-1.0.2
[nokia770] Nokia N800 hardware detected
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
================================================== ========================
Trying to force audio codec driver family dspmp3...
Opening audio decoder: [dspmp3] MP3 audio pass-through for Nokia 770/N800 (fake decoder)
ADecoder init failed :(
ADecoder init failed :(
Requested audio codec family [mp3] (afm=mp3lib) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[mp3 @ 0x4f287c]incorrect frame size
invalid new backstep 533
AUDIO: 48000 Hz, 2 ch, ??, 96.0 kbit/6.25% (ratio: 12000->192000)
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio decoder)
================================================== ========================
AO: [gst] 48000Hz 2ch ?? (1 bytes per sample)
Starting playback...
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]incorrect frame size
invalid new backstep 540
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]incorrect frame size
invalid new backstep 540
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
[mp3 @ 0x4f287c]Header missing skipping one byte.
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [nokia770] 320x240 => 320x240 Planar YV12 [fs] [zoom]
[nokia770] Using ARM JIT YUV420 scaler (quality=2) to scale 320x240 => 320x240
A: 0,2 V: 0,1 A-V: 0,159 ct: 0,004 3/ 3 ??% ??% ??,?%
Exiting... (Quit)
~ $ uname -a Linux Nokia-N800-26 2.6.18-omap1 #2 Wed Jun 13 11:37:40 EEST 2007 armv6l unknown
~ $

sparkbox 2007-08-29 07:08

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by Tweak (Post 23389)
Success!
Added the following in .mplayer/input.conf so I can now adjust the sound delay in video that were unwatchable because of playing audio out of sync. I discovered there are a ton of other keymappings you can do too.

UP audio_delay 0.100
DOWN audio_delay -0.100

I am a noob how do I edit the input.conf file??

Thanks!

Serge 2007-08-29 07:22

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by thefakirrr (Post 71142)
Please (Serge i guess), PM me and i will send you a link to sample file in the hope this can help with this issue.

Sure, a sample of such file would certainly help.

thefakirrr 2007-08-29 09:54

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by Serge (Post 71814)
Sure, a sample of such file would certainly help.

I have PMed you a link to the file.
Thanks for your help.

jay8378 2007-08-29 13:37

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by sparkbox (Post 71812)
I am a noob how do I edith the input.conf file??

Thanks!

First youll want to install osso-xterm package and the nano package find them at maemo.org.
Start X terminal and type
Code:

nano .mplayer/input.conf
from your home directory which is the default
you can also use leafpad in the same way if you prefer a graphical user interface.
Code:

leafpad .mplayer/input.conf

sparkbox 2007-08-29 17:44

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by jay8378 (Post 71858)
First youll want to install osso-xterm package and the nano package find them at maemo.org.
Start X terminal and type
Code:

nano .mplayer/input.conf
from your home directory which is the default
you can also use leafpad in the same way if you prefer a graphical user interface.
Code:

leafpad .mplayer/input.conf

Thanks for your help! This is my first time using linux - going to buy some books to learn more. But at least now when I take breaks from reading I can watch Doctor Who in sync.

Thanks again!

uris 2007-10-18 18:42

Re: MPlayer which version is suitable
 
Hi Serge!

Have you been able to test new N810 already with mplayer?
Would extra 70Mhz make a big difference for mplayer performance or will video interface still be a problem for bigger resolution Xvids?

cheers

konttori 2007-10-18 20:54

Re: MPlayer which version is suitable
 
Hey, serge, if you get the mplayer compiled for chinoo, please let me know. I'll test it immediately for you.

ScooperJay 2007-12-22 17:14

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by konttori (Post 83967)
Hey, serge, if you get the mplayer compiled for chinoo, please let me know. I'll test it immediately for you.

Dittto. If a .deb is made for OS2008 I'd be interested in testing.

GeneralAntilles 2007-12-22 17:28

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by ScooperJay (Post 113861)
Dittto. If a .deb is made for OS2008 I'd be interested in testing.

It already has been. This is the thread you're looking for.

fanoush 2008-04-07 11:00

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by fanoush (Post 50032)
Thanks for testing. This means the code really does not work on many (all?) devices. Let's just hope it is my bug and can be fixed. It seems unlikely that someone inside Nokia bothered to write the tearsync code for N770 (which is completely different than code for n800) but the hardware in fact does not support it. Still it never made into official N770 kernel so maybe they found it later, who knows.

Reviving this one year old issue. Got tearsync support working with Nokia 770 :-)


Working source patch http://fanoush.wz.cz/maemo/#tearsync.
Works for me but take is as experimental code. I have tested it with two (=all?) widely available 770 board revisions - 1602 and 1802.

For kernel image get one of SDHC ones http://fanoush.wz.cz/maemo/#sdhc it is now part of them. If you already flashed one of them before, please redownload and reflash, previous versions had the non-working tearsync version included by mistake. It was harmless unless you actually try it with mplayer and use options below.

All source patches and kernel configuration used for compiling the image is now inside .tar.gz file in 'source' directory.

After flashing zImage from the archive, you can test it with mplayer arguments '-vo nokia770:tearsync=1'. If it works, you can also set it as default by adding line to /home/user/.mplayer/config
Code:

# Write your default config options here!
vo=nokia770:tearsync=1

Or to enable yuv420 mode too (gives slight speedup), you can add
Code:

# Write your default config options here!
vo=nokia770:tearsync=1,yuv420=1

So after approx. one year delay we finally have it working. What took so long? Basically it was just lack of information, magic words are "pin muxing, ball G20, register 4, value 6, offset 6". The original code posted year ago was OK, it was just a matter of enabling TE pin input on OMAP side. Sadly pin muxing is done in bootloader and 770 bootloader have this disabled. Also getting this information was a pain since TI pretends there is no such thing as SoSSI in OMAP1 chips, documentation for SoSSI was intentionally removed from current and some past revisions of OMAP5912 datasheets.

dcy 2008-04-07 18:54

Re: MPlayer which version is suitable
 
and of course it works. Beautifully. Many many thanks

iainjh 2008-04-10 22:45

Re: MPlayer which version is suitable
 
thank you! works great! :)

Serge 2008-04-12 06:33

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by fanoush (Post 166170)
Reviving this one year old issue. Got tearsync support working with Nokia 770 :-)

Thanks, it works great.

Quote:

Or to enable yuv420 mode too (gives slight speedup), you can add
Code:

# Write your default config options here!
vo=nokia770:tearsync=1,yuv420=1


A minor typo correction, you need to write 'vo=nokia770:tearsync=1:yuv420=1' in the configuration file to activate the use of both yuv420 mode and tearsync.

Anyway, I'll add automatic detection of kernel support for these features and mplayer will use them by default in the next build. So there would be no need tweaking configuration files (unless you would like to disable tearsync ;) ) and just flashing an upgraded kernel would be enough for getting better video quality and performance.

Gomez 2008-07-05 22:24

Re: MPlayer which version is suitable
 
Is it normal that mplayer (v. 1.0rc1-maemo.27 and 18) hangs on some divx movies when movie starts?

aya 2008-09-17 21:51

Re: MPlayer which version is suitable
 
I got a similar question, for some mp4 file, the picture freezes while the sound plays smoothly, anyone got ideas?


BTW: I saw the new mplayer released, when will Maemo version update?


thanks guys,

Serge 2008-09-18 07:22

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by aya (Post 224789)
I got a similar question, for some mp4 file, the picture freezes while the sound plays smoothly, anyone got ideas?

Yes, it is too slow and has to skip frames. In your case it essentially skips almost all the frames.

Quote:

BTW: I saw the new mplayer released, when will Maemo version update?
Yes, it was released long ago. Moreover, a lot more features are available in SVN version of upstream mplayer which is unreleased yet. But I'm not working on this stuff at the moment, a new maintainer/packager joining garage mplayer project would help.

Serge 2008-09-18 07:23

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by Gomez (Post 199712)
Is it normal that mplayer (v. 1.0rc1-maemo.27 and 18) hangs on some divx movies when movie starts?

No, it's not normal.

aya 2008-09-18 10:57

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by Serge (Post 224900)
Yes, it is too slow and has to skip frames. In your case it essentially skips almost all the frames..

Thanks, I did try with skipframe option under X-term and eventually I got a message that my n800 is too slow to play this movie. Sigh...


Quote:

Yes, it was released long ago. Moreover, a lot more features are available in SVN version of upstream mplayer which is unreleased yet. But I'm not working on this stuff at the moment, a new maintainer/packager joining garage mplayer project would help.
Do you mean 1.0rc2? I also saw updates for libdvdnav-4.1.3 and libdvdread-4.1.3.

Thanks anyway!

vasily_pupkin 2009-03-13 17:48

Re: MPlayer which version is suitable
 
Is mplayer for maemo dead?

Karel Jansens 2009-03-13 21:52

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by vasily_pupkin (Post 271450)
Is mplayer for maemo dead?

Why do you think that?

It works; and, given the hardware limitations and bugs in the tablets, it's highly unlikely to ever work any better than it does now.

Is TeX dead?

dcy 2009-03-31 17:12

Re: MPlayer which version is suitable
 
Mplayer does indeed work very well, except for one thing on my 770 2007HE: the versions starting from .26 do not keep the backlight on when playing a movie. The dev is aware of my problem, but before I begin many compilations of mplayer in order to find what causes this, does anyone experience the same problem?

Thanks for your feedback.

grog 2009-03-31 17:18

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by dcy (Post 276111)
Mplayer does indeed work very well, except for one thing on my 770 2007HE: the versions starting from .26 do not keep the backlight on when playing a movie. The dev is aware of my problem, but before I begin many compilations of mplayer in order to find what causes this, does anyone experience the same problem?

Thanks for your feedback.

I can say for sure that on my tablet mplayer DOES keep the backlight on (i.e. does not dim the screen). N810 runnng Diablo 5.2008.43-7, mplayer 1.0rc1-maemo.29.n8x0. HTH

nevermnd 2009-04-02 12:17

Re: MPlayer which version is suitable
 
@dcy

I can confirm having the same issue on the N770 with 2007HE. Otherwise it works fine. Please let me know if you or anyone else finds a solution to this

dcy 2009-04-02 12:27

Re: MPlayer which version is suitable
 
1 Attachment(s)
This is the changelog between version .25 and .26, and
Siarhei Siamashka (the dev of maemo mplayer) reckons that he does not see what could cause this. Me neither, but I am no specialist.

The idea would be to compile several versions of mplayer, starting with half of the patches and see if there is a problem, i.e. by bisecting.

For those with more time than me, version .25 is revision 321 in SVN, version .26 is revision 335.

nevermnd 2009-04-02 12:41

Re: MPlayer which version is suitable
 
@dcy

Do you know how one acquires an older version of mplayer for the 770 ? I looked on the mplayer maemo garage project page, for which the releases (for the 770) seem to jump from '18', to 24/26 (which look like they are only for the n800). On Ver '18' mp4s are really choppy so its no good for me.

dcy 2009-04-02 12:48

Re: MPlayer which version is suitable
 
in the extra-devel repository of bora, if I remember correctly.

Use a web browser.

nevermnd 2009-04-02 13:31

Re: MPlayer which version is suitable
 
Thanks for that.

Well I tried installing .25 and can confirm that my backlight now stays on. Unfortunately the mp4's are really really choppy again :/ I guess I will just have to wait for a fix for this.

stangri 2009-04-02 21:10

Re: MPlayer which version is suitable
 
I'm guessing something needs to be fixed for MPlayer to properly run on N810 WiMax, it chocks on the same movies/SD-card which regular N810 played just fine.

dcy 2009-04-20 14:35

Re: MPlayer which version is suitable
 
Solution found for the screen-blanking problem: in /etc/mplayer/mplayer.conf, ensure that the first line is

ao=gst,esd,sdl

and not ao=gst,sdl

wolfruler 2009-07-15 14:50

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by stangri (Post 276905)
I'm guessing something needs to be fixed for MPlayer to properly run on N810 WiMax, it chocks on the same movies/SD-card which regular N810 played just fine.

Anybody have any idea how to get MPlayer, canola, or diga@scene to work on a N810 WiMax (Rx-48)?:confused:

ukki 2009-07-15 15:26

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by wolfruler (Post 304702)
Anybody have any idea how to get MPlayer, canola, or diga@scene to work on a N810 WiMax (Rx-48)?:confused:

If they are using omapfb which is not enabled on Wimax Edition, you can try if this version works better:

http://wiki.maemo.org/Knots#Mplayer_..._Wimax_Edition

wolfruler 2009-07-15 15:37

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by ukki (Post 304713)
If they are using omapfb which is not enabled on Wimax Edition, you can try if this version works better:

http://wiki.maemo.org/Knots#Mplayer_..._Wimax_Edition

Now that i've installed that which player should I install Canola, diga@scene, Knots, ect?:confused:

Bundyo 2009-07-15 16:50

Re: MPlayer which version is suitable
 
Whichever you want? :)

wolfruler 2009-07-15 17:05

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by ukki (Post 304713)
If they are using omapfb which is not enabled on Wimax Edition, you can try if this version works better:

http://wiki.maemo.org/Knots#Mplayer_..._Wimax_Edition

Thank alot! :D I've been looking for an answer that works for awhile. :cool:This is the first one that has partial success. ;)Canola and mediabox now works digia@scene still does not.:confused:

ukki 2009-07-15 17:55

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by wolfruler (Post 304716)
Now that i've installed that which player should I install Canola, diga@scene, Knots, ect?:confused:

I've heard great things about Knots 2.

bboons 2009-07-22 02:02

mplayer will not stop playing
 
Hi,
I'm trying to play a 11 second wav file (mplayer pcm.wav), the file plays correctly but it fails to stop after play back is complete. mplayer continues to run, the seconds counter stops but the "%" thing keeps updating:
>Starting playback...
>A: 11.6 (11.5) of 11.0 (11.0) 44.7% 0%

What reads as 44.7% keeps incrementing beyond 100% and never stops.

What could be the problem?
I tried converting the file to mp3 (using ffmpeg) and the problem remains with mp3 playback as well.
Here's are the file details as reported by ffmpeg:

Input #0, wav, from 'pcm.wav':
Duration: 00:00:11.92, bitrate: 128 kb/s
Stream #0.0: Audio: pcm_s16le, 8000 Hz, mono, s16, 128 kb/s


Thanks for any pointers to solve this.

konttori 2009-07-22 19:36

Re: MPlayer which version is suitable
 
Hey, when can we get fremantle version out?

Bundyo 2009-07-24 04:45

Re: MPlayer which version is suitable
 
When there is something to test it on :p (hint: not SDK).

luis 2009-11-12 21:15

Re: MPlayer which version is suitable
 
I didn't read this whole thread, but several commands for mplayer in slave mode don't work. For example, mplayer in my N800 does nothing when you send the 'stop' command. I have to send the 'pause' command, that gives some problems.

Any idea?

Thanks,
L.


All times are GMT. The time now is 06:31.

vBulletin® Version 3.8.8