maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Mplayer 1.0 rc2 - Testing build. (https://talk.maemo.org/showthread.php?t=18231)

jamart3d 2008-04-09 23:03

Re: Mplayer 1.0 rc2 - Testing build.
 
Thanks for the port

I'm using rc1 with no problem playing local files ( not much testing )

though when I browse with GMPlauncher to a shared file
it crashes upon loading the file

in fact whatever I use to attempt to play a shared file, the app will crash.

Has anyone been able to play a shared file?

thanks

qole 2008-04-10 00:15

Re: Mplayer 1.0 rc2 - Testing build.
 
Me again. I'm able to record a few seconds of less-than-stellar video from the built-in webcam with the following command:

Code:

mencoder -cache 256 tv:// -ovc lavc -lavcopts vcodec=wmv2:vbitrate=256 -of lavf -tv driver=v4l2:width=160:height=120 -vf scale=160:120 -fps 15 -nosound -o test.wmv
Those settings produce the longest, least ugly file. The problem is that when I start mencoder, it records a few seconds and then gets an error. The recording continues, but the output file is unusable after the error occured. I keep getting this error every second or three. Here's the error (the number in the square brackets is always different):

Code:

v4l2: ioctl dequeue buffer failed: Input/output error, idx = 000 [319.0]
MP4 seems to die much more quickly than WMV.

Any ideas?

qole 2008-04-10 05:53

Re: Mplayer 1.0 rc2 - Testing build.
 
This works for recording fairly decent, uncompressed video from the internal cam. Save it to a big flash card because it eats 140 MB per MINUTE. You will have to compress this after recording....

Code:

mencoder -cache 512 tv:// -ovc copy -tv driver=v4l2:width=320:height=240:noaudio -fps 15 -oac copy -o /media/mmc1/video/test.avi
I have yet to get the audio working. I have no idea how to access the mic via ALSA; what is the hardware ID?

If I use ":alsa=1" in the -tv options, I get:
Quote:

Error opening audio: Device or resource busy
If I use ":alsa=1:adevice=hw.0,0" I get:
Quote:

ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM hw:0,0
Error opening audio: No such file or directory

iancumihai 2008-04-20 20:01

Re: Mplayer 1.0 rc2 - Testing build.
 
Hi,

just something i've ran into. Playing a "high quality" video from youtube has some problems.

that movie was a hi-res mp4, audio was fine, video was freezed, when seeking the first frame was the correct one, after the first frame video got freezed, cpu 100% :( (seek works even when freezing occurs).


Not sure you can do something ... but i hope you can :)


Cheers
Mihai

Bundyo 2008-04-20 20:05

Re: Mplayer 1.0 rc2 - Testing build.
 
Could you post a link?

qole 2008-04-21 04:16

Re: Mplayer 1.0 rc2 - Testing build.
 
Bundyo, I'd love an mencoder with lamemp3 audio encoding support. Right now, any audio recorded on the tablet is uncompressed PCM, and it would be nice to have an on-tablet mp3 compressor. Thanks!

qwerty12 2008-04-21 07:03

Re: Mplayer 1.0 rc2 - Testing build.
 
Bundyo, any chance on generating a patch based on mplayer .27 for rc2 :o

Thanks :)

(I plan on making a bloated killer edition ^-^)

Bundyo 2008-04-21 08:03

Re: Mplayer 1.0 rc2 - Testing build.
 
:) I'll try, but i need to get project-free first :)

jackass124 2008-05-11 09:17

Re: Mplayer 1.0 rc2 - Testing build.
 
do i need to be in redpill mode to put the file in the usr/bin folder???

thanx!

qwerty12 2008-05-11 09:20

Re: Mplayer 1.0 rc2 - Testing build.
 
no, but you need to be root.

dukemagus 2009-06-19 15:46

Re: Mplayer 1.0 rc2 - Testing build.
 
dunno why, but multimedia buttons (play/pouse, a progress bar) is missing... what have i done wrong?

drwatson 2009-07-15 13:45

Re: Mplayer 1.0 rc2 - Testing build.
 
Hello ffffolks,

Bundyo mentions at the beginning of this thread that he uploaded mencoder.
But somehow I only see the download link for mplayer.

Any hints?

Special thanks to Bundyo

Bundyo 2009-07-15 14:55

Re: Mplayer 1.0 rc2 - Testing build.
 
I think both binaries were in the same archive.

Laughing Man 2009-07-28 00:13

Re: Mplayer 1.0 rc2 - Testing build.
 
Hmm to install this we just need the first file right

Mplayer Executables and config file:
http://www.mediafire.com/?0hqzwzzyytz
6MB

We don't need the maemo patch?

Bundyo 2009-07-28 05:10

Re: Mplayer 1.0 rc2 - Testing build.
 
Yes. No patch.

Laughing Man 2009-07-29 00:49

Re: Mplayer 1.0 rc2 - Testing build.
 
Hmm I've..done

I move mplayer to /usr/bin/ (as root)
config to /home/user/.mplayer/ (as user)
menu.conf to /etc/mplayer/ (as root)

Yet when I try to use the GUI for mplayer (the one that comes installed with whatever is in extras [I left it there and just installed this on top) nothing happens

A terminal process for command mplayer says

"mplayer: error while loading shared libraries: libungif.so.4: cannot open shared object file: no such file or directory"

Help?

qwerty12 2009-07-29 00:55

Re: Mplayer 1.0 rc2 - Testing build.
 
apt-get install libgif4

Святослав (Svjatoslav) 2009-07-29 17:23

Re: Mplayer 1.0 rc2 - Testing build.
 
What I do with "Maemo patch"?
Without patch, get error
Code:

mencoder: error while loading shared libraries: libungif.so.4: cannot open shared object file: No such file or directory
and
Code:

mencoder: error while loading shared libraries: libman.so.0: cannot open shared object file: No such file or directory
on Mer 0.15 :(



Что делать с patch-ем?

Святослав (Svjatoslav) 2009-07-29 17:34

Re: Mplayer 1.0 rc2 - Testing build.
 
/media/mmc1/htt # apt-get install libungif
Чтение списков пакетов... Готово
Построение дерева зависимостей
Reading state information... Готово
E: Не удалось найти пакет libungif

so - libungif - not found
OS - 5.2008.43-7

Святослав (Svjatoslav) 2009-07-29 17:44

Re: Mplayer 1.0 rc2 - Testing build.
 
May I use mencoder with Mer 0.15 for sound record > 8kHz ?

dukemagus 2009-07-29 21:37

Re: Mplayer 1.0 rc2 - Testing build.
 
i know that's a stupid question but... well... The efforts here are purely experimental or it'll come as n mplaywr update in extras repo?

such command lines scares linux noobs like me

Tomaszd 2009-07-30 23:02

Re: Mplayer 1.0 rc2 - Testing build.
 
Yes, it would be a shame if all this effort had gone to waste. Bundyo, any progress on this?

Bundyo 2009-07-31 05:31

Re: Mplayer 1.0 rc2 - Testing build.
 
No, I'm not doing any work on this as is Serge on the rc1. There's currently no maintainer of mplayer on Maemo. If anyone wants to stand and maintain it - contact Serge.

moja 2009-08-07 01:00

Re: Mplayer 1.0 rc2 - Testing build.
 
Hey guys - quick question,

I've got rc2 installed and it's the only way I've found to play this internet radio stream I listen to that requires a username/password. The only thing is, they have your email address as your username, and everything I've tried chokes except for using...

> mplayer -user email@host. com -passwd myPass http:/ /radio.hostname.com/stream

...from xterm. Any other player I tried using with a playlist file or entering the email@addr/password in the URL does not work. But streams without the email address as the username (ie. demo/demo) work just fine.

Does anybody know a better solution to listen to a stream like this?

- Thanks

sachin007 2009-08-07 02:28

Re: Mplayer 1.0 rc2 - Testing build.
 
Quote:

Originally Posted by moja (Post 309462)
Hey guys - quick question,

I've got rc2 installed and it's the only way I've found to play this internet radio stream I listen to that requires a username/password. The only thing is, they have your email address as your username, and everything I've tried chokes except for using...

> mplayer -user email@host. com -passwd myPass http:/ /radio.hostname.com/stream

...from xterm. Any other player I tried using with a playlist file or entering the email@addr/password in the URL does not work. But streams without the email address as the username (ie. demo/demo) work just fine.

Does anybody know a better solution to listen to a stream like this?

- Thanks

You can use personal menu to put that code so that you can play that stream in mplayer using xterm with one click.

moja 2009-08-07 23:18

Re: Mplayer 1.0 rc2 - Testing build.
 
Quote:

Originally Posted by sachin007 (Post 309480)
You can use personal menu to put that code so that you can play that stream in mplayer using xterm with one click.

sachin007: Thanks for the quick reply. I have implemented your suggestion.

Now I'm hoping that I can find a way to play this stream from a playlist in one of the players, like xmms. And it would be nice to see the song titles. But it's good to at least be able to listen to the stream. Seems odd that MPlayer would be the only thing that can handle these URLs.

pinguino89 2009-08-08 00:05

Re: Mplayer 1.0 rc2 - Testing build.
 
HI, I'm a newbie to the n800 (and linux generally :) ) and i want to kno how i can install mPlayer from the .tar file you download form this tread.

thx

moja 2009-08-08 04:57

Re: Mplayer 1.0 rc2 - Testing build.
 
Quote:

Originally Posted by pinguino89 (Post 309709)
HI, I'm a newbie to the n800 (and linux generally :) ) and i want to kno how i can install mPlayer from the .tar file you download form this tread.

After you have mplayer from the Extras repo installed and working, follow the steps mentioned earlier in this thread.

pinguino89 2009-08-08 11:29

Re: Mplayer 1.0 rc2 - Testing build.
 
I saw that i have to move the file in /usr/bin/ , config to /home/user/.mplayer/ ,
menu.conf to /etc/mplayer/... but I do not know what to write in the terminal to do this :(:(:(:(:( I'M veeeeeeeeery nooooooob :(

moja 2009-08-08 16:14

Re: Mplayer 1.0 rc2 - Testing build.
 
Quote:

Originally Posted by pinguino89 (Post 309797)
I saw that i have to move the file in /usr/bin/ , config to /home/user/.mplayer/ ,
menu.conf to /etc/mplayer/... but I do not know what to write in the terminal to do this :(:(:(:(:( I'M veeeeeeeeery nooooooob :(

Okay, if you saved the files in /media/mmc2 (for example), you would start Xterm and...

Code:

cp  /media/mmc2/config /home/user/.mplayer/config
sudo gainroot
mv /usr/bin/mplayer /usr/bin/mplayer_old
cp /media/mmc2/mplayer /usr/bin/mplayer
cp /media/mmc2/menu.conf /etc/mplayer/menu.conf

...that should do it. - Hope this helps.

para 2009-08-09 03:40

Re: Mplayer 1.0 rc2 - Testing build.
 
I'm having trouble finding the libgif4 library. Does anyone know the correct repo?

Thanks,

moja 2009-08-09 05:51

Re: Mplayer 1.0 rc2 - Testing build.
 
See this helpful post by nobodysbusiness
http://talk.maemo.org/showthread.php?t=22421

para 2009-08-09 12:28

Re: Mplayer 1.0 rc2 - Testing build.
 
Quote:

Originally Posted by moja (Post 310066)
See this helpful post by nobodysbusiness
http://talk.maemo.org/showthread.php?t=22421


Thanks alot! Just what I was looking for.

matteop3 2009-10-05 13:44

Re: Mplayer 1.0 rc2 - Testing build.
 
Hi,
I'am trying to compile the last svn version of mplayer, but I have this error:

mpcommon.c: In function `update_subtitles':
mpcommon.c:115: warning: dereferencing type-punned pointer will break strict-aliasing rules
{standard input}: Assembler messages:
{standard input}:625: Error: selected processor does not support `rev16 lr,lr'
make: *** [mpcommon.o] Error 1

May you help me please?

shadowjk 2009-10-05 15:28

Re: Mplayer 1.0 rc2 - Testing build.
 
That seems odd. Are you sure you're building for ARM? What -mcpu do you have in config.mak?

matteop3 2009-10-05 15:46

Re: Mplayer 1.0 rc2 - Testing build.
 
I solved that, I had an old version..:p
With the SVN version the problem is for the libavcodec and
libavformat.

I'am using the version from ffmpeg and evrything compiles
and runs. The problem is that with the old config file the
video and audio quality are really bad.

shadowjk 2009-10-05 16:10

Re: Mplayer 1.0 rc2 - Testing build.
 
Try add the options: -vo xv:ck-method=auto -dr

Make sure config files and such don't override them. Should improve performance significantly.

shadowjk 2009-10-07 05:30

Re: Mplayer 1.0 rc2 - Testing build.
 
Just compiler MPlayer latest svn on the diablo sdk.

I replaced the ancient as assembler with a new one from codesourcery, brutal mv on top.
-Wa,-v was useful for figuring out if I had replaced the right binary.

./configure --enable-armv5te --enable-armv6 --enable-armvfp --enable-largefiles

Made sure config.mak had -mcpu=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp in OPTFLAGS and so on,
modified subdir.mak's %.o: %.S rule to include same -mcpu=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp stuff so that it got passed to cc also for just the pure asm .S files in libavcodec/arm/

and it compiled. Not tested if it actually produced a useful binary ;-)

qole 2009-10-15 19:52

Re: Mplayer 1.0 rc2 - Testing build.
 
Feel free to post binary packages, or let me host them in my repo.

mtron 2009-10-18 10:04

Re: Mplayer 1.0 rc2 - Testing build.
 
This binary mplayer is Bundyo's rc2 port with the omapfb patch working (useful for the N8x0 devices).I build this deb on diablo already some time ago but forgot to post it here :rolleyes:

I dunno if somebody mentioned this already, but dspmp3 (or the gstreamer hack, i didn't check... ) is broken in the rc2 patch, so i used "ac=mad and afm=libmad" in /etc/mplayer.conf.

This works pretty good on my N800, but flv seeking is still not 100% ok in this rc2 build.

To install: (open a terminal and become root)
Code:

wget http://mtron.mine.nu/files/mplayer_1.0rc2~svn20080321-maemo.30.n8x0_armel.deb
dpkg -i mplayer_1.0rc2~svn20080321-maemo.30.n8x0_armel.deb
rm -rf mplayer*deb

EDIT: forgot to mention: during install it will ask you how to treat the existing /etc/mplayer.conf. Use "Y" or "i" to install the new version, or you will get no sound. (As mentioned above dspmp3 is broken)

To roll back to the "Official" mplayer from diablo:
Code:

wget http://repository.maemo.org/extras-devel/pool/diablo/free/m/mplayer/mplayer_1.0rc1-maemo.29.n8x0_armel.deb
dpkg -i --force-downgrade mplayer_1.0rc1-maemo.29.n8x0_armel.deb



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

vBulletin® Version 3.8.8